bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks gre


From: Jim Meyering
Subject: Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep
Date: Sun, 14 Nov 2010 16:52:49 +0100

Paolo Bonzini wrote:
> On 11/14/2010 03:09 PM, Jim Meyering wrote:
>>> It is possible to disable the body of these two expansions by
>>> assigning values to GREP and EGREP inside the configure script.
>>
>> But with no grep program already installed, that will always fail.
>
> You can implement a basic grep that is "good enough for configure"
> using while/read and case.  You will use the newly-built grep
> after it's, well, built.  But nobody uses grep in "make all", so
> it can be substituted unconditionally in Makefiles, and a shell
> function can replace the dummygrep binary.
>
> This is the patch:
>
> 2010-11-14  Paolo Bonzini  <address@hidden>
>
>       * configure.ac (fn_grep): New.  Set GREP and EGREP to it,
>       replace with newly-built grep before AC_OUTPUT.

Good idea to use a shell function.  That patch looks fine, but
please reference the bug report and reporter in the commit log.



reply via email to

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