d: add experimental support for the D language

* configure.ac (ENABLE_D): New.
* src/getargs.c (valid_languages): Add d.
This commit is contained in:
Akim Demaille
2018-11-30 08:32:41 +01:00
parent 4a42a4f911
commit 22b2c286ff
2 changed files with 10 additions and 4 deletions

View File

@@ -188,6 +188,15 @@ BISON_C_COMPILER_POSIXLY_CORRECT
BISON_TEST_FOR_WORKING_CXX_COMPILER
BISON_CXX_COMPILER_POSIXLY_CORRECT
# D.
AM_CONDITIONAL([ENABLE_D], [true])
# Java.
gt_JAVACOMP([1.7], [1.7])
gt_JAVAEXEC
AM_CONDITIONAL([ENABLE_JAVA], [test x"$CONF_JAVAC" != x && test x"$CONF_JAVA" != x])
AC_ARG_ENABLE([yacc],
[AC_HELP_STRING([--disable-yacc],
[do not build a yacc command or an -ly library])],
@@ -278,10 +287,6 @@ AM_MISSING_PROG([AUTOM4TE], [autom4te])
# Needed by tests/atlocal.in.
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
doc/yacc.1])