Marek Gradzki | 948b95a | 2016-07-20 14:53:48 +0200 | [diff] [blame] | 1 | AC_INIT(jvpp, 16.09) |
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 | AC_PROG_CC |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 8 | |
Marek Gradzki | d85036f | 2016-04-26 12:09:05 +0200 | [diff] [blame] | 9 | 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 |
| 10 | JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ |
| 11 | JAVAC=${JAVA_HOME}/bin/javac |
| 12 | PATH=${JAVA_HOME}/bin/:${PATH} |
| 13 | break |
| 14 | fi |
| 15 | |
| 16 | AX_CHECK_JAVA_HOME |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 17 | AX_PROG_JAVAC |
| 18 | AX_PROG_JAVAH |
| 19 | AX_PROG_JAR |
| 20 | AX_PROG_JAVADOC |
| 21 | AX_PROG_JAVA |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 22 | |
| 23 | AC_OUTPUT([Makefile]) |
| 24 | |