Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
30169:cefa5d2d30bc | 30170:72adc88bc674 |
---|---|
27 | 27 |
28 # gnulib modules used by this package. | 28 # gnulib modules used by this package. |
29 gnulib_modules=" | 29 gnulib_modules=" |
30 areadlink | 30 areadlink |
31 base64 | 31 base64 |
32 bison | |
32 canonicalize | 33 canonicalize |
33 chdir | 34 chdir |
34 clock-time | 35 clock-time |
35 close | 36 close |
36 closedir | 37 closedir |