]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
authorGary V. Vaughan <gary@gnu.org>
Mon, 29 May 2000 18:02:07 +0000 (18:02 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 29 May 2000 18:02:07 +0000 (18:02 +0000)
freebsd (below).
* libtool.m4 (netbsd ELF): support file_magic.
From Dan Winship <danw@helixcode.com>.

ChangeLog
libtool.m4

index 4711e397b06c6fdf00a7f956365f9ce65932b2bb..79eb4fb4d78e9805127610565fe4fa99131fac40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-05-29  Gary V. Vaughan  <gvv@techie.com>
+
+       * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
+       freebsd (below).
+       * libtool.m4 (netbsd ELF): support file_magic.
+       From Dan Winship <danw@helixcode.com>.
+
 2000-05-29  Steven M. Schultz <sms@moe.2bsd.com>
 
        * libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
index 68cd974c17720d2e284d9a2e14c47fb9803fa73c..9f5cf08fb4afd1c2f3726d62f9af02be6dcdface 100644 (file)
@@ -576,6 +576,17 @@ linux-gnu*)
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
   ;;
 
+netbsd*)
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+  else
+    changequote(,)dnl
+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+    changequote([, ])dnl
+    lt_cv_file_magic_cmd='/usr/bin/file -L'
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+  fi
+  ;;
+
 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'