On Mon, Apr 13, 2026 at 1:20 PM Paul Eggert <[email protected]> wrote:
>
> Thanks for the logs. I think I see the bug now. I installed the attached
> patch. Please give it a try, or (this may be simpler) a workaround is to
> make sure that GREP and EGREP are not set in your environment (if you
> need a better grep, put it in your PATH instead).

That's a bit unusual.  Typically, one sets a program in the
environment, like GREP or EGREP, when a particular version is needed.

I would recommend skip the Autotools tests for grep if GREP is set,
and skip the Autotools test for egrep if EGREP is set.  Then use
${GREP} and ${EGRE} in the scripts.  And nowadays, egrep is no longer
a separate program (or alias or link) so set EGREP to `${GREP} -E`
when needed.

Jeff



Reply via email to