diff options
author | Jack Howarth <howarth@bromo.med.uc.edu> | 2010-08-18 08:51:57 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2010-08-18 08:51:57 +0000 |
commit | 618d48304d0fd942c77c9172f929f8c15574dec3 (patch) | |
tree | 141951189d8c9f34c6def3888b707ca9f741dfdb /libjava/configure | |
parent | 029e79eb866ef889c1eb3b91d547263e7b8d1c60 (diff) | |
download | gcc-618d48304d0fd942c77c9172f929f8c15574dec3.zip gcc-618d48304d0fd942c77c9172f929f8c15574dec3.tar.gz gcc-618d48304d0fd942c77c9172f929f8c15574dec3.tar.bz2 |
configure.ac (THREADLIBS): Don't set on Darwin.
2010-08-18 Jack Howarth <howarth@bromo.med.uc.edu>
* libjava/configure.ac (THREADLIBS): Don't set on Darwin.
(THREADSPEC): Likwise.
* libjava/configure: Regenerate.
* libjava/Makefile.am: Define LIBJAVA_LDFLAGS_LIBMATH as
-lm only if USING_DARWIN_CRT undefined.
(libgcj_tools_la_LIBADD): Replace '-lm' with $(LIBJAVA_LDFLAGS_LIBMATH).
* libjava/Makefile.in: Regenerate.
From-SVN: r163329
Diffstat (limited to 'libjava/configure')
-rwxr-xr-x | libjava/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/configure b/libjava/configure index 8ccfa24..955332b 100755 --- a/libjava/configure +++ b/libjava/configure @@ -20725,6 +20725,10 @@ case "$THREADS" in THREADLIBS='-lpthread -lthread' THREADSPEC='-lpthread -lthread' ;; + *-*-darwin*) + # Don't set THREADLIBS or THREADSPEC as Darwin already + # provides pthread via libSystem. + ;; *) THREADLIBS=-lpthread THREADSPEC=-lpthread @@ -23102,6 +23106,8 @@ fi # libgcj.spec is used, so override here SYSTEMSPEC="$SYSTEMSPEC %{!mabi=64:-ldl}" ;; + *-*-darwin*) + ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5 $as_echo_n "checking for main in -ldl... " >&6; } |