blob: 54d26b507d87b206e45cbec3325596f0b9a8dd04 [file] [log] [blame]
Keith Burns (alagalah)a8f7b752016-08-17 17:43:39 -07001AC_INIT(jvpp, 16.12)
Dave Barach2126b352016-02-10 08:42:59 -05002LT_INIT
Ed Warnickecb9cada2015-12-08 15:45:58 -07003AC_CONFIG_MACRO_DIR([m4])
4AM_INIT_AUTOMAKE
Damjan Marion6b1d7c52016-04-26 18:19:47 +02005AM_SILENT_RULES([yes])
Ed Warnickecb9cada2015-12-08 15:45:58 -07006
Ed Warnickecb9cada2015-12-08 15:45:58 -07007AC_PROG_CC
Ed Warnickecb9cada2015-12-08 15:45:58 -07008
Marek Gradzkid85036f2016-04-26 12:09:05 +02009if 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
14fi
15
16AX_CHECK_JAVA_HOME
Ed Warnickecb9cada2015-12-08 15:45:58 -070017AX_PROG_JAVAC
18AX_PROG_JAVAH
19AX_PROG_JAR
20AX_PROG_JAVADOC
21AX_PROG_JAVA
Ed Warnickecb9cada2015-12-08 15:45:58 -070022
23AC_OUTPUT([Makefile])
24