Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Norton <grompf@sublimeintervention.com>2008-08-30 07:31:20 +0400
committerGeoff Norton <grompf@sublimeintervention.com>2008-08-30 07:31:20 +0400
commit19f6fe1ba612c91f89fd476d38683872913f763d (patch)
tree98a2785a2ada78e59cfe3822a40ee2dda4e18ae3 /libgc/configure.in
parentb59989cd3a5e742a78d3049ef40d9c8aa7093fff (diff)
2008-08-29 Geoff Norton <gnorton@novell.com>
* 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
Diffstat (limited to 'libgc/configure.in')
-rw-r--r--libgc/configure.in24
1 files changed, 2 insertions, 22 deletions
diff --git a/libgc/configure.in b/libgc/configure.in
index 9a696698824..2749d08b13b 100644
--- a/libgc/configure.in
+++ b/libgc/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