10 |
AC_PROG_JAR |
AC_PROG_JAR |
11 |
AC_CHECK_CLASSPATH |
AC_CHECK_CLASSPATH |
12 |
AC_PROG_JAVA |
AC_PROG_JAVA |
13 |
|
AC_PROG_JAVAC |
14 |
AC_PROG_ANTLR(2,7,1) |
AC_PROG_ANTLR(2,7,1) |
15 |
|
|
16 |
AC_SUBST(CLASSPATH) |
AC_SUBST(CLASSPATH) |
50 |
enable_xmldoclet=no |
enable_xmldoclet=no |
51 |
]) |
]) |
52 |
|
|
53 |
|
AC_ARG_ENABLE([native], |
54 |
|
AS_HELP_STRING([--enable-native], |
55 |
|
[enable generation of native binaries]), |
56 |
|
[enable_native=$enableval], |
57 |
|
[enable_native=yes]) |
58 |
|
|
59 |
|
if test "x${enable_native}" = "xno"; then |
60 |
|
echo "Native compilation disabled." |
61 |
|
else |
62 |
|
if test "x${GCJ}" = "xgcj"; then |
63 |
|
enable_native=no |
64 |
|
echo "Native compilation disabled as gcj has not been found" |
65 |
|
fi |
66 |
|
fi |
67 |
|
|
68 |
AC_SUBST(jni_linkflag) |
AC_SUBST(jni_linkflag) |
69 |
AM_CONDITIONAL([ENABLE_XMLDOCLET], [test x${enable_xmldoclet} = xyes]) |
AM_CONDITIONAL([ENABLE_XMLDOCLET], [test x${enable_xmldoclet} = xyes]) |
70 |
|
AM_CONDITIONAL([ENABLE_NATIVE], [test x${enable_native} = xyes]) |
71 |
|
|
72 |
AC_OUTPUT([Makefile]) |
AC_OUTPUT([Makefile]) |