Dave Wallace | a4105de | 2015-12-17 20:29:43 -0500 | [diff] [blame] | 1 | AC_INIT(vpp-japi, 1.0.0) |
Dave Barach | 2126b35 | 2016-02-10 08:42:59 -0500 | [diff] [blame] | 2 | LT_INIT |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 3 | AC_CONFIG_MACRO_DIR([m4]) |
| 4 | AM_INIT_AUTOMAKE |
Damjan Marion | 6b1d7c5 | 2016-04-26 18:19:47 +0200 | [diff] [blame] | 5 | AM_SILENT_RULES([yes]) |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 6 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 7 | AM_PROG_AS |
| 8 | AC_PROG_CC |
| 9 | AM_PROG_CC_C_O |
| 10 | |
Marek Gradzki | d85036f | 2016-04-26 12:09:05 +0200 | [diff] [blame^] | 11 | 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 |
| 12 | JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ |
| 13 | JAVAC=${JAVA_HOME}/bin/javac |
| 14 | PATH=${JAVA_HOME}/bin/:${PATH} |
| 15 | break |
| 16 | fi |
| 17 | |
| 18 | AX_CHECK_JAVA_HOME |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 19 | AX_PROG_JAVAC |
| 20 | AX_PROG_JAVAH |
| 21 | AX_PROG_JAR |
| 22 | AX_PROG_JAVADOC |
| 23 | AX_PROG_JAVA |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 24 | |
| 25 | AC_OUTPUT([Makefile]) |
| 26 | |