From 70759b3e16d364a9fdfd9c42f98933b791c7683a Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 30 Oct 2007 01:20:45 +0000 Subject: [PATCH] [guile] Fix the configure test to put GUILELINK in LIBS not LDFLAGS (SF#1822430). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10075 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 4 ++++ configure.in | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES.current b/CHANGES.current index 2d35ea298..744d36ccc 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,10 @@ Version 1.3.32 (in progress) ============================ +10/30/2007: olly + [guile] Fix the configure test to put GUILELINK in LIBS not LDFLAGS + (SF#1822430). + 10/30/2007: olly [guile] Fix the guile examples on 64-bit platforms. diff --git a/configure.in b/configure.in index e23b35e41..b6b3f62f2 100644 --- a/configure.in +++ b/configure.in @@ -971,11 +971,11 @@ if test -z "$GUILELINK"; then fi guilesafe_CFLAGS=$CFLAGS -guilesafe_LDFLAGS=$LDFLAGS +guilesafe_LIBS=$LIBS # Filter out "-ansi -pedantic" because Guile header files will not compile with these flags. # (The flags -ansi -pedantic are automatically added by ac_compile_warnings.m4) CFLAGS="`echo $CFLAGS | sed 's/-ansi//g;s/-pedantic//g;'` $GUILEINCLUDE" -LDFLAGS="$LDFLAGS $GUILELINK" +LIBS="$LIBS $GUILELINK" AC_MSG_CHECKING(whether Guile's gh_ API works) AC_LINK_IFELSE([#include @@ -994,7 +994,7 @@ else AC_MSG_RESULT(no) fi CFLAGS=$guilesafe_CFLAGS -LDFLAGS=$guilesafe_LDFLAGS +LIBS=$guilesafe_LIBS fi AC_SUBST(GUILE)