From fe03e46514ed2a8380af48bf8a28b8cf36eb809f Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Tue, 7 Oct 2003 14:18:24 +0000 Subject: [PATCH] * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code for platforms that have been using pass_all for some time now. --- ChangeLog | 5 +++++ m4/libtool.m4 | 36 +++++------------------------------- 2 files changed, 10 insertions(+), 31 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6212fb152..cef5cf04c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-07 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. + 2003-10-07 Gary V. Vaughan * libtoolize.in: Completely rewritten. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index e9f9f46fa..d7cc66a74 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -2109,17 +2109,6 @@ 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 - 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 ;; @@ -2162,23 +2151,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 ;; @@ -2225,9 +2203,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 ;; @@ -2237,7 +2212,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*) -- 2.47.2