[Libreoffice-commits] .: configure.in

Robert Nagy rnagy at kemper.freedesktop.org
Thu Aug 18 04:09:00 PDT 2011


 configure.in |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit fedb09d74c69a9525d2117689abd04cc6140db9e
Author: Robert Nagy <robert at openbsd.org>
Date:   Thu Aug 18 13:06:19 2011 +0200

    fix berkeley db detection on OpenBSD

diff --git a/configure.in b/configure.in
index 0fa9fbc..66aef4a 100755
--- a/configure.in
+++ b/configure.in
@@ -4835,6 +4835,10 @@ if test -n "$with_system_db" -o -n "$with_system_libs" && \
     SYSTEM_DB_CFLAGS="-DSYSTEM_DB_HEADER='<$db_header>'"
 
     DB_LIB=
+    dnl At least on OpenBSD dbver is not appended to the library
+    if test "$_os" = "OpenBSD"; then
+        dbver=''
+    fi
     for dash in - ''; do
         AC_CHECK_LIB(db$dash$dbver, dbopen,
             [ DB_LIB="db$dash$dbver"; DB_CPPLIB="db_cxx$dash$dbver"; break ])


More information about the Libreoffice-commits mailing list