summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@src.gnome.org>1998-11-17 21:04:27 +0000
committerMarius Vollmer <mvo@src.gnome.org>1998-11-17 21:04:27 +0000
commiteb877111145337d3c3f287dc16ae464144f68b94 (patch)
treea49de46e3273b06ac3defc5f4a5d0e31338fdab4
parent919a4aea0bd059464e3e23f4d8911aa959967fc3 (diff)
downloadgnome-common-eb877111145337d3c3f287dc16ae464144f68b94.tar.gz
Add GUILE_LIBS to LIBS when checking whether guile works. Adding them to
* gnome-guile-checks.m4: Add GUILE_LIBS to LIBS when checking whether guile works. Adding them to LDFLAGS does not work on all systems. (Thanks to Rusty Chris Holleman) svn path=/trunk/; revision=476
-rw-r--r--macros/gnome-guile-checks.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4
index f56cb96..eeef598 100644
--- a/macros/gnome-guile-checks.m4
+++ b/macros/gnome-guile-checks.m4
@@ -81,7 +81,8 @@ AC_DEFUN([GNOME_CHECK_GUILE],
AC_SUBST(GUILE_LIBS)
AC_SUBST(GUILE_INCS)
- LDFLAGS="$saved_ldflags $GUILE_LIBS"
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS $GUILE_LIBS"
CPPFLAGS="$saved_cppflags $GUILE_INCS"
AC_MSG_CHECKING(whether guile works)
@@ -108,6 +109,7 @@ AC_DEFUN([GNOME_CHECK_GUILE],
ac_cv_guile_found=no
fi
+ LIBS="$saved_LIBS"
LDFLAGS="$saved_ldflags"
CPPFLAGS="$saved_cppflags"