From 88c035caa579b942e9c92a0e2d202d0bcb3da6e6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 11 Apr 2001 14:58:29 +0000 Subject: [PATCH] Pass pkg-config options before the other args so it works even if 2001-04-11 Alexander Larsson * glib-2.0.m4: Pass pkg-config options before the other args so it works even if POSIXLY_CORRECT is set. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-0 | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib-2.0.m4 | 10 +++++----- m4macros/glib-2.0.m4 | 10 +++++----- 10 files changed, 58 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9da2643..c97343c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9da2643..c97343c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2001-04-11 Alexander Larsson + + * glib-2.0.m4: Pass pkg-config options + before the other args so it works even if + POSIXLY_CORRECT is set. + Mon Apr 9 18:57:44 2001 Tim Janik * configure.in: increment version to 1.3.4 (binary 0, interface 0). diff --git a/glib-2.0.m4 b/glib-2.0.m4 index 02d2daf..59e4f38 100644 --- a/glib-2.0.m4 +++ b/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" diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4 index 02d2daf..59e4f38 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" -- 2.7.4