Fix: AM_CONDITIONAL should be outside AS_IF block
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 May 2018 19:58:44 +0000 (15:58 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 May 2018 19:59:53 +0000 (15:59 -0400)
Fixes:

configure: error: conditional "HAVE_JAVAH" was never defined.
Usually this means the macro was only invoked conditionally

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index 8be1ceb0636d6403dec66a4ae389b30c91584bbd..37549fe039f925d5b74b0951429fff0483ec85f4 100644 (file)
@@ -343,10 +343,10 @@ AS_IF([test "x$jni_interface" = "xyes" || test "x$java_agent_jul" = "xyes" || te
        CPPFLAGS="$CPPFLAGS $JNI_CPPFLAGS"
        AX_PROG_JAVAH
        CPPFLAGS="$saved_CPPFLAGS"
-
-       AM_CONDITIONAL([HAVE_JAVAH], [test "x$JAVAH" != "x"])
 ])
 
+AM_CONDITIONAL([HAVE_JAVAH], [test "x$JAVAH" != "x"])
+
 AS_IF([test "x$java_agent_log4j" = "xyes"], [
        AX_CHECK_CLASSPATH
        AX_CHECK_CLASS([org.apache.log4j.Logger])
This page took 0.02619 seconds and 4 git commands to generate.