6 May
2018
6 May
'18
2:11 p.m.
* Pino Toscano:
@@ -163,6 +161,7 @@ if test "x$with_java" != "xno"; then AC_SUBST(JAR_INSTALL_DIR) AC_SUBST(JNI_INSTALL_DIR) AC_SUBST(JNI_VERSION_INFO) + AM_CONDITIONAL([HAVE_JAVAH],[test -n "$JAVAH"]) fi
AM_CONDITIONAL([HAVE_JAVA],[test "x$with_java" != "xno" && test -n "$JAVAC"])
The AM_CONDITIONAL must be moved outside the if ... fi shell conditional, otherwise configure will fail if invoked with --without-java. Cheers, -Hilko