From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:08:09 +0000 (+0000) Subject: * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend X-Git-Tag: release-1-3d~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=877cf82fdbaa73c9149d940c4791a2cf1e8f487d;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 c168e1ba9..2b550a9c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +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. + 2000-06-17 Syd Polk * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based diff --git a/libtool.m4 b/libtool.m4 index 57a938837..d48e7cab1 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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*)