summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-11-30 06:39:19 +0100
committerAkim Demaille <akim.demaille@gmail.com>2018-12-01 11:13:08 +0100
commitd2386a35f5a2c2bc10a03ba18319861d7bec0b9d (patch)
tree012b9b899a7bc7727a7c535834bc9924a1107b21 /configure.ac
parent3422ee7435cf086a53bf9952e770c7eb4993b5f7 (diff)
downloadbison-d2386a35f5a2c2bc10a03ba18319861d7bec0b9d.tar.gz
java: add an example
* examples/java/Calc.y: New, based on test 495: "Calculator parse.error=verbose %locations". * examples/java/Calc.test, examples/java/local.mk: New. * configure.ac (ENABLE_JAVA): New. * examples/test (prog): Be ready to run Java programs.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 959fc968..cce792f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,6 +280,7 @@ AC_SUBST([GCC])
gt_JAVACOMP([1.7], [1.7])
gt_JAVAEXEC
+AM_CONDITIONAL([ENABLE_JAVA], [test x"$CONF_JAVAC" != x && test x"$CONF_JAVA" != x])
AC_CONFIG_FILES([Makefile
po/Makefile.in