on $version_type; check for ELF support as in other BSDs.
+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
;;
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
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
;;
esac
- ;;
- esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
;;
gnu*)