[bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-23 Thread Paolo Bonzini
Update of bug #31646 (project grep): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #2: Thank you for the bug

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Bruno Haible
Hi Jim, - dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. - AC_REQUIRE([AC_PROG_CPP]) - AC_REQUIRE([AC_PROG_EGREP]) - AC_CACHE_CHECK([whether inttypes.h defines strtoimax as a macro], gl_cv_func_strtoimax_macro, [AC_EGREP_CPP([inttypes_h_defines_strtoimax],

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Jim Meyering
Bruno Haible wrote: Hi Jim, - dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. - AC_REQUIRE([AC_PROG_CPP]) - AC_REQUIRE([AC_PROG_EGREP]) - AC_CACHE_CHECK([whether inttypes.h defines strtoimax as a macro], gl_cv_func_strtoimax_macro,

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Bruno Haible
Jim Meyering wrote: While the dependency of AC_EGREP_CPP on AC_PROG_EGREP is unavoidable, there are others that are indeed unnecessary, since they serve only to work around a bug in autoconf-2.57, which is no longer relevant, since we (gnulib-tool) now requires 2.59 or newer. ... Now we

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Bruno Haible
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

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Jim Meyering
Bruno Haible wrote: Jim Meyering wrote: While the dependency of AC_EGREP_CPP on AC_PROG_EGREP is unavoidable, there are others that are indeed unnecessary, since they serve only to work around a bug in autoconf-2.57, which is no longer relevant, since we (gnulib-tool) now requires 2.59 or

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Paolo Bonzini
On 11/14/2010 03:09 PM, Jim Meyering wrote: It is possible to disable the body of these two expansions by assigning values to GREP and EGREP inside the configure script. But with no grep program already installed, that will always fail. You can implement a basic grep that is good enough for

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Jim Meyering
Paolo Bonzini wrote: On 11/14/2010 03:09 PM, Jim Meyering wrote: It is possible to disable the body of these two expansions by assigning values to GREP and EGREP inside the configure script. But with no grep program already installed, that will always fail. You can implement a basic grep

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Bruno Haible
Paolo Bonzini wrote: +# Override grep during configure. +fn_grep () { I would suggest more comments. - What is the purpose of this override? - What are its limitations? 10 years from now, no one will remember. Suggestion: # Set the GREP and EGREP variables to a dummy replacement for the

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Paolo Bonzini
On 11/14/2010 05:25 PM, Bruno Haible wrote: Paolo Bonzini wrote: +# Override grep during configure. +fn_grep () { I would suggest more comments. - What is the purpose of this override? - What are its limitations? 10 years from now, no one will remember. True, but there is git

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Paolo Bonzini
On 11/14/2010 06:48 PM, Florin Iucha wrote: checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Ralf Wildenhues
* Paolo Bonzini wrote on Sun, Nov 14, 2010 at 08:09:12PM CET: On 11/14/2010 06:48 PM, Florin Iucha wrote: checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking how to run the C preprocessor... cc -E checking for grep that handles long

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-14 Thread Florin Iucha
On Sun, Nov 14, 2010 at 05:31:25PM +0100, Paolo Bonzini wrote: Florin, can you try building GNU sed and see if it has a similar problem? The released (4.2) version? [flo...@icarus sed-4.2]$ ./configure --prefix=/usr/local checking for a BSD-compatible install... build-aux/install-sh -c checking

[bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-13 Thread Florin Iucha
URL: http://savannah.gnu.org/bugs/?31646 Summary: grep fails to build on Solaris 10, because it lacks grep Project: grep Submitted by: themage Submitted on: Sat 13 Nov 2010 08:45:37 PM GMT Category: None

[bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-13 Thread Florin Iucha
Follow-up Comment #1, bug #31646 (project grep): The bug is even more egregious since if you delete the section in the configure file that tests for GNU grep, it merrily configures, builds and installs. So it is a spurious dependency that can be excised without any pain.

Re: [bug #31646] grep fails to build on Solaris 10, because it lacks grep

2010-11-13 Thread Jim Meyering
Florin Iucha wrote: URL: http://savannah.gnu.org/bugs/?31646 Summary: grep fails to build on Solaris 10, because it lacks grep Project: grep Submitted by: themage Submitted on: Sat 13 Nov 2010 08:45:37 PM GMT