diff options
-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]) |