65 |
[COMPILE_CORE_JNI=yes]) |
[COMPILE_CORE_JNI=yes]) |
66 |
AM_CONDITIONAL(CREATE_CORE_JNI_LIBRARIES, test "x${COMPILE_CORE_JNI}" = xyes) |
AM_CONDITIONAL(CREATE_CORE_JNI_LIBRARIES, test "x${COMPILE_CORE_JNI}" = xyes) |
67 |
|
|
68 |
dnl ----------------------------------------------------------- |
dnl ------------------------------------------------------------ |
69 |
dnl Whether to compile with -Werror or not (enabled by default) |
dnl Whether to compile with -Werror or not (disabled by default) |
70 |
dnl ----------------------------------------------------------- |
dnl ------------------------------------------------------------ |
71 |
AC_ARG_ENABLE([Werror], |
AC_ARG_ENABLE([Werror], |
72 |
[AS_HELP_STRING(--disable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=no])], |
[AS_HELP_STRING(--enable-Werror,whether to compile C code with -Werror which turns any compiler warning into a compilation failure [default=no])], |
73 |
[case "${enableval}" in |
[case "${enableval}" in |
74 |
yes) ENABLE_WERROR=yes ;; |
yes) ENABLE_WERROR=yes ;; |
75 |
no) ENABLE_WERROR=no ;; |
no) ENABLE_WERROR=no ;; |
76 |
*) ENABLE_WERROR=yes ;; |
*) ENABLE_WERROR=no ;; |
77 |
esac], |
esac], |
78 |
[ENABLE_WERROR=no]) |
[ENABLE_WERROR=no]) |
79 |
|
|