summaryrefslogtreecommitdiffstats
path: root/plugins/ioam-plugin/configure.ac
diff options
context:
space:
mode:
authorShwetha <shwethab@cisco.com>2016-10-13 01:46:19 +0100
committerChris Luke <chris_luke@comcast.com>2016-10-21 18:14:29 +0000
commit047144853f05f2fd9f9dd0166d66cf52e641ba13 (patch)
tree3480ed7892762338e84877902081ed9d9314a2ff /plugins/ioam-plugin/configure.ac
parent14fbdfc800345ce6b4f2a6d019f70b9a7d6f3ed9 (diff)
Java api generation for ioam trace plugin
Makefile, configure, jvpp changes follow snat plugin jvpp Fixes trace api handling for endianess Change-Id: Id5c950ed3c85d5e0dc28ba31b580987baa1b133f Signed-off-by: Shwetha <shwethab@cisco.com>
Diffstat (limited to 'plugins/ioam-plugin/configure.ac')
-rw-r--r--plugins/ioam-plugin/configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/ioam-plugin/configure.ac b/plugins/ioam-plugin/configure.ac
index 5b6fce32a09..287bcaab802 100644
--- a/plugins/ioam-plugin/configure.ac
+++ b/plugins/ioam-plugin/configure.ac
@@ -1,9 +1,25 @@
AC_INIT(ioam_plugin, 1.0)
LT_INIT
+AC_CONFIG_MACRO_DIR([../../vpp-api/java/m4])
AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT([/usr])
AM_SILENT_RULES([yes])
AC_PROG_CC
+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
+
+
AC_OUTPUT([Makefile])