diff options
author | Alexander Larsson <alexl@redhat.com> | 2001-04-11 15:45:12 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-04-11 15:45:12 +0000 |
commit | 4a4d6d94914a15996a51c1bc3edc504c0fc0e33e (patch) | |
tree | e7f2ed7f8af73d113d010b4eff4af0f4dae9c5b2 /m4macros | |
parent | 9f8457a93d64902a307c0f4d2047ad5db488b244 (diff) | |
download | gtk+-4a4d6d94914a15996a51c1bc3edc504c0fc0e33e.tar.gz |
Pass pkg-config options before the other args so it works even if
2001-04-11 Alexander Larsson <alexl@redhat.com>
* gtk-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/gtk-2.0.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/m4macros/gtk-2.0.m4 b/m4macros/gtk-2.0.m4 index b3763444dc..54c57e688a 100644 --- a/m4macros/gtk-2.0.m4 +++ b/m4macros/gtk-2.0.m4 @@ -40,13 +40,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" |