summaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
committerJim Wilson <wilson@tuliptree.org>2004-07-21 19:21:41 +0000
commit61edac0ce677aaae55a153fe54eabd116865f425 (patch)
treed3eda9b84c0b920905e639fb51a6f2f450b397d4 /libtool.m4
parent543613e9336603e177592f09ec42df2f99a2ed37 (diff)
downloadbinutils-gdb-61edac0ce677aaae55a153fe54eabd116865f425.tar.gz
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.
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/libtool.m4 b/libtool.m4
index d2e36088dee..7e4a2eec463 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -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