tBug in GTK+ and GLIB detection scripts (that was wiping the LIBS variable) fixed. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 74c9ac4b67827acf1f71888e3dc0d221e82bc365
(DIR) parent ee979ed83b9d0c0c50b8b1e646af3f47d0a08083
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sat, 20 Apr 2002 18:07:03 +0000
Bug in GTK+ and GLIB detection scripts (that was wiping the LIBS variable)
fixed.
Diffstat:
M m4/glib-2.0.m4 | 2 ++
M m4/glib.m4 | 2 ++
M m4/gtk-2.0.m4 | 2 ++
M m4/gtk.m4 | 2 ++
4 files changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/m4/glib-2.0.m4 b/m4/glib-2.0.m4
t@@ -173,6 +173,8 @@ main ()
:
else
echo "*** Could not run GLIB test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
AC_TRY_LINK([
(DIR) diff --git a/m4/glib.m4 b/m4/glib.m4
t@@ -158,6 +158,8 @@ main ()
:
else
echo "*** Could not run GLIB test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
AC_TRY_LINK([
(DIR) diff --git a/m4/gtk-2.0.m4 b/m4/gtk-2.0.m4
t@@ -163,6 +163,8 @@ main ()
:
else
echo "*** Could not run GTK+ test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
(DIR) diff --git a/m4/gtk.m4 b/m4/gtk.m4
t@@ -156,6 +156,8 @@ main ()
:
else
echo "*** Could not run GTK test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([