From: Robert Millan Date: Wed, 30 Jul 2003 15:11:17 +0000 (+0000) Subject: * libtool.m4: More fixes for the new GNU/FreeBSD triplet. X-Git-Tag: help~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76768eda80ec7f249af8517ba2a6931724705631;p=thirdparty%2Flibtool.git * libtool.m4: More fixes for the new GNU/FreeBSD triplet. --- diff --git a/ChangeLog b/ChangeLog index 36dcf7d94..a6365cb6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-07-24 Robert Millan + + * libtool.m4: More fixes for the new GNU/FreeBSD triplet. + 2003-07-14 Bob Friesenhahn * config.guess, config.sub: Synchronized from ftp.gnu.org since diff --git a/libtool.m4 b/libtool.m4 index 35aed42a8..9f0ac9496 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1299,7 +1299,7 @@ kfreebsd*-gnu) shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes - dynamic_linker='GNU/FreeBSD ld.so' + dynamic_linker='GNU ld.so' ;; freebsd*) @@ -2123,7 +2123,7 @@ darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; -freebsd*) +freebsd* | kfreebsd*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) @@ -2946,7 +2946,7 @@ case $host_os in freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; - freebsd*) + freebsd* | kfreebsd*-gnu) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes @@ -4592,7 +4592,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC]) ;; esac ;; - freebsd*) + freebsd* | kfreebsd*-gnu) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) @@ -5402,7 +5402,7 @@ EOF ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd*) + freebsd* | kfreebsd*-gnu) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes