diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-31 11:55:06 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-31 11:55:06 +0000 |
commit | 90e5cba77b5686e7c51d04caf6fab0a8f0523a56 (patch) | |
tree | 5117323524650baf6f27d7e6c17b0db782833e8a /libjava/configure.in | |
parent | 76bf021cd60a8bc5472c2cbd2edf838f26392d9a (diff) | |
download | gcc-90e5cba77b5686e7c51d04caf6fab0a8f0523a56.tar.gz |
* configure.in: Add new THREADCXXFLAGS variable.
Handle POSIX threads on alpha*-dec-osf*.
* configure: Regenerate.
* Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69997 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.in')
-rw-r--r-- | libjava/configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/configure.in b/libjava/configure.in index d57b77953bc..4021ae3bdfb 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -432,6 +432,7 @@ case "$THREADS" in ;; esac +THREADCXXFLAGS= THREADLDFLAGS= THREADLIBS= THREADINCS= @@ -466,6 +467,12 @@ changequote([,]) THREADLDFLAGS=-pthread THREADSPEC=-lc_r ;; + alpha*-dec-osf*) + THREADCXXFLAGS=-pthread + # boehm-gc needs some functions from librt, so link that too. + THREADLIBS='-lpthread -lrt' + THREADSPEC='-lpthread -lrt' + ;; *) THREADLIBS=-lpthread THREADSPEC=-lpthread @@ -503,6 +510,7 @@ AC_SUBST(THREADDEPS) AC_SUBST(THREADOBJS) AC_SUBST(THREADSPEC) AC_SUBST(THREADLDFLAGS) +AC_SUBST(THREADCXXFLAGS) if test -d sysdep; then true; else mkdir sysdep; fi AC_LINK_FILES(sysdep/$sysdeps_dir/locks.h, sysdep/locks.h) |