From ce3dcdf39afbda937dc3b984fbe09c0e52b1b60b Mon Sep 17 00:00:00 2001 From: Jonas Wallden <jonasw@roxen.com> Date: Fri, 2 Nov 2001 15:01:56 +0100 Subject: [PATCH] Update compiler flags for Mac OS X 10.1 compatibility. Rev: src/configure.in:1.557 --- src/configure.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index 5653527549..64e3aedbb0 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.556 2001/10/06 20:55:26 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.557 2001/11/02 14:01:56 jonasw Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -1281,6 +1281,17 @@ if test "$cflags_is_set" = "no"; then fi ]) + DO_IF_OS(Darwin, + [ + # aka MacOS X. + # Foundation framework needed by JavaVM.framework. The OS X 10.1 linker + # no longer includes indirect dependencies so we need to add them here. + AC_SYS_COMPILER_FLAG(-framework Foundation, framework_Foundation, LDFLAGS) + + # -flat_namespace only needed for linking with libMallocDebug + # AC_SYS_COMPILER_FLAG(-flat_namespace, flat_namespace, LDFLAGS) + ]) + else if test "x${TCC-}" = xyes ; then # Yikes! We're using the TenDRA compiler! -- GitLab