From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:09:13 +0000 (+0000) Subject: * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend X-Git-Tag: multi-language-merge-point~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e79a63a78ec465743b530f57daa9db89e7caec0;p=thirdparty%2Flibtool.git * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend on $version_type; check for ELF support as in other BSDs. --- diff --git a/ChangeLog b/ChangeLog index e95f3c803..9f0828f28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-07-10 Alexandre Oliva + * 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 diff --git a/libtool.m4 b/libtool.m4 index 8501515ca..6c92985e2 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -529,11 +529,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 @@ -543,8 +539,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*)