$OpenBSD: patch-configure,v 1.11 2010/09/27 12:12:41 ajacoutot Exp $ --- configure.orig Sun Sep 26 20:52:21 2010 +++ configure Mon Sep 27 08:38:09 2010 @@ -19953,7 +19953,6 @@ fi case $host_cpu in -x86_64* | sparc64* | s390x* | ppc64* | powerpc64* ) lib="lib64";; *) lib="lib";; esac @@ -20010,7 +20009,6 @@ $as_echo "#define HAVE_BDB 1" >>confdefs.h BDB_LIBS="-L${bdbdir}/bin -ldb51" break fi - if test $platform_win32 = no -a -f $d/include/db.h -a -f $d/$lib/libdb$linklibext then { $as_echo "$as_me:${as_lineno-$LINENO}: result: found Berkeley DB in $d" >&5 @@ -20024,8 +20022,7 @@ $as_echo "#define HAVE_BDB 1" >>confdefs.h BDB_LIBS="-L${bdbdir}/${lib} -ldb" break fi - if test $platform_win32 = no -a -f $d/include/db.h -a -f $d/lib/libdb$linklibext - then + if [ $platform_win32 == "no" ]; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: found Berkeley DB in $d" >&5 $as_echo "found Berkeley DB in $d" >&6; } @@ -20156,7 +20153,7 @@ then $as_echo_n "checking for ODBC files... " >&6; } for d in $dir /usr /usr/local do - if test -f $d/$lib/libodbc$linklibext -a -f $d/include/sql.h + if test -f $d/$lib/libodbc$linklibext* -a -f $d/include/sql.h then { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ODBC in $d" >&5 $as_echo "found ODBC in $d" >&6; }