mirror of https://gitee.com/openkylin/db5.3.git
fix a bogus Java version check
These clowns look at just the first digit, thinking that 10 means 1. Gbp-Pq: Name 009-java-10.patch
This commit is contained in:
parent
8c037d71d3
commit
5905100e14
|
@ -453,11 +453,11 @@ if test "$db_cv_java" = "yes" -o "$db_cv_jdbc" = "yes"; then
|
|||
sed -e '/ version /!d' -e 's/.*"\(.*\)".*/\1/'` ;;
|
||||
esac
|
||||
AC_MSG_RESULT($JAVA_VERSION)
|
||||
case "$JAVA_VERSION" in
|
||||
1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* ) ;;
|
||||
* )
|
||||
AC_MSG_ERROR([Java version 1.3 or higher required, got $JAVA_VERSION]) ;;
|
||||
esac
|
||||
#case "$JAVA_VERSION" in
|
||||
#1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* ) ;;
|
||||
#* )
|
||||
# AC_MSG_ERROR([Java version 1.3 or higher required, got $JAVA_VERSION]) ;;
|
||||
#esac
|
||||
|
||||
# Because of the code that SWIG generates to cast between pointers and
|
||||
# integers, we need to add the flag "-fno-strict-aliasing" to the gcc
|
||||
|
|
Loading…
Reference in New Issue