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:45 +0000 (15:52 -0400)
commit4bbc4414a5b216aab11c1071fae7cc9ff46d386a
tree7e585ff5d92271bc66bd8f969219d70d950961aa
parent1b8aad8ae2ae63030ad16cef203cf283459583c8
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.026242 seconds and 4 git commands to generate.