* libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support

for NetBSD a.out.
This commit is contained in:
Nick Hudson 2000-12-16 03:09:23 +00:00 committed by Gary V. Vaughan
parent 8bd5f6a210
commit f398c65f73
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-12-16 Nick Hudson <skrll@netbsd.org>
* libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
for NetBSD a.out.
2000-12-15 Akim Demaille <akim@epita.fr>
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename

7
libtool.m4 vendored
View File

@ -3075,12 +3075,13 @@ linux-gnu*)
;;
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
[lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library']
else
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object']
lt_cv_file_magic_cmd='/usr/bin/file -L'
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
fi
lt_cv_file_magic_cmd='/usr/bin/file -L'
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
;;
osf3* | osf4* | osf5*)