diff options
author | Alexander Larsson <alexl@redhat.com> | 2001-04-11 14:58:29 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-04-11 14:58:29 +0000 |
commit | 88c035caa579b942e9c92a0e2d202d0bcb3da6e6 (patch) | |
tree | 7c3d78adf5ca911d7e6a0fdc55f3be95e2a3aff8 /m4macros | |
parent | 58bfca360d6a94a6aa5c02987e1fef3439b0cdc3 (diff) |
Pass pkg-config options before the other args so it works even if
2001-04-11 Alexander Larsson <alexl@redhat.com>
* glib-2.0.m4: Pass pkg-config options
before the other args so it works even if
POSIXLY_CORRECT is set.
Diffstat (limited to 'm4macros')
-rw-r--r-- | m4macros/glib-2.0.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4 index 02d2daf70..59e4f3884 100644 --- a/m4macros/glib-2.0.m4 +++ b/m4macros/glib-2.0.m4 @@ -46,13 +46,13 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru fi if test x"$no_glib" = x ; then - GLIB_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` - GLIB_LIBS=`$PKG_CONFIG $pkg_config_args --libs` - glib_config_major_version=`$PKG_CONFIG glib-2.0 --modversion | \ + GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` + GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` + glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - glib_config_minor_version=`$PKG_CONFIG glib-2.0 --modversion | \ + glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - glib_config_micro_version=`$PKG_CONFIG glib-2.0 --modversion | \ + glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` if test "x$enable_glibtest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" |