From: Scott James Remnant Date: Fri, 23 Jan 2004 06:05:41 +0000 (+0000) Subject: * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code X-Git-Tag: release-1-5-2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6be1099fb79330e7446b52ae858dc7bbbc7c319a;p=thirdparty%2Flibtool.git * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code for platforms that have been using pass_all for some time now. --- diff --git a/ChangeLog b/ChangeLog index 34b4d7b9d..e413d32db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Scott James Remnant + + * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code + for platforms that have been using pass_all for some time now. + 2004-01-23 Gary V. Vaughan * ltmain.in: Don't suppress output of PIC mode compile if diff --git a/libtool.m4 b/libtool.m4 index ed4244672..1278e49aa 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -2130,17 +2130,6 @@ 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 - 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 lt_cv_deplibs_check_method=pass_all ;; @@ -2183,23 +2172,12 @@ hpux10.20* | hpux11*) ;; irix5* | irix6* | nonstopux*) - case $host_os in - irix5* | nonstopux*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" - ;; - *) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" - ;; + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; esac - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` lt_cv_deplibs_check_method=pass_all ;; @@ -2246,9 +2224,6 @@ openbsd*) ;; osf3* | osf4* | osf5*) - # this will be overridden with pass_all, but let us keep it just in case - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' - lt_cv_file_magic_test_file=/shlib/libc.so lt_cv_deplibs_check_method=pass_all ;; @@ -2258,7 +2233,6 @@ sco3.2v5*) solaris*) lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_test_file=/lib/libc.so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)