diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-04-26 12:09:05 +0200 |
---|---|---|
committer | Ed Warnicke <hagbard@gmail.com> | 2016-05-02 20:58:54 +0000 |
commit | d85036fd6bf25bb11a6f3fdfccf4425428834f28 (patch) | |
tree | 457505ac351630c88f60d33bddbf1d5789e34f46 /vpp-api/java/configure.ac | |
parent | c5e8681b320884f780508458ebff873761d5e04a (diff) |
HONEYCOMB-10: jVpp - the new java API. C code and jar file generation
Added comments generation for C and Java files.
Change-Id: Ifb670a5592eb871bfe68804f0a8d8f9b5b14f00a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'vpp-api/java/configure.ac')
-rw-r--r-- | vpp-api/java/configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vpp-api/java/configure.ac b/vpp-api/java/configure.ac index 02f2570275d..35e2023dab0 100644 --- a/vpp-api/java/configure.ac +++ b/vpp-api/java/configure.ac @@ -8,12 +8,19 @@ AM_PROG_AS AC_PROG_CC AM_PROG_CC_C_O +if test -f /usr/bin/lsb_release && test `lsb_release -si` == "Ubuntu" && test `lsb_release -sr` == "14.04" && test -d /usr/lib/jvm/java-8-openjdk-amd64/ ; then + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ + JAVAC=${JAVA_HOME}/bin/javac + PATH=${JAVA_HOME}/bin/:${PATH} + break +fi + +AX_CHECK_JAVA_HOME AX_PROG_JAVAC AX_PROG_JAVAH AX_PROG_JAR AX_PROG_JAVADOC AX_PROG_JAVA -AX_CHECK_JAVA_HOME AC_OUTPUT([Makefile]) |