summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2007-10-08 21:49:43 +0200
committerLudovic Courtès <ludo@gnu.org>2007-10-08 22:00:40 +0200
commit48f622eae6dea0e46332a3f6b7c62954a00002fd (patch)
tree8530d9008a183e9bdb0e462a422d041e02277097 /configure.in
parent3c89e702c3f5210c700788faf42bb48dc6a2003f (diff)
downloadgnutls-48f622eae6dea0e46332a3f6b7c62954a00002fd.tar.gz
Fix configure-time Guile detection.
* configure.in: Substitute `GUILE_LDFLAGS' into `LIBS', not `LDFLAGS'. Patch by Nix <nix@esperi.org.uk>.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index be6fed5377..86804b8499 100644
--- a/configure.in
+++ b/configure.in
@@ -312,14 +312,14 @@ if test "x$opt_guile_bindings" = "xyes"; then
GUILE_FLAGS
save_CFLAGS="$CFLAGS"
- save_LDFLAGS="$LDFLAGS"
+ save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GUILE_CFLAGS"
- LDFLAGS="$LDFLAGS $GUILE_LDFLAGS"
+ LIBS="$LIBS $GUILE_LDFLAGS"
AC_MSG_CHECKING([whether GNU Guile is recent enough])
AC_LINK_IFELSE(AC_LANG_CALL([], [scm_from_locale_string]),
[], [opt_guile_bindings=no])
CFLAGS="$save_CFLAGS"
- LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
if test "x$opt_guile_bindings" = "xyes"; then
AC_MSG_RESULT([yes])