dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme microcode], [15.1], [bug-mit-scheme@gnu.org], [mit-scheme])
-AC_REVISION([$Id: configure.ac,v 1.56 2007/09/04 03:35:19 riastradh Exp $])
+AC_REVISION([$Id: configure.ac,v 1.57 2007/11/25 05:24:42 cph Exp $])
AC_CONFIG_SRCDIR([boot.c])
AC_CONFIG_HEADERS([config.h])
AC_PROG_MAKE_SET
GNU_LD=yes
;;
darwin*)
- SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -Wl,-pagezero_size,04000000"
- MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle -flat_namespace -undefined suppress"
+ MACOSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk
+ if test -d ${MACOSX_SYSROOT}; then
+ MACOSX_CFLAGS="-mmacosx-version-min=10.4 -isysroot ${MACOSX_SYSROOT}"
+ MACOSX_LDFLAGS="${MACOSX_CFLAGS} -Wl,-syslibroot,${MACOSX_SYSROOT}"
+ CFLAGS="${CFLAGS} ${MACOSX_CFLAGS}"
+ SCHEME_LDFLAGS="${SCHEME_LDFLAGS} ${MACOSX_LDFLAGS}"
+ MODULE_CFLAGS="${MODULE_CFLAGS} ${MACOSX_CFLAGS}"
+ MODULE_LDFLAGS="${MODULE_LDFLAGS} ${MACOSX_LDFLAGS}"
+ fi
+ MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle -bundle_loader scheme"
;;
netbsd*)
DO_GCC_TESTS=yes
done
fi
+if test ${SCM_ARCH} = i386; then
+ case ${host_os} in
+ darwin*)
+ SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -Wl,-pagezero_size,04000000"
+ ;;
+ esac
+fi
+
AC_SUBST([AS_FLAGS])
AC_SUBST([GC_HEAD_FILES])
AC_SUBST([M4_FLAGS])
# -*- Makefile -*-
#
-# $Id: Makefile.in.in,v 1.60 2007/06/23 05:47:44 cph Exp $
+# $Id: Makefile.in.in,v 1.61 2007/11/25 05:24:43 cph Exp $
#
# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
utabmd.bin: utabmd.scm
./utabmd.sh
-prbfish.so: prbfish.o
+prbfish.so: prbfish.o scheme
$(LINK_MODULE) prbfish.o $(PRBFISH_LIBS) $(MODULE_LIBS)
-prmd5.so: prmd5.o
+prmd5.so: prmd5.o scheme
$(LINK_MODULE) prmd5.o $(PRMD5_LIBS) $(MODULE_LIBS)
-prmhash.so: prmhash.o
+prmhash.so: prmhash.o scheme
$(LINK_MODULE) prmhash.o -lmhash $(MODULE_LIBS)
-prmcrypt.so: prmcrypt.o
+prmcrypt.so: prmcrypt.o scheme
$(LINK_MODULE) prmcrypt.o -lmcrypt -lltdl $(MODULE_LIBS)
-prgdbm.so: prgdbm.o
+prgdbm.so: prgdbm.o scheme
$(LINK_MODULE) prgdbm.o -lgdbm $(MODULE_LIBS)
-prdb4.so: prdb4.o
+prdb4.so: prdb4.o scheme
$(LINK_MODULE) prdb4.o -ldb-4 $(MODULE_LIBS)
-prpgsql.so: prpgsql.o
+prpgsql.so: prpgsql.o scheme
$(LINK_MODULE) prpgsql.o -lpq $(MODULE_LIBS)
@MODULE_RULES@