]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
authorNick Hudson <skrll@netbsd.org>
Sat, 16 Dec 2000 03:09:23 +0000 (03:09 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 03:09:23 +0000 (03:09 +0000)
for NetBSD a.out.

ChangeLog
libtool.m4

index 942948cee7a4f73cfa0d61ee10b1e8836141d9bd..5cfa7d96a470485622c99730fdc97b845bf11d5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-16  Nick Hudson  <skrll@netbsd.org>
+
+       * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
+       for NetBSD a.out.
+       
 2000-12-15  Akim Demaille  <akim@epita.fr>
 
        * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename
index 90758af095806817c6e456e4ef063259393960a4..98e77386833c465a86bf616fdadef0bc8e8811a6 100644 (file)
@@ -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*)