Corrected java test.

This commit is contained in:
Romain Chantereay 2004-09-06 15:49:14 +00:00
parent 8fb0ee72ef
commit 956ed63fd8
1 changed files with 4 additions and 6 deletions

View File

@ -257,12 +257,10 @@ if test "X$JDK_INCLUDE" != X; then
fi
dnl If we found a java version information, we have java compilation environment.
if test "X$JAVA_VERSION" != X; then
if test "X$JAR" != X; then
languages_available="$languages_available $JAVA($JAVA_VERSION)"
else
enable_java=no
fi
if test "X$JAVA_VERSION" != X && test "X$JAR" != X; then
languages_available="$languages_available $JAVA($JAVA_VERSION)"
else
enable_java=no
fi
dnl Conditional java sub dir test.