summaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-27 06:14:30 +0000
commita2718648919e464dcbb576267062f5a157076122 (patch)
treee64b0130d1ae56cd5986c8c2906fbc5b187a7793 /libtool.m4
parent2be990303bb3a1afc3dd9c896876fa5d2d2118f6 (diff)
downloadgcc-a2718648919e464dcbb576267062f5a157076122.tar.gz
Patch from Robert Millan.
Add patches from libtool CVS. * libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. * ltconfig: Likewise. * ltcf-c.sh: Likewise. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81213 138bc75d-0d04-0410-961f-82ee72b054a4
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 0312861d47f..91ceb2db5fa 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -621,7 +621,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 )
@@ -689,7 +689,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