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
commit77c7297c2595e0810d12113a99f9e6c60a3cedae (patch)
tree8e8f76690ceed04fc061d886e26e5392d30d2b23 /libtool.m4
parent08aafe3d4889f37124b7f1e6f1dd32d010de29d4 (diff)
downloadbinutils-redhat-77c7297c2595e0810d12113a99f9e6c60a3cedae.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 d2e36088de..7e4a2eec46 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