Apache OpenOffice (AOO) Bugzilla – Issue 112604
configure: reject hsqldb 1.8.1.x
Last modified: 2017-05-20 10:22:01 UTC
Hi, we should prohibit building against hsqldb 1.8.1 as the following: diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -3990,7 +3990,7 @@ fi AC_CHECK_FILE($HSQLDB_JAR, [], [AC_MSG_ERROR(hsqldb.jar not found.)], []) - AC_MSG_CHECKING([whether hsqldb is >= 1.8.0.9]) + AC_MSG_CHECKING([whether hsqldb is 1.8.0.x]) export HSQLDB_JAR if $PERL -e 'use Archive::Zip; my $file = "$ENV{'HSQLDB_JAR'}"; @@ -4003,7 +4003,7 @@ ($t, $version) = split (/:/,$line); $version =~ s/^\s//; ($a, $b, $c, $d) = split (/\./,$version); - if (($c == "0" && $d > "8") || $c > 0) { + if ($c == "0" && $d > "8") { exit 0; } else { exit 1; @@ -4015,7 +4015,7 @@ }'; then AC_MSG_RESULT([yes]) else - AC_MSG_ERROR([no, hsqldb >= 1.8.0.9 is needed]) + AC_MSG_ERROR([no, you need hsqldb >= 1.8.0.9 but < 1.8.1]) fi else AC_MSG_RESULT([internal]) to prevent stuff like http://de.openoffice.org/servlets/ReadMsg?list=dev&msgNo=44128
CC issues@dba
committed myself to configure25
.
verified in cws