aboutsummaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-12-23 22:12:11 +0000
committerMark Mitchell <mark@codesourcery.com>2003-12-23 22:12:11 +0000
commit17114c0fe7931ddc1e83b4e77430c958c063d589 (patch)
treee573d3cad9f4c661ca08122982f28e00f6f2a849 /libtool.m4
parentf6b573a5bd11c00976f5c2f936bb3aebafc0da78 (diff)
Merge from mainline
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl-arm-branch@74987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/libtool.m4 b/libtool.m4
index 3a6ec825645..0312861d47f 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -607,6 +607,7 @@ cygwin* | mingw* |pw32*)
;;
darwin* | rhapsody*)
+ # this will be overwritten by pass_all, but leave it in just in case
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
lt_cv_file_magic_cmd='/usr/bin/file -L'
case "$host_os" in
@@ -617,6 +618,7 @@ darwin* | rhapsody*)
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
;;
esac
+ lt_cv_deplibs_check_method=pass_all
;;
freebsd* )
@@ -780,8 +782,9 @@ AC_DEFUN([AC_CHECK_LIBM],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32*)
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
# These system don't have libm
+ # on darwin the libm is a symbolic link to libSystem.dylib
;;
*-ncr-sysv4.3*)
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")