Skip to content
Snippets Groups Projects
Commit 8a5b1d77 authored by ljrittle's avatar ljrittle
Browse files

* configure.in: Add support for --enable-threads=posix on FreeBSD.

        * configure: Rebuilt.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41845 138bc75d-0d04-0410-961f-82ee72b054a4
parent 4e1ec76e
No related branches found
No related tags found
No related merge requests found
2001-05-04 Loren J. Rittle <ljrittle@acm.org>
with final tuning by Bryce McKinlay
* configure.in: Add support for --enable-threads=posix on FreeBSD.
* configure: Rebuilt.
2001-05-01 Jeffrey Oldham <oldham@codesourcery.com> 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
* gc_priv.h (UNLOCK): Change type of GC_noop1 argument. * gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
......
This diff is collapsed.
...@@ -38,11 +38,18 @@ case "$THREADS" in ...@@ -38,11 +38,18 @@ case "$THREADS" in
;; ;;
posix | pthreads) posix | pthreads)
THREADS=posix THREADS=posix
THREADLIBS=-lpthread
case "$host" in case "$host" in
*-*-linux*) *-*-linux*)
AC_DEFINE(LINUX_THREADS) AC_DEFINE(LINUX_THREADS)
AC_DEFINE(_REENTRANT) 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*) *-*-solaris*)
AC_DEFINE(SOLARIS_THREADS) AC_DEFINE(SOLARIS_THREADS)
AC_DEFINE(_SOLARIS_PTHREADS) AC_DEFINE(_SOLARIS_PTHREADS)
...@@ -51,7 +58,6 @@ case "$THREADS" in ...@@ -51,7 +58,6 @@ case "$THREADS" in
AC_DEFINE(IRIX_THREADS) AC_DEFINE(IRIX_THREADS)
;; ;;
esac esac
THREADLIBS=-lpthread
;; ;;
decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks) decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported) AC_MSG_ERROR(thread package $THREADS not yet supported)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment