X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libjava%2Fconfigure.ac;h=86359f12a12194c6b35ef4e24ade97d0016bd079;hp=2731bf3fc3760586f35fbdc8e19fd3de4eb089ab;hb=18720fb2db09e5f172a091f19315d8b24470b6d6;hpb=c8327067332a08322efd5a5f6e552da472f2b099 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