From d78ddfd16ea3c4d14dda67e35ff0c08ece17f440 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 16 Jun 2003 15:41:37 +0000 Subject: [PATCH] Merge changes from 6.2alpha6. (AC_REVISION): Removed. (Ac_INIT): Modify version and remove bug address. --- gc/ChangeLog | 18 ++++++++++++++++++ gc/configure.in | 30 ++++++++++++++++++++++++------ 2 files changed, 42 insertions(+), 6 deletions(-) diff --git a/gc/ChangeLog b/gc/ChangeLog index d6522b7caec..bbb50f100c1 100644 --- a/gc/ChangeLog +++ b/gc/ChangeLog @@ -1,3 +1,21 @@ +2003-06-16 Dave Love + + * Makefile.am, Makefile.dj, Makefile.in, aclocal.m4, alloc.c: + * alpha_mach_dep.S, configure, dbg_mlc.c, dyn_load.c, finalize.c: + * gc_dlopen.c, mach_dep.c, mark.c, mark_rts.c, misc.c: + * mkinstalldirs, os_dep.c, ptr_chck.c, reclaim.c, threadlibs.c: + * version.h, win32_threads.c, include/Makefile.am: + * include/Makefile.in, include/gc.h, include/gc_config_macros.h: + * include/gc_pthread_redirects.h, include/private/gc_locks.h: + * include/private/gc_priv.h, include/private/gcconfig.h: Merge + changes from 6.2alpha6. + + * configure.in: Merge changes from 6.2alpha6. + (AC_REVISION): Removed. + (Ac_INIT): Modify version and remove bug address. + + * Makefile.direct: Removed. + 2003-06-10 Dave Love * Makefile: Removed. diff --git a/gc/configure.in b/gc/configure.in index fa10af4e2f2..eca063041d7 100644 --- a/gc/configure.in +++ b/gc/configure.in @@ -17,12 +17,11 @@ dnl Process this file with autoconf to produce configure. # Initialization # ============== -AC_INIT(gc,6.2alpha4,Hans.Boehm@hp.com) +AC_INIT(gc,[6.2alpha6, modified for Emacs]) ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)? AC_CONFIG_SRCDIR(gcj_mlc.c) AC_CANONICAL_TARGET AC_PREREQ(2.53) -AC_REVISION($Revision: 1.2 $) GC_SET_VERSION AM_INIT_AUTOMAKE @@ -64,7 +63,7 @@ AC_ARG_ENABLE(parallel-mark, ) AC_ARG_ENABLE(cplusplus, -[ --enable-cplusplus include C++ support in GC library and include directory], +[ --enable-cplusplus install C++ support], ) AC_ARG_ENABLE(cppflags, @@ -99,6 +98,10 @@ case "$THREADS" in AC_DEFINE(GC_LINUX_THREADS) AC_DEFINE(_REENTRANT) ;; + *-*-aix*) + AC_DEFINE(GC_AIX_THREADS) + AC_DEFINE(_REENTRANT) + ;; *-*-hpux*) AC_MSG_WARN("Only HP/UX 11 threads are supported.") AC_DEFINE(GC_HPUX_THREADS) @@ -126,7 +129,11 @@ case "$THREADS" in AC_DEFINE(GC_WIN32_THREADS) ;; *-*-darwin*) - AC_DEFINE(GC_MACOSX_THREADS) + AC_DEFINE(GC_DARWIN_THREADS) + AC_DEFINE(THREAD_LOCAL_ALLOC) + if test "${enable_parallel_mark}" = yes; then + AC_DEFINE(PARALLEL_MARK) + fi ;; *-*-osf*) AC_DEFINE(GC_OSF1_THREADS) @@ -169,7 +176,15 @@ AC_MSG_RESULT($THREADLIBS) esac AC_SUBST(THREADLIBS) -# I'm not too familiar with autoconf, is this the best way to do this? -Brian +case "$host" in + powerpc-*-darwin*) + powerpc_darwin=true + ;; +esac +AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue) + +# We never want libdl on darwin. It is a fake libdl that just ends up making +# dyld calls anyway case "$host" in *-*-darwin*) ;; *) @@ -193,6 +208,7 @@ TARGET_ECOS="$with_ecos" ) addobjs= +addlibs= addincludes= addtests= CXXINCLUDES= @@ -207,11 +223,12 @@ case "$TARGET_ECOS" in esac if test "${enable_cplusplus}" = yes; then - addobjs="$addobjs gc_cpp.lo" addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h" addtests="$addtests test_cpp" fi +AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes) + AC_SUBST(CXX) AC_SUBST(INCLUDES) @@ -286,6 +303,7 @@ fi addobjs="$addobjs $machdep" AC_SUBST(addobjs) AC_SUBST(addincludes) +AC_SUBST(addlibs) AC_SUBST(addtests) AM_PROG_LIBTOOL -- 2.39.5