[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
This commit is contained in:
parent
97ce2ae61a
commit
70759b3e16
2 changed files with 7 additions and 3 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <guile/gh.h>
|
||||
|
|
@ -994,7 +994,7 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
CFLAGS=$guilesafe_CFLAGS
|
||||
LDFLAGS=$guilesafe_LDFLAGS
|
||||
LIBS=$guilesafe_LIBS
|
||||
fi
|
||||
|
||||
AC_SUBST(GUILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue