libtool ELF fixes.

From Marc Matteo <marcm@lectroid.net>.
This commit is contained in:
nino 2002-07-19 08:18:10 +00:00
parent 4bc5b5c870
commit fd9ee00ae0

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-aclocal_m4,v 1.4 2002/03/25 17:18:38 nino Exp $
--- aclocal.m4.orig Mon Oct 29 13:55:11 2001
+++ aclocal.m4 Sat Feb 16 11:31:54 2002
$OpenBSD: patch-aclocal_m4,v 1.5 2002/07/19 08:18:10 nino Exp $
--- aclocal.m4.orig Mon Oct 29 10:55:11 2001
+++ aclocal.m4 Thu Jul 18 15:03:29 2002
@@ -1421,7 +1421,14 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
@ -68,8 +68,8 @@ $OpenBSD: patch-aclocal_m4,v 1.4 2002/03/25 17:18:38 nino Exp $
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
+ file_magic_cmd=/usr/bin/file
+ file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ case "$host_os" in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no