knetbsd/kfreebsd patches from Robert Millan.

* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
This commit is contained in:
Jim Wilson
2004-07-21 19:21:41 +00:00
parent 9aec2c3c19
commit 0da793ff2b
6 changed files with 35 additions and 11 deletions

4
libtool.m4 vendored
View File

@ -577,7 +577,7 @@ darwin* | rhapsody*)
esac
;;
freebsd* )
freebsd* | kfreebsd*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
case $host_cpu in
i*86 )
@ -645,7 +645,7 @@ linux-gnu*)
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
netbsd*)
netbsd* | knetbsd*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
[lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
else