From b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 17 Nov 1998 21:04:27 +0000 Subject: 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 --- macros/gnome-guile-checks.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4 index f56cb96abf..eeef598940 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" -- cgit v1.2.3