[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build testsuite (more) portably

From: Ralf Wildenhues
Subject: Re: build testsuite (more) portably
Date: Thu, 9 Mar 2006 19:15:10 +0100
User-agent: Mutt/1.5.9i

* Ralf Wildenhues wrote on Sun, Mar 05, 2006 at 11:29:07AM CET:
> OpenBSD grep has a bug in that it mistreats patterns separated by
> newlines.  I will report more on this after finishing a bug report to
> this end.  For now, it's only important that Autoconf does not use this
> in lib/*/*m4, but in tests/

OK to apply this to document the bug?  I reported it to their bugs list,
a couple of working patch have been posted, so I expect it to be fixed
in the next OpenBSD release.


        * doc/autoconf.texi (Limitations of Usual Tools): Document
        OpenBSD, Solaris `grep' failure to handle multiple patterns
        separated by newlines.

Index: doc/autoconf.texi
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.957
diff -u -r1.957 autoconf.texi
--- doc/autoconf.texi   6 Mar 2006 22:34:34 -0000       1.957
+++ doc/autoconf.texi   7 Mar 2006 09:20:59 -0000
@@ -12277,6 +12683,9 @@
 bar' in.txt
 @end example
+except that this will fail on Solaris and OpenBSD 3.8.
 Traditional @command{grep} implementations (e.g., Solaris) do not
 support the @option{-E} or @samp{-F} options.  To work around these
 problems, invoke @code{AC_PROG_EGREP} and then use @code{$EGREP}, and

reply via email to

[Prev in Thread] Current Thread [Next in Thread]