ENDIF()
IF ( "HOST" MATCHES .*-.*-openbsd.*)
ADD_DEFINITIONS("-DGC_OPENBSD_THREADS")
- #FIXME openbsd_threads=true
ENDIF()
IF ( "HOST" MATCHES .*-.*-freebsd.*)
MESSAGE("FreeBSD does not yet fully support threads with Boehm GC.")
OPTION(enable_gcj_support "Support for gcj" NO)
IF(enable_gcj_support)
- #TODO AM_CONDITIONAL(ENABLE_GCJ_SUPPORT, [test x"$enable_gcj_support" != xno])
ADD_DEFINITIONS("-DGC_GCJ_SUPPORT")
ENDIF(enable_gcj_support)
AC_DEFINE(GC_OPENBSD_THREADS)
THREADDLLIBS=-pthread
INCLUDES="$INCLUDES -pthread"
- openbsd_threads=true
;;
*-*-freebsd*)
AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.")
AM_CONDITIONAL(PTHREADS, test x$THREADS = xposix)
AM_CONDITIONAL(DARWIN_THREADS, test x$darwin_threads = xtrue)
AM_CONDITIONAL(WIN32_THREADS, test x$win32_threads = xtrue)
-AM_CONDITIONAL(OPENBSD_THREADS, test x$openbsd_threads = xtrue)
case "$host" in
powerpc-*-darwin*)
AC_ARG_ENABLE(gcj-support,
[AC_HELP_STRING([--disable-gcj-support],
[Disable support for gcj.])])
-AM_CONDITIONAL(ENABLE_GCJ_SUPPORT,
- [test x"$enable_gcj_support" != xno])
if test x"$enable_gcj_support" != xno; then
AC_DEFINE(GC_GCJ_SUPPORT, 1, [Define to include support for gcj.])
fi