From 4a4d6d94914a15996a51c1bc3edc504c0fc0e33e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 11 Apr 2001 15:45:12 +0000 Subject: Pass pkg-config options before the other args so it works even if 2001-04-11 Alexander Larsson * gtk-2.0.m4: Pass pkg-config options before the other args so it works even if POSIXLY_CORRECT is set. --- m4macros/gtk-2.0.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'm4macros') 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" -- cgit v1.2.1