diff options
author | Marius Vollmer <mvo@src.gnome.org> | 1998-11-18 05:04:27 +0800 |
---|---|---|
committer | Marius Vollmer <mvo@src.gnome.org> | 1998-11-18 05:04:27 +0800 |
commit | b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd (patch) | |
tree | 938e56085a392c9d2ae3b9abd8d687cb0b04ae90 /macros | |
parent | a24713d8b320d0446d30ca5ed69a87cb788ff281 (diff) | |
download | gsoc2013-evolution-b1eafac4bca7ef86b049c9f45ba3089c9fa72fbd.tar.gz 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
Diffstat (limited to 'macros')
-rw-r--r-- | macros/gnome-guile-checks.m4 | 4 |
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" |