--- config_office/configure.in.orig	2007-01-14 11:58:24.000000000 +0100
+++ config_office/configure.in	2007-01-14 12:01:35.000000000 +0100
@@ -3208,33 +3208,6 @@
     done
     AC_CHECK_FUNC(db_create, [], [ AC_MSG_ERROR([db not installed or functional]) ])
     LIBS="$save_LIBS"
-     if test "$SOLAR_JAVA" = "TRUE"; then
-       if test -z "$DB_JAR"; then
-         # three different naming methods *grumble* Are there even more?
-         AC_CHECK_FILE(/usr/share/java/db.jar, [ JARVER=0 ],
-           [
-             AC_CHECK_FILE(/usr/share/java/db-$DB_VERSION.jar, [ JARVER=1 ],
-               [ AC_CHECK_FILE(/usr/share/java/libdb$DB_VERSION-java.jar,
-                   [ JARVER_LONGSTYLE=1 ],
-                   [ AC_MSG_ERROR(db$DB_VERSION_MAJOR Java bindings not found)]
-                 )
-               ]
-             )
-           ]
-         )
-         if test "$JARVER" = "1"; then
-           DB_JAR=/usr/share/java/jar-$DB_VERSION.jar
-         else
-           DB_JAR=/usr/share/java/db.jar
-         fi
-         if test "$JARVER_LONGSTYLE" = "1"; then
-           DB_JAR=/usr/share/java/libdb$DB_VERSION-java.jar
-         fi
-	  if test -z "$DB_JAR"; then
-	    AC_MSG_ERROR([libdb $DB_VERSION jar not found. Install it or specify path with --with-db-jar=/path/to/jar])
-	  fi
-       fi
-    fi
   if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
     if test -n "$DB_JAR_SO"; then
       AC_CHECK_FILE($DB_JAR_SO, [],
