Add Aaron Hsu's patch to support compilation of modules under OS X.
authorChris Hanson <org/chris-hanson/cph>
Tue, 9 Jan 2007 18:50:18 +0000 (18:50 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 9 Jan 2007 18:50:18 +0000 (18:50 +0000)
v7/src/microcode/configure.ac

index 127788f1f78d9c9caf4a3a39db8b9eca339d9b98..08875d51f7deae7c2990b77f0d00e41989301259 100644 (file)
@@ -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"