Fix: build jni libs with openjdk >= 10
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 3 May 2018 19:42:54 +0000 (15:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 May 2018 19:52:20 +0000 (15:52 -0400)
commitca08b2bf6b42da4c1ec65e60ffc26384d317a15c
tree45d45e62640332cc0db9d6fca35811b240d69aa0
parent111902ab67af0b14edfe846c32940732543dbc1a
Fix: build jni libs with openjdk >= 10

In openjdk 10, the "javah" utility used to generate c headers from java
classes was removed and replaced with an option of "javac".

When we detect "javac" but no "javah", assume we are working with
openjdk >= 10 and configure the build system to use the proper tool and
switches.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
liblttng-ust-java-agent/java/lttng-ust-agent-common/Makefile.am
liblttng-ust-java-agent/java/lttng-ust-agent-jul/Makefile.am
liblttng-ust-java-agent/java/lttng-ust-agent-log4j/Makefile.am
liblttng-ust-java/Makefile.am
This page took 0.026879 seconds and 4 git commands to generate.