+2001-08-05 Gary V. Vaughan <gary@gnu.org>
+
+ From Brad <brad@comstyle.com>:
+ * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: OpenBSD
+ can build modules without a `lib' prefix and version number.
+ Move the deplibs check code from here...
+ (AC_DEPLIBS_CHECK_METHOD): ...to here.
+
2001-08-05 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
openbsd*)
version_type=sunos
+ need_lib_prefix=no
+ need_version=no
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
- 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']
+ shlibpath_overrides_runpath=no
else
- deplibs_check_method='file_magic OpenBSD.* shared library'
+ shlibpath_overrides_runpath=yes
fi
;;
nto-qnx)
lt_cv_deplibs_check_method=unknown
;;
+
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object']
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case