diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-05-04 20:19:36 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-05-04 20:19:36 +0000 |
commit | 62aa6b06ab84a91b187758de59df695238b400d8 (patch) | |
tree | c0170a9a6393a4b1cd42f0577f8c9653f30f01e8 /boehm-gc/configure.in | |
parent | 3750bc816de62d0364decb5d7400c685f77dcc9e (diff) | |
download | gcc-62aa6b06ab84a91b187758de59df695238b400d8.zip gcc-62aa6b06ab84a91b187758de59df695238b400d8.tar.gz gcc-62aa6b06ab84a91b187758de59df695238b400d8.tar.bz2 |
configure.in: Add support for --enable-threads=posix on FreeBSD.
* configure.in: Add support for --enable-threads=posix on FreeBSD.
* configure: Rebuilt.
From-SVN: r41845
Diffstat (limited to 'boehm-gc/configure.in')
-rw-r--r-- | boehm-gc/configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index 6a88a95..d6f8b18 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -38,11 +38,18 @@ case "$THREADS" in ;; posix | pthreads) THREADS=posix + THREADLIBS=-lpthread case "$host" in *-*-linux*) AC_DEFINE(LINUX_THREADS) AC_DEFINE(_REENTRANT) ;; + *-*-freebsd*) + AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") + AC_DEFINE(FREEBSD_THREADS) + INCLUDES=-pthread + THREADLIBS=-pthread + ;; *-*-solaris*) AC_DEFINE(SOLARIS_THREADS) AC_DEFINE(_SOLARIS_PTHREADS) @@ -51,7 +58,6 @@ case "$THREADS" in AC_DEFINE(IRIX_THREADS) ;; esac - THREADLIBS=-lpthread ;; decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks) AC_MSG_ERROR(thread package $THREADS not yet supported) |