------- Comment #10 from pluto at agmk dot net  2006-08-07 08:51 -------
(In reply to comment #9)
> > i see in my log only checking for awk.
> > gcc/configure.in contains only AC_PROG_AWK.
> 
> Err... there is no gcc/configure.in in 4.1.2, only gcc/configure.ac.

sorry, typo.

> And the configure fragment generated from AC_PROG_AWK will check nawk:
> 
>  - Macro: AC_PROG_AWK
>      Check for `gawk', `mawk', `nawk', and `awk', in that order, and
>      set output variable `AWK' to the first one that is found.  It
>      tries `gawk' first because that is reported to be the best
>      implementation.


> Where did you get your sources from?

svn:gcc-4_1-branch.

> Did you regenerate the configure script?

yes, and here is the problem.

$ diff -u configure{.orig,}

+configure
+generated by GNU Autoconf 2.59

 # Find some useful tools
-for ac_prog in gawk mawk nawk awk
+for ac_prog in awk mawk gawk nawk

it works silently on linux where awk is a symlink
to gawk but fails on solaris :/


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28511

Reply via email to