[sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Update of sr #110657 (project autoconf):

                Priority:              5 - Normal => 3 - Low                
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

> For example, grep does not support -e , but egrep does.
AC_PROG_GREP looks for a grep that does support -e, so a configure script that
uses that should have a $GREP that works, assuming you have one somewhere in
your $PATH. (If not, you'll need to get one.)

> This lack of support of -e makes the configure script fail, although there
is a usable egrep.
Autoconf's 'configure' script doesn't use 'grep -e' anywhere that I can see.
Are you debugging some other 'configure' script that uses 'grep -e'? If so,it
should use AC_PROG_GREP and "$GREP -e" and you should have a grep in your
$PATH that works.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110657>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.