43 |
AM_CONDITIONAL(CREATE_JNI_LIBRARIES, test "x${COMPILE_JNI}" = xyes) |
AM_CONDITIONAL(CREATE_JNI_LIBRARIES, test "x${COMPILE_JNI}" = xyes) |
44 |
|
|
45 |
dnl ----------------------------------------------------------- |
dnl ----------------------------------------------------------- |
46 |
|
dnl Enable core JNI libraries (enabled by default) |
47 |
|
dnl ----------------------------------------------------------- |
48 |
|
AC_ARG_ENABLE([core-jni], |
49 |
|
[AS_HELP_STRING(--enable-core-jni, |
50 |
|
compile JNI sources for core [default=yes])], |
51 |
|
[case "${enableval}" in |
52 |
|
yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;; |
53 |
|
no) COMPILE_CORE_JNI=no ;; |
54 |
|
*) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;; |
55 |
|
esac], |
56 |
|
[COMPILE_CORE_JNI=yes]) |
57 |
|
AM_CONDITIONAL(CREATE_CORE_JNI_LIBRARIES, test "x${COMPILE_CORE_JNI}" = xyes) |
58 |
|
|
59 |
|
dnl ----------------------------------------------------------- |
60 |
dnl Whether to compile with -Werror or not (enabled by default) |
dnl Whether to compile with -Werror or not (enabled by default) |
61 |
dnl ----------------------------------------------------------- |
dnl ----------------------------------------------------------- |
62 |
AC_ARG_ENABLE([Werror], |
AC_ARG_ENABLE([Werror], |