From 04522557c712f5af655c19fe2812a4f969ccaea8 Mon Sep 17 00:00:00 2001 From: NAKATA Maho Date: Wed, 12 Apr 2006 19:57:02 +0000 Subject: 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 --- libjava/configure | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libjava/configure') diff --git a/libjava/configure b/libjava/configure index b72520e..a8afc70 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 -- cgit v1.1