2016-06-24 20:10:30 +02:00
AC_INIT(ioam_plugin, 1.0)
LT_INIT
2016-10-13 01:46:19 +01:00
AC_CONFIG_MACRO_DIR([../../vpp-api/java/m4])
2016-06-24 20:10:30 +02:00
AM_INIT_AUTOMAKE
2016-07-07 20:27:49 +02:00
AC_PREFIX_DEFAULT([/usr])
2016-07-08 13:57:11 +02:00
AM_SILENT_RULES([yes])
2016-06-24 20:10:30 +02:00
AC_PROG_CC
2016-10-13 01:46:19 +01:00
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
2016-06-24 20:10:30 +02:00
AC_OUTPUT([Makefile])