One of autoconf's diagnostics changed a couple of months ago,
and an automake test depended on the precise wording of the
now-changed diagnostic. This change (will push shortly)
makes the automake test work with both the old and the new wording:

tests: work also with v2.72-9-g7a6347d1 and newer

* t/dist-missing-m4.sh: Accommodate a slightly different diagnostic
("undefined or overquoted macro" rather than "possibly undefined macro")
in autoconf as of v2.72-9-g7a6347d1.
---
 t/dist-missing-m4.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/dist-missing-m4.sh b/t/dist-missing-m4.sh
index c9756913b..79f23a365 100644
--- a/t/dist-missing-m4.sh
+++ b/t/dist-missing-m4.sh
@@ -61,7 +61,7 @@ for vpath in false :; do
   run_make -e FAIL -M
   # This error will come from autoconf, not make, so we can be stricter
   # in our grepping of it.
-  grep 'possibly undefined .*MY_ZARDOZ' output
+  $EGREP '(possibly undefined|undefined or overquoted macro:)
.*MY_ZARDOZ' output
   grep 'MY_FOOBAR' output && exit 1 # No spurious error, please.
   cd "$ocwd" || fatal_ "cannot chdir back to top-level test directory"
 done
--

Reply via email to