I misunderstood the dependencies between the different java macros, move
the binairies detection back to optionnal for the time being.
Change-Id: I917f8f5dc7c34f1ac360d405b3a2327e2ee518e7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
AM_PATH_PYTHON([2.7], [], [PYTHON=""])
-AX_PROG_JAVAC
-AX_PROG_JAVA
-AX_PROG_JAR
-
# Initialize and configure libtool
LT_INIT([disable-static])
# The JNI interface and Java Agents require a working Java JDK
AS_IF([AE_IS_FEATURE_ENABLED([jni-interface]) || AE_IS_FEATURE_ENABLED([java-agent-jul]) || AE_IS_FEATURE_ENABLED([java-agent-log4j])], [
- # We detected a java compiler earlier, make sure it works
- AX_PROG_JAVAC_WORKS
+ AX_PROG_JAVAC
+ AX_PROG_JAVA
+ AX_PROG_JAR
# Get the CPPFLAGS required to build jni libaries
AX_JNI_INCLUDE_DIR