diff options
author | NAKATA Maho <maho@FreeBSD.org> | 2006-04-12 19:57:02 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2006-04-12 19:57:02 +0000 |
commit | 04522557c712f5af655c19fe2812a4f969ccaea8 (patch) | |
tree | 4fa62a467463b43adb4c8f908d05c9c53c83c562 /libjava/configure.ac | |
parent | 597d6703b871bde0af2768fb0a3d917da082e348 (diff) | |
download | gcc-04522557c712f5af655c19fe2812a4f969ccaea8.zip gcc-04522557c712f5af655c19fe2812a4f969ccaea8.tar.gz gcc-04522557c712f5af655c19fe2812a4f969ccaea8.tar.bz2 |
re PR libgcj/23829 (FreeBSD 5 support for libjava)
PR libgcj/23829
* configure.ac: Link against -lpthread rather than -lc_r on
FreeBSD 5 and above.
* configure: Regenerate.
From-SVN: r112897
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index 2731bf3..86359f1 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -800,11 +800,10 @@ case "$THREADS" in THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}' ;; *-*-freebsd*) - # FreeBSD 5 implements a model much closer to other modern UNIX - # which support threads. However, it still does not support - # -lpthread. + # FreeBSD >=5.3 implements a model much closer to other modern UNIX + # systems which support threads and -lpthread. THREADLDFLAGS=-pthread - THREADSPEC=-lc_r + THREADSPEC=-lpthread ;; alpha*-dec-osf*) THREADCXXFLAGS=-pthread |