diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-04-12 12:32:00 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-04-12 12:32:00 +0000 |
commit | 57278c0e526ae1f36425857d20566c6224f76c50 (patch) | |
tree | 329737c43cfee9026205cd551d223c5fa051ae56 /libtool.m4 | |
parent | 5c83f260b87bb3b8a516dc34abfce9b555c3f1d6 (diff) | |
download | newlib-57278c0e526ae1f36425857d20566c6224f76c50.zip newlib-57278c0e526ae1f36425857d20566c6224f76c50.tar.gz newlib-57278c0e526ae1f36425857d20566c6224f76c50.tar.bz2 |
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
Diffstat (limited to 'libtool.m4')
-rw-r--r-- | libtool.m4 | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -536,8 +536,15 @@ cygwin* | mingw* |pw32*) darwin* | rhapsody*) lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.[012]) + lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac ;; freebsd* ) @@ -601,12 +608,10 @@ linux-gnu*) netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - [lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'] + [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'] else - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] + [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'] fi - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; newsos6) |