diff options
Diffstat (limited to 'macros2/gnome-pkgconfig.m4')
-rw-r--r-- | macros2/gnome-pkgconfig.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros2/gnome-pkgconfig.m4 b/macros2/gnome-pkgconfig.m4 index 728f88e6..94a3ad55 100644 --- a/macros2/gnome-pkgconfig.m4 +++ b/macros2/gnome-pkgconfig.m4 @@ -12,7 +12,8 @@ AC_DEFUN([GNOME_CHECK_PKGCONFIG],[ AC_MSG_CHECKING(for pkg-config) pkgconfig_required_version=0.8.0 if test x$have_pkgconfig = xyes ; then - if ! $PKG_CONFIG --atleast-pkgconfig-version $pkgconfig_required_version; then + $PKG_CONFIG --atleast-pkgconfig-version $pkgconfig_required_version + if test $? -ne 0; then echo "*** Your version of pkg-config is too old. You need version $pkgconfig_required_version or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" have_pkgconfig=no |