[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):

                  Status:               Need Info => Wont Do                

    _______________________________________________________

Follow-up Comment #3:

OK, I think I see what's happening now; you have an egrep that's good enough,
but you also want to test for header files and Autoconf's header-file tests
insist on robust 'grep' because they prefer to use 'grep -E', as egrep was
removed from POSIX a long time ago.

For this sort of thing, I suggest either (a) installing and using a better
'grep' like GNU grep, or (b) running something like './configure
ac_cv_path_GREP=/usr/bin/grep ac_cv_path_egrep=/usr/bin/egrep' in the hopes
that your system grep and egrep are good enough for 'configure'. (a) should be
much better in the long run.

I doubt whether we should modify Autoconf to work around this problem, as it
should occur only on nonstandard platforms that are no longer supported even
by their own suppliers.


    _______________________________________________________

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.