Hi,

as you may remember I had a problem with almost all the higher
numbered test cases of the testsuite failing on Solaris 9. Well,
I�think I found out what caused the problem. Seems like the basic
Solaris grep won't cope with alternatives, '|', unless explicitly told
to except them. Here is my proposal for a patch:

--- snip ---
Index: tests/local.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/local.at,v
retrieving revision 1.16
diff -u -p -r1.16 local.at
--- tests/local.at      25 May 2005 18:35:05 -0000      1.16
+++ tests/local.at      7 Jun 2005 17:18:18 -0000
@@ -323,7 +323,7 @@ fi
 m4_define([AT_CONFIG_CMP],
 [for act_file in $1 $2
 do
-    { $GREP -v \
+    { $EGREP -v \
 '^\(ac\|as\)_
 ^\(PPID\|RANDOM\|SECONDS\|'\'\\\$\''\)=
 ^[[^=]]*=$'        $act_file
--- snip ---

Yes, that's all one 'E' makes the difference between over one hundred
test cases failing or succeeding.

Please, tell me if I can help in any other way.

Bye,
Ralf Menzel



Reply via email to