summaryrefslogtreecommitdiffstats
path: root/plugins/acl-plugin/configure.ac
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2016-12-07 09:42:52 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-07 21:24:45 +0000
commit4183d6d763326e79c67a4f7db61390d6654ea6c7 (patch)
tree750a9f76e94dfc72417799739fdc2a66bfae52f6 /plugins/acl-plugin/configure.ac
parent0e3c0de1ed87f3cdf16e26e05e39ea6eebeafb18 (diff)
Acl JVpp api generation (HONEYCOMB-305)
Includes simple test cases for acl management. Change-Id: Ifff4f4baf9bfe84d73ebc46b591ecc46c85c94ad Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'plugins/acl-plugin/configure.ac')
-rw-r--r--plugins/acl-plugin/configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/acl-plugin/configure.ac b/plugins/acl-plugin/configure.ac
index a4622c2d6a6..204f4e4d30c 100644
--- a/plugins/acl-plugin/configure.ac
+++ b/plugins/acl-plugin/configure.ac
@@ -1,4 +1,5 @@
AC_INIT(acl_plugin, 1.0)
+AC_CONFIG_MACRO_DIR([../../vpp-api/java/m4])
LT_INIT
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
@@ -6,4 +7,18 @@ AC_PREFIX_DEFAULT([/usr])
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])