summaryrefslogtreecommitdiff
path: root/m4/pkg.m4
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2002-07-04 19:36:08 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2002-07-04 19:36:08 +0000
commit1a826743b023d38a14e16cf1b3fb85eabdbb65d6 (patch)
tree4d62835229abe0a03cb346817080803fa3d0851b /m4/pkg.m4
parentc6bd62c43f01b2012d81dfa61dd58777c41de07a (diff)
update to newer pkg.m4RELEASE-0_3_0-HALFWAYTHERE
Original commit message from CVS: update to newer pkg.m4
Diffstat (limited to 'm4/pkg.m4')
-rw-r--r--m4/pkg.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/m4/pkg.m4 b/m4/pkg.m4
index 874a120..c80e0ac 100644
--- a/m4/pkg.m4
+++ b/m4/pkg.m4
@@ -15,10 +15,8 @@ AC_DEFUN(PKG_CHECK_MODULES, [
echo "*** to the full path to pkg-config."
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
else
- if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
- echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
- else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
AC_MSG_CHECKING(for $2)
if $PKG_CONFIG --exists "$2" ; then
@@ -43,6 +41,9 @@ AC_DEFUN(PKG_CHECK_MODULES, [
AC_SUBST($1_CFLAGS)
AC_SUBST($1_LIBS)
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
fi
fi