diff options
author | Petr Salinger <Petr.Salinger@seznam.cz> | 2006-09-18 20:45:08 +0200 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-09-18 18:45:08 +0000 |
commit | eb496303d7c7e6f2acb8ab90c22453947988f06b (patch) | |
tree | 666cdb5c8b90249ec72621c86394c11ef6b41897 /boehm-gc/configure | |
parent | 94ba45dfe265e2fde473c6bb02484e5608af61ea (diff) | |
download | gcc-eb496303d7c7e6f2acb8ab90c22453947988f06b.zip gcc-eb496303d7c7e6f2acb8ab90c22453947988f06b.tar.gz gcc-eb496303d7c7e6f2acb8ab90c22453947988f06b.tar.bz2 |
configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.
2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz>
* configure.ac: add support for GNU/kFreeBSD, accepted by upstream
for gc 6.8.
* dyn_load.c: Likewise.
* include/gc.h: Likewise.
* private/gcconfig.h: Likewise.
* configure: Regenerate.
* include/gc_config.h.in: Regenerate.
From-SVN: r117033
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-x | boehm-gc/configure | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure index 3f2f5d8..00b1430 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -5444,6 +5444,32 @@ _ACEOF { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;} ;; + *-*-kfreebsd*-gnu) + cat >>confdefs.h <<\_ACEOF +#define GC_FREEBSD_THREADS 1 +_ACEOF + + INCLUDES="$INCLUDES -pthread" + THREADDLLIBS=-pthread + cat >>confdefs.h <<\_ACEOF +#define _REENTRANT 1 +_ACEOF + + if test "${enable_parallel_mark}" = yes; then + cat >>confdefs.h <<\_ACEOF +#define PARALLEL_MARK 1 +_ACEOF + + fi + cat >>confdefs.h <<\_ACEOF +#define THREAD_LOCAL_ALLOC 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define USE_COMPILER_TLS 1 +_ACEOF + + ;; *-*-freebsd*) { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;} |