aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@src.gnome.org>1998-11-18 05:04:27 +0800
committerMarius Vollmer <mvo@src.gnome.org>1998-11-18 05:04:27 +0800
commitb1eafac4bca7ef86b049c9f45ba3089c9fa72fbd (patch)
tree938e56085a392c9d2ae3b9abd8d687cb0b04ae90
parenta24713d8b320d0446d30ca5ed69a87cb788ff281 (diff)
downloadgsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.gz
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.bz2
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.lz
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.xz
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.zst
gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.zip
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 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"