$OpenBSD: patch-aclocal_m4,v 1.7 2004/04/15 19:23:46 naddy Exp $
--- aclocal.m4.orig	2004-02-23 22:44:21.000000000 +0100
+++ aclocal.m4	2004-04-14 23:34:14.000000000 +0200
@@ -3087,11 +3087,11 @@ newsos6)
 
 openbsd*)
   version_type=sunos
-  need_lib_prefix=no
-  need_version=no
+  need_lib_prefix=yes
+  need_version=yes
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     case "$host_os" in
-    openbsd2.[[89]] | openbsd2.[[89]].*)
+    openbsd2.[89] | openbsd2.[89].*)
       shlibpath_overrides_runpath=no
       ;;
     *)
@@ -3101,7 +3101,7 @@ openbsd*)
   else
     shlibpath_overrides_runpath=yes
   fi
-  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+  library_names_spec='${libname}${release}.so ${libname}.so'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   ;;
@@ -4282,6 +4282,7 @@ openbsd*)
   else
     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
   fi
+  lt_cv_deplibs_check_method=pass_all
   ;;
 
 osf3* | osf4* | osf5*)
