* 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
+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
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
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