$OpenBSD: patch-configure,v 1.1.1.1 2007/10/25 18:17:02 wilfried Exp $ --- configure.orig Thu Oct 11 17:58:33 2007 +++ configure Tue Oct 23 18:52:24 2007 @@ -3756,6 +3756,10 @@ nto-qnx*) ;; openbsd*) + case $host_cpu in + i386) IOPL_LIBS="-li386";; + x86_64) IOPL_LIBS="-lamd64";; + esac if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else @@ -23859,6 +23863,7 @@ s,@am__leading_dot@,$am__leading_dot,;t t s,@AMTAR@,$AMTAR,;t t s,@am__tar@,$am__tar,;t t s,@am__untar@,$am__untar,;t t +s,@IOPL_LIBS@,$IOPL_LIBS,;t t s,@ISODATE@,$ISODATE,;t t s,@LIBFREEIPMI_VERSION@,$LIBFREEIPMI_VERSION,;t t s,@LIBFREEIPMI_VERSION_INFO@,$LIBFREEIPMI_VERSION_INFO,;t t