From: Chris Hanson Date: Tue, 9 Jan 2007 18:50:18 +0000 (+0000) Subject: Add Aaron Hsu's patch to support compilation of modules under OS X. X-Git-Tag: 20090517-FFI~803 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f555766cc476a44f53b4487357e57e145e6cff2e;p=mit-scheme.git Add Aaron Hsu's patch to support compilation of modules under OS X. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 127788f1f..08875d51f 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [14.18], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.21 2007/01/09 03:56:12 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.22 2007/01/09 18:50:18 cph Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -795,6 +795,9 @@ linux-gnu) freebsd*) M4_FLAGS="${M4_FLAGS} -P SUPPRESS_LEADING_UNDERSCORE,1" ;; +darwin*) + MODULE_LDFLAGS="${MODULE_LDFLAGS} -dynamiclib -flat_namespace -undefined suppress" + ;; solaris*) if test "${GCC}" = "yes"; then DO_GCC_TESTS="yes"