[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110657] Autoconf configure script considers absence of usable grep
From: |
Paul Eggert |
Subject: |
[sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter |
Date: |
Sun, 5 Jun 2022 17:32:51 -0400 (EDT) |
Follow-up Comment #6, sr #110657 (project autoconf):
[comment #5 comment #5:]
> the only reason why AC_PROG_EGREP is brought in (in my case) is due to the
macro AC_EGREP_CPP, which does not ever use the -e option
AC_EGREP_CPP should use -e though, since it should work even if the pattern
begins with '-'.
How about the attached patch instead? It fixes that bug with '-', it defines a
new macro _AC_PROG_EGREP_TRADITIONAL which I hopes works as well on the AT&T
UnixPC as it does on today's platforms, and it avoids messing with
AC_PROG_EGREP due to the usual worries about breaking old stuff. This macro
name begins with underscore so it's private (I don't want users relying on
it).
> So this should also work on platforms were egrep doesn't support -e either.
We don't know of any such platforms so it should be OK to not worry about
that.
(file #53276)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Fix-bug-AC_EGREP_CPP-with-leading-in-pattern.patch Size:3 KB
<https://file.savannah.gnu.org/file/0001-Fix-bug-AC_EGREP_CPP-with-leading-in-pattern.patch?file_id=53276>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110657>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Alain Knaff, 2022/06/04
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter,
Paul Eggert <=
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Paul Eggert, 2022/06/05
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Alain Knaff, 2022/06/06
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Paul Eggert, 2022/06/08
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Alain Knaff, 2022/06/08
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Alain Knaff, 2022/06/08
- [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter, Paul Eggert, 2022/06/08