From 39b6c3632cf657b76c7076d7b88cb77d4f665a0d Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Wed, 3 Dec 2003 18:10:07 +0000 Subject: [PATCH] Guile configuration changes for OS X. Compilation of guile wrappers currently generates a *LOT* of warning messages of the form: warning: invalid conversion from ` scm_unused_struct*(*)()' to `scm_unused_struct*(*)(...)' I've messed around with it and haven't been able silence the warning from any combination of macros, casts, helper functions, compiler flags, linkage directives, or other tricks. Possible gcc-3.3 bug???? git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5471 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index bc10f8e72..af074b7a2 100644 --- a/configure.in +++ b/configure.in @@ -249,6 +249,12 @@ case $host in *) TCL_SO=$SO;; esac +AC_SUBST(GUILE_SO) +case $host in + *-*-darwin*) GUILE_SO=.so;; + *) GUILE_SO=$SO;; +esac + AC_SUBST(TCL_LDSHARED) case $host in *-*-darwin*) TCL_LDSHARED="gcc -dynamiclib -flat_namespace -undefined suppress";;