9 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
10 |
AC_PROG_JAR |
AC_PROG_JAR |
11 |
AC_CHECK_CLASSPATH |
AC_CHECK_CLASSPATH |
12 |
dnl AC_PROG_JAVA |
AC_PROG_JAVA |
13 |
|
AC_PROG_JAVAC |
14 |
|
|
15 |
dnl Check if required jars are in $prefix/share/java and prepend it to the |
dnl Check if required jars are in $prefix/share/java and prepend it to the |
16 |
dnl CLASSPATH. |
dnl CLASSPATH. |
40 |
dnl |
dnl |
41 |
dnl Compile natively with gcj? |
dnl Compile natively with gcj? |
42 |
dnl |
dnl |
43 |
AC_ARG_ENABLE([gcj], |
AC_ARG_ENABLE([native], |
44 |
[AS_HELP_STRING(--disable-gcj, disable native gcj build [[default=no]])], |
[AS_HELP_STRING(--disable-native, disable generation of native binaries [[default=no]])], |
45 |
[ |
[ |
46 |
if test "x${withval}" != xno; then |
if test "x${withval}" != xno; then |
47 |
enable_gcj=no |
enable_gcj=no |
53 |
enable_gcj=yes |
enable_gcj=yes |
54 |
] |
] |
55 |
) |
) |
56 |
|
if test "x${GCJ}" = xfalse; then |
57 |
|
enable_gcj=no |
58 |
|
echo "Native compilation disabled because gcj not found" |
59 |
|
fi |
60 |
AM_CONDITIONAL(ENABLE_GCJ_BINARY, test "x${enable_gcj}" = xyes) |
AM_CONDITIONAL(ENABLE_GCJ_BINARY, test "x${enable_gcj}" = xyes) |
61 |
|
|
62 |
dnl |
dnl |