diff options
| author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-12 19:57:02 +0000 |
|---|---|---|
| committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-12 19:57:02 +0000 |
| commit | 18720fb2db09e5f172a091f19315d8b24470b6d6 (patch) | |
| tree | 4fa62a467463b43adb4c8f908d05c9c53c83c562 /libjava | |
| parent | c8327067332a08322efd5a5f6e552da472f2b099 (diff) | |
| download | ppe42-gcc-18720fb2db09e5f172a091f19315d8b24470b6d6.tar.gz ppe42-gcc-18720fb2db09e5f172a091f19315d8b24470b6d6.zip | |
PR libgcj/23829
* configure.ac: Link against -lpthread rather than -lc_r on
FreeBSD 5 and above.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112897 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -rw-r--r-- | libjava/ChangeLog | 7 | ||||
| -rwxr-xr-x | libjava/configure | 7 | ||||
| -rw-r--r-- | libjava/configure.ac | 7 |
3 files changed, 13 insertions, 8 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 55ce659a606..227d72c6973 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2006-04-12 NAKATA Maho <maho@FreeBSD.org> + + PR libgcj/23829 + * configure.ac: Link against -lpthread rather than -lc_r on + FreeBSD 5 and above. + * configure: Regenerate. + 2006-04-11 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value diff --git a/libjava/configure b/libjava/configure index b72520e4e14..a8afc704214 100755 --- a/libjava/configure +++ b/libjava/configure @@ -9210,11 +9210,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 diff --git a/libjava/configure.ac b/libjava/configure.ac index 2731bf3fc37..86359f12a12 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 |

