From: Geoff Norton Date: Sat, 30 Aug 2008 03:31:20 +0000 (+0000) Subject: 2008-08-29 Geoff Norton X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18c848ccd72c7e3559e8cc65521e005e3e7a9dc6;p=gc 2008-08-29 Geoff Norton * configure.in: Rollup our unrolled FreeBSD support so that we properly build and compile on FreeBSD6+. (FreeBSD5 is 2004) svn path=/trunk/mono/; revision=111966 --- diff --git a/configure.in b/configure.in index 9a696698..2749d08b 100644 --- a/configure.in +++ b/configure.in @@ -112,29 +112,9 @@ case "$THREADS" in AC_DEFINE(THREAD_LOCAL_ALLOC) THREADDLLIBS="-lpthread -lrt" ;; - *-*-freebsd4*) - AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") + *-*-freebsd*) AC_DEFINE(GC_FREEBSD_THREADS) - if test "x$PTHREAD_CFLAGS" = "x"; then - INCLUDES="$INCLUDES -pthread" - else - INCLUDES="$INCLUDES $PTHREAD_CFLAGS" - fi - if test "x$PTHREAD_LIBS" = "x"; then - THREADDLLIBS=-pthread - else - THREADDLLIBS=$PTHREAD_LIBS - fi - ;; - *-*-freebsd5*) - AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") - AC_DEFINE(GC_FREEBSD_THREADS) - INCLUDES="$INCLUDES -pthread" - THREADDLLIBS=-pthread - ;; - *-*-freebsd6*) - AC_DEFINE(GC_FREEBSD_THREADS) - if test "x$PTHREAD_CFLAGS" != "x"; then + if test "x$PTHREAD_CFLAGS" != "x"; then INCLUDES="$INCLUDES $PTHREAD_CFLAGS" fi if test "x$PTHREAD_LIBS" = "x"; then