[sr #108092] AC_PROG_GREP can select /usr/xpg4/bin/grep under Solaris 9 but it doesn't support long lines

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

                Priority:              5 - Normal => 1 - Later              
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

We apologize for not getting back to you about this sooner.

AC_PROG_GREP does check for a grep that supports long lines (up to 10240 bytes
long) but if it can't find one, it takes whatever grep it *can* find that
supports -e.  So indeed it is not guaranteed to pick a grep that supports long
lines.

It's *supposed* to pick whichever of 'grep' or 'ggrep' supports longer lines,
but that logic might be buggy.

Since this is a long-standing issue and an ideal fix might be hairy, I am
deferring it to after the upcoming 2.70 release, but we will definitely think
about how we can do better - perhaps with improvements to AC_PROG_GREP itself,
as well as with better documentation.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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.