diff options
author | Havoc Pennington <hp@redhat.com> | 2001-04-16 15:21:19 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-04-16 15:21:19 +0000 |
commit | 988dd884957a4334416a717d01d4c3d14eb8ceaf (patch) | |
tree | b689ff2794cbaddfe767ebcd694d842f2880f5aa /m4macros/glib-2.0.m4 | |
parent | f2faafacb9460389c2585a2d1a3d93f6a52473d2 (diff) |
put AC_PATH_PROG(pkg-config) before "Checking for glib" so the output
2001-04-16 Havoc Pennington <hp@redhat.com>
* glib-2.0.m4: put AC_PATH_PROG(pkg-config) before "Checking for
glib" so the output looks right
Diffstat (limited to 'm4macros/glib-2.0.m4')
-rw-r--r-- | m4macros/glib-2.0.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4 index 59e4f3884..e22610c44 100644 --- a/m4macros/glib-2.0.m4 +++ b/m4macros/glib-2.0.m4 @@ -28,13 +28,13 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru esac done + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + min_glib_version=ifelse([$1], ,1.3.3,$1) AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) no_glib="" - AC_PATH_PROG(PKG_CONFIG, pkg-config, no) - if test x$PKG_CONFIG != xno ; then if pkg-config --atleast-pkgconfig-version 0.5 ; then : |