From 4b63001766b24370621e4669d00b61e7355f91e8 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 6 Nov 2002 10:29:21 +0000 Subject: [PATCH] * tests/torture.at (Configuring subdirectories): Don't use grep -w. * doc/autoconf.texi (Limitations of Usual Tools): Grep -w. Reported by Ezra Peisach. --- ChangeLog | 7 +++++++ doc/autoconf.texi | 3 +++ tests/torture.at | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4eaa9823..4e6455465 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-11-06 Akim Demaille + + * tests/torture.at (Configuring subdirectories): Don't use grep + -w. + * doc/autoconf.texi (Limitations of Usual Tools): Grep -w. + Reported by Ezra Peisach. + 2002-11-05 Akim Demaille * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD): diff --git a/doc/autoconf.texi b/doc/autoconf.texi index d67793aed..2a1a91bf8 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -10387,6 +10387,9 @@ honor the last pattern (e.g., @sc{irix} 6.5 and Solaris 2.5.1). Anyway, Stardent Vistra SVR4 @code{grep} lacks @option{-e}@dots{} Instead, use extended regular expressions and alternation. +Don't rely on @option{-w}, as Irix 6.5.16m's @command{grep} does not +support it. + @item @command{ln} @c --------------- diff --git a/tests/torture.at b/tests/torture.at index 968953be7..cbb306571 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -687,8 +687,8 @@ AT_CHECK([test -f inner/innermost/config.hin]) # Running the outer configure recursively should provide the innermost # help strings. -AT_CHECK([./configure --help=recursive | grep -w INNER], 0, [ignore]) -AT_CHECK([./configure --help=recursive | grep -w INNERMOST], 0, [ignore]) +AT_CHECK([./configure --help=recursive | grep " INNER "], 0, [ignore]) +AT_CHECK([./configure --help=recursive | grep " INNERMOST "], 0, [ignore]) # Running the outer configure should trigger the inner. AT_CHECK_CONFIGURE([INNERMOST=tsomrenni]) -- 2.47.3