[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #31646] grep fails to build on Solaris 10, because it lacks gre
From: |
Bruno Haible |
Subject: |
Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep |
Date: |
Sun, 14 Nov 2010 15:35:41 +0100 |
User-agent: |
KMail/1.9.9 |
Hi Jim,
> The proposed patch is solely clean-up on the gnulib side.
> As the subject implies, initially I thought this was the solution
> to the grep-configure problem.
As a pure clean-up patch, it is OK. But you confused me completely
by proposing it under the subject "grep fails to build on Solaris 10" and
with a ChangeLog entry that suggests that it is related to Florin Iucha's
bug report. In fact, it is unrelated.
> > and the one of AC_PROG_EGREP starts with
> >
> > if test -z "$EGREP"; then
>
> Thanks. I saw those, but you still need a grep-like program
> that does not invoke "grep".
> ...
> > exec grep "$@"
>
> But with no grep program already installed, that will always fail.
In the situation of the bug reporter, he most likely has /usr/bin/grep
but not /usr/xpg4/bin/grep. I don't think any Solaris systems can be
installed without a /usr/bin/grep. But it can be installed without the
/usr/xpg4 add-on.
The point is that AC_PROG_EGREP, when it checks for a working 'grep' command,
rejects /usr/bin/grep because it does not support the '-e' option. But when
the EGREP variable is already set, AC_PROG_EGREP does not perform any checks,
so it won't reject 'sh dummygrep'.
Bruno
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Jim Meyering, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Bruno Haible, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Jim Meyering, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep,
Bruno Haible <=
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Paolo Bonzini, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Jim Meyering, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Bruno Haible, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Paolo Bonzini, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Florin Iucha, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Paolo Bonzini, 2010/11/14
- Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Ralf Wildenhues, 2010/11/14
Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep, Bruno Haible, 2010/11/14