diff --git a/src/configure.in b/src/configure.in index 56535275490703aa9564bcfaf3bd98cbbbb548ee..64e3aedbb0fd271d809facfea62b6cbb5f883ee2 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!