configure.ac revision fa9f5a2c
1AC_INIT(nsh-japi, 17.10)
2LT_INIT
3AC_CONFIG_MACRO_DIR([m4])
4AM_INIT_AUTOMAKE
5AM_SILENT_RULES([yes])
6
7AM_PROG_AS
8AC_PROG_CC
9AM_PROG_CC_C_O
10
11if 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
16fi
17
18AX_CHECK_JAVA_HOME
19AX_PROG_JAVAC
20AX_PROG_JAVAH
21AX_PROG_JAR
22AX_PROG_JAVADOC
23AX_PROG_JAVA
24
25AC_OUTPUT([Makefile])
26