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:56 +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 edd4e859b547c6dcebe6ccc0e4ec777018d8c0f7..4796f4e1f23cda42cbb9d4f1f1858bdc67b2903d 100644 (file)
@@ -311,10 +311,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.024534 seconds and 4 git commands to generate.