blob: 3082781ec4d1270de1c9b6bdf8b79da3ee55b4aa [file] [log] [blame]
Damjan Marion2e70d8b2016-12-21 19:13:57 +01001AC_INIT(jvpp, 17.04)
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