diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-24 17:59:29 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-24 17:59:29 +0000 |
commit | 8f2a88edcd09290f720bad664a138483de55af7a (patch) | |
tree | 1c791519af09cf9a78419751751cd48e970233eb /boehm-gc/configure | |
parent | 164f5b3495c714051ea46b4b388ee92f83c1ea8f (diff) | |
download | gcc-8f2a88edcd09290f720bad664a138483de55af7a.tar.gz |
2006-03-24 Andreas Tobler <a.tobler@schweiz.ch>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
Warn about POSIX threads not being supported for *-*-hpux10*.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-x | boehm-gc/configure | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure index e0223dd7ea3..65575a5d137 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -5409,9 +5409,9 @@ _ACEOF _ACEOF ;; - *-*-hpux*) - { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5 -echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;} + *-*-hpux11*) + { 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;} cat >>confdefs.h <<\_ACEOF #define GC_HPUX_THREADS 1 @@ -5433,6 +5433,16 @@ _ACEOF _ACEOF THREADLIBS="-lpthread -lrt" + # HPUX needs REENTRANT for the _r calls. + +cat >>confdefs.h <<\_ACEOF +#define _REENTRANT 1 +_ACEOF + + ;; + *-*-hpux10*) + { 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;} ;; *-*-freebsd*) { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5 |