Mercurial > octave
diff bootstrap.conf @ 30170:72adc88bc674
modernize bison rules
* bootstrap.conf (gnulib_modules): Include bison in the list.
* m4/acinclude.m4 (OCTAVE_PROG_BISON): Use gl_PROG_BISON to define
BISON instead of AC_PROG_YACC to define YACC. Don't substitute
WARN_YFLAGS.
* libinterp/module.mk (%.cc %.h : %.yy): Assume we have bison, that it
supports --defines=FILE and --output=FILE, and that we don't have to
use ylwrap or work around weird y.tab.c and y.tab.h generated file
names.
* Makefile.am (AM_YFLAGS): Delete.
(YACC): Define so that automake doesn't complain about seeing .yy
source files without a definition of YACC in the Makefile.
(AM_V_BISON, am__v_BISON_, am__v_BISON_0, am__v_BISON_1): New macros.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Sep 2021 10:34:59 -0400 |
parents | 7917b91a3c58 |
children | 5ea881d55465 |
line wrap: on
line diff