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:14 +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 a762b8c81cc3932b0c355ed68b40e02026252ba5..f337afc349123f78bcca913bea2b9eac95be5e60 100644 (file)
@@ -371,10 +371,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.025779 seconds and 4 git commands to generate.