summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/java/configure.ac
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-07-06 15:23:34 -0700
committerEd Warnicke <eaw@cisco.com>2016-09-07 13:27:27 -0700
commit237944f38b6b08b83dff9dafbf0f7ee3ce9a3752 (patch)
tree03358b48c1fcb6a1ab1b25da5f55e42fd0a14a8e /nsh-plugin/java/configure.ac
parentc8291ef9611e465efd5ada0ff77b1018640b9690 (diff)
jvpp support for nsh
Augment APIs with entry_index for reply, dump and details Squashes: https://gerrit.fd.io/r/#/c/2538/ https://gerrit.fd.io/r/#/c/2118/ https://gerrit.fd.io/r/#/c/1884/ Change-Id: Ibbdc53e2db8ffa5499380f6ce70356c4a401315e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'nsh-plugin/java/configure.ac')
-rw-r--r--nsh-plugin/java/configure.ac25
1 files changed, 25 insertions, 0 deletions
diff --git a/nsh-plugin/java/configure.ac b/nsh-plugin/java/configure.ac
new file mode 100644
index 0000000..b212dab
--- /dev/null
+++ b/nsh-plugin/java/configure.ac
@@ -0,0 +1,25 @@
+AC_INIT(nsh-japi, 16.09)
+LT_INIT
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE
+AM_SILENT_RULES([yes])
+
+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
+
+AC_OUTPUT([Makefile])