On Monday 06 August 2007 15:10:30 Andy Lester wrote:

> On Mon, Aug 06, 2007 at 02:40:06PM -0700, chromatic ([EMAIL PROTECTED]) 
wrote:

> > I find these two lines confusing:
> >
> >     my %eval = eval cc_run();
> >     return if !%eval;

> Have you looked at the string it returns?  It looks like this:
>
> (
>    GCC_VERSION => 3,
>    GCC_MINOR => 4
>    );
>
> Or something similar.  It perplexed me as well.

I thought so too, but the probe uses config/auto/attributes/test_c.in:

/* as long as the file compiles, everything is okay */
int
main(int argc, char *argv[])
{
    return EXIT_SUCCESS;
}

That's not exactly the same as a stringified hash.  I think we can just remove 
the cc_run() bits and be fine (at least, it worked for me).

-- c

Reply via email to