X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=boehm-gc%2Fconfigure.in;h=155653dbf26f2bb530f74cd831909ee171d4de15;hb=5a3c5094048a349467019065ab1f09828e47ec19;hp=219af7f6311eb1546545e4660553ee4351de3441;hpb=38100f51f3b2e49a169d8ab82db1ffbab8260ff8;p=pf3gnuchains%2Fgcc-fork.git diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index 219af7f6311..155653dbf26 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -90,8 +90,7 @@ case "$THREADS" in THREADLIBS="-lpthread -lrt" ;; *-*-freebsd*) - AC_MSG_WARN("Threaded GC is prone to deadlock before FreeBSD 4.5.") - AC_MSG_WARN("Related symptom is pthread_join returns spurious EINTR.") + AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") AC_DEFINE(GC_FREEBSD_THREADS) INCLUDES="$INCLUDES -pthread" THREADLIBS=-pthread @@ -108,7 +107,10 @@ case "$THREADS" in ;; esac ;; - decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks) + win32) + AC_DEFINE(GC_WIN32_THREADS) + ;; + decosf1 | irix | mach | os2 | solaris | dce | vxworks) AC_MSG_ERROR(thread package $THREADS not yet supported) ;; *) @@ -122,6 +124,7 @@ AC_SUBST(EXTRA_TEST_LIBS) target_all=libgcjgc.la AC_SUBST(target_all) +AC_SUBST(target_alias) dnl If the target is an eCos system, use the appropriate eCos dnl I/O routines. @@ -151,15 +154,16 @@ AC_SUBST(CXXINCLUDES) machdep= case "$host" in - alpha*-*-*) + alpha*-*-openbsd*) machdep="alpha_mach_dep.lo" - ;; - alpha-*-openbsd*) if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then AC_MSG_WARN(OpenBSD/Alpha without dlopen(). Shared library support is disabled) AM_DISABLE_SHARED fi ;; + alpha*-*-*) + machdep="alpha_mach_dep.lo" + ;; i?86-*-solaris2.[[89]]*) AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED) ;; @@ -176,9 +180,13 @@ case "$host" in AC_DEFINE(NO_EXECUTE_PERMISSION) ;; sparc-sun-solaris2.3*) + machdep="sparc_mach_dep.lo" AC_DEFINE(SUNOS53_SHARED_LIB) ;; - ia64-*-hpux*) + sparc-sun-solaris2.*) + machdep="sparc_mach_dep.lo" + ;; + ia64-*-*) machdep="mach_dep.lo ia64_save_regs_in_stack.lo" ;; esac @@ -225,12 +233,10 @@ AC_DEFINE(GC_GCJ_SUPPORT) AC_DEFINE(ATOMIC_UNCOLLECTABLE) dnl This is something of a hack. When cross-compiling we turn off -dnl some functionality. We also enable the "small" configuration. -dnl These is only correct when targetting an embedded system. FIXME. +dnl some functionality. These is only correct when targetting an +dnl embedded system. FIXME. if test -n "${with_cross_host}"; then AC_DEFINE(NO_SIGSET) - AC_DEFINE(NO_CLOCK) - AC_DEFINE(SMALL_CONFIG) AC_DEFINE(NO_DEBUGGING) fi @@ -241,7 +247,11 @@ AC_ARG_ENABLE(full-debug, AC_DEFINE(KEEP_BACK_PTRS) AC_DEFINE(DBG_HDRS_ALL) case $host in + ia64-*-linux* ) + AC_DEFINE(MAKE_BACK_GRAPH) + ;; x86-*-linux* | i586-*-linux* | i686-*-linux* ) + AC_DEFINE(MAKE_BACK_GRAPH) AC_MSG_WARN("Client must not use -fomit-frame-pointer.") AC_DEFINE(SAVE_CALL_COUNT, 8) ;;