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.
+
* libtool.m4 (AC_LIBTOOL_GCJ): Require either AC_PROG_GCJ or
AM_PROG_GCJ.
(AC_PROG_LIBTOOL): Change internal comments to dnl, so that they
;;
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*)