diff options
author | Ludovic Courtès <ludo@gnu.org> | 2007-10-08 21:49:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2007-10-08 23:15:53 +0200 |
commit | e9426eab510ab24ee7fd761892dac5287eb755cc (patch) | |
tree | c0d64ff5a022c5aee52c4563c400f35469627836 | |
parent | 32d024dae662c002b63d59b081af12290a3566a6 (diff) | |
download | gnutls-e9426eab510ab24ee7fd761892dac5287eb755cc.tar.gz |
Fix configure-time Guile detection.
* configure.in: Substitute `GUILE_LDFLAGS' into `LIBS', not `LDFLAGS'.
Patch by Nix <nix@esperi.org.uk>.
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 06614794b8..3828ef1f2e 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]) |