]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
authorAlexandre Oliva <aoliva@lsd.ic.unicamp.br>
Mon, 10 Jul 2000 06:08:09 +0000 (06:08 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 10 Jul 2000 06:08:09 +0000 (06:08 +0000)
on $version_type; check for ELF support as in other BSDs.

ChangeLog
libtool.m4

index c168e1ba9b79d1e92462b4db0d60cd8b3df3b1ef..2b550a9c256b0cdc3e51c17cc95908741044d925 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-10  Alexandre Oliva  <aoliva@lsd.ic.unicamp.br>
+
+       * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
+       on $version_type; check for ELF support as in other BSDs.
+
 2000-06-17  Syd Polk  <spolk@redhat.com>
 
        * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
index 57a938837039e3a097094903a0bc901c84eae81b..d48e7cab15308886f6568ce3e6841c2b940843b9 100644 (file)
@@ -505,11 +505,7 @@ cygwin* | mingw*)
   ;;
 
 freebsd*)
-  case "$version_type" in
-  freebsd-elf*)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  *)
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     case "$host_cpu" in
     i*86 )
       changequote(,)dnl
@@ -519,8 +515,9 @@ freebsd*)
       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       ;;
     esac
-    ;;
-  esac
+  else
+    lt_cv_deplibs_check_method=pass_all
+  fi
   ;;
 
 gnu*)