mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
tests: port to Solaris 10 sed
As documented in the Autoconf manual, Solaris 10 sed rejects script labels contianing more than 7 characters. POSIX requires support for at least 8 characters, but we might as well be portable to Solaris 10 which is still supported. * tests/local.at (AT_SETS_CHECK): Use only the first 7 characters in sed labels.
This commit is contained in:
@@ -1435,10 +1435,10 @@ m4_define([AT_SETS_CHECK],
|
||||
[[#n
|
||||
]m4_foreach([m4_Set], [$2], [[
|
||||
/^]m4_Set[/ {
|
||||
:]m4_Set[
|
||||
:]m4_substr(m4_Set, 0, 7)[
|
||||
p
|
||||
n
|
||||
/^ *$/ !b ]m4_Set[
|
||||
/^ *$/ !b ]m4_substr(m4_Set, 0, 7)[
|
||||
}
|
||||
]])])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user