From: Nick Hudson Date: Sat, 16 Dec 2000 03:09:23 +0000 (+0000) Subject: * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support X-Git-Tag: release-1-3d~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f398c65f73eb978f52adebf185052daca7d0d998;p=thirdparty%2Flibtool.git * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support for NetBSD a.out. --- diff --git a/ChangeLog b/ChangeLog index 942948cee..5cfa7d96a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-12-16 Nick Hudson + + * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support + for NetBSD a.out. + 2000-12-15 Akim Demaille * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename diff --git a/libtool.m4 b/libtool.m4 index 90758af09..98e773868 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -3075,12 +3075,13 @@ linux-gnu*) ;; netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : + 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'] else [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` fi + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; osf3* | osf4* | osf5*)