diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2003-11-19 06:29:32 +0100 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2003-11-19 06:29:32 +0100 |
commit | 43d8d958ceabe3fa77308f115e2e616d307b9b3d (patch) | |
tree | a48bbeae29df42ceed0c81554bc0e2cce1f201d5 /libtool.m4 | |
parent | f7a75b82d2228bdd8b92bef1138660b78454fae2 (diff) | |
download | gcc-43d8d958ceabe3fa77308f115e2e616d307b9b3d.zip gcc-43d8d958ceabe3fa77308f115e2e616d307b9b3d.tar.gz gcc-43d8d958ceabe3fa77308f115e2e616d307b9b3d.tar.bz2 |
libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries.
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* 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
Diffstat (limited to 'libtool.m4')
-rw-r--r-- | libtool.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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") |