projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* m4/jni.m4: Added ENABLE_JNI AM_CONDITIONAL.
[cacao.git]
/
m4
/
jni.m4
diff --git
a/m4/jni.m4
b/m4/jni.m4
index 903ec44ac3314609b24ceebc4e6dfc9e8c5d4803..7548ec0752e168b436f6e7fb0a361ad8b54810cb 100644
(file)
--- a/
m4/jni.m4
+++ b/
m4/jni.m4
@@
-44,6
+44,7
@@
AC_ARG_ENABLE([jni],
esac],
[AC_CHECK_ENABLE_JNI_DEFAULT])
AC_MSG_RESULT(${ENABLE_JNI})
+AM_CONDITIONAL([ENABLE_JNI], test x"${ENABLE_JNI}" = "xyes")
if test x"${ENABLE_JNI}" = "xyes"; then
AC_DEFINE([ENABLE_JNI], 1, [enable JNI])