blob: d2033ee4b69e834ed9babf4e1a9cb4d87840ba6e [file] [log] [blame]
Marek Gradzki948b95a2016-07-20 14:53:48 +02001AC_INIT(jvpp, 16.09)
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