From 43d8d958ceabe3fa77308f115e2e616d307b9b3d Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 19 Nov 2003 06:29:32 +0100 Subject: libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries. 2003-11-19 Andreas Tobler * libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries. * ltmain.sh: Likewise. * ltcf-c.sh: Likewise, disable shared library build for OS-X < 10.3. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise. * ltconfig: Likewise. From-SVN: r73729 --- libtool.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libtool.m4') diff --git a/libtool.m4 b/libtool.m4 index 3a6ec82..0312861 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") -- cgit v1.1