-dnl All this cruft, which tries to fail harmlessly when bison is not present,
-dnl will no longer be necessary after we require an Automake release 1.10 or
-dnl later, as those avoid generating .c files from .y when not in maintainer
-dnl mode. This is currently a fork from the GNULIB version of this file.
- # getdate.y works with bison only.
- AM_MISSING_PROG(YACC, bison -y)
- AC_ARG_VAR(YACC,
+ # parse-datetime.y works with bison only.
+ : ${YACC='bison -y'}
+dnl
+dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
+dnl requires an Autoconf greater than 2.59c, but it will probably still be
+dnl useful to override the description of YACC in the --help output, re
+dnl parse-datetime.y assuming `bison -y'.
+ AC_ARG_VAR([YACC],