mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +00:00
Build testsuite with newer autoconf.
* tests/output.at (m4_expand): Don't override in newer autoconf, where the underlying implementation changed. * tests/cxx-type.at (_AT_RESOLVED_GLR_OUTPUT) (_AT_RESOLVED_GLR_OUTPUT_WITH_LOC, _AT_AMBIG_GLR_OUTPUT) (_AT_AMBIG_GLR_OUTPUT_WITH_LOC, _AT_GLR_STDERR) (_AT_VERBOSE_GLR_STDERR): Expand to double-quoted strings, since some of them contain unbalanced ')'. Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
@@ -200,9 +200,10 @@ AT_CLEANUP
|
||||
AT_CHECK_OUTPUT_FILE_NAME([[`~!@#$%^&*()-=_+{}[]|\:;<>, .']])
|
||||
dnl Work around a bug in m4_expand that broke AT_SETUP in autoconf 2.62,
|
||||
dnl by using the definition from 2.63.
|
||||
m4_define([m4_expand], [_$0(-=<{($1)}>=-)])
|
||||
m4_version_prereq([2.63], [],
|
||||
[m4_define([m4_expand], [_$0(-=<{($1)}>=-)])
|
||||
m4_define([_m4_expand],
|
||||
[m4_changequote([-=<{(], [)}>=-])$1m4_changequote([, ])])
|
||||
[m4_changequote([-=<{(], [)}>=-])$1m4_changequote([, ])])])
|
||||
AT_CHECK_OUTPUT_FILE_NAME([[(]])
|
||||
AT_CHECK_OUTPUT_FILE_NAME([[)]])
|
||||
AT_CHECK_OUTPUT_FILE_NAME([[#]])
|
||||
|
||||
Reference in New Issue
Block a user