Properly capture java variables at configure
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 20 Jan 2022 16:52:04 +0000 (16:52 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jan 2022 20:26:06 +0000 (15:26 -0500)
commit6ae20f706f09cf8dba1fbad4a672ff7226c8d68a
tree1709f5e11f111f54e1ef35c76ceb9fd3dc36c310
parentfd5c0e6bf6497f2e31f369122fe3a834447f2dce
Properly capture java variables at configure

Some Java related variables aren't currently properly captured when
running for example:

    ./configure JAVACFLAGS="-g"

The JAVACFLAGS variable will be used during the configure phase but
won't be when running make afterwards.

This is due to the AX_JAVA_OPTIONS macro which adds non-standard
configure switches like '--with-javac-flags' which as a side-effect
inhibit the capture of the variable.

Remove this macro and use AC_ARG_VAR to capture these variables and
bring the Java support in line with C/C++.

Change-Id: I9159e34c1c30a10309200bfc8e0fd067000d14ce
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
m4/ax_java_options.m4 [deleted file]
This page took 0.024457 seconds and 4 git commands to generate.