[sane-devel] configure broken for gcc 4.0

Julien BLACHE jb at jblache.org
Mon Aug 1 20:29:15 UTC 2005

Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:

> Could you check again with latest CVS? Looks like disabling

I'll give it a go tomorrow.

> compilation warnings has "fixed" that. At least I cannot reproduce it
> with warnings disabled.

> ... and which complains about them in a warning message because of one
> of the warning options ...

-pedantic or -ansi, I'd guess...

>> <command line>:1:22: warning: '$' in identifier or number 
>> configure:13326: $? = 0 
> What I don't understand is why the result is ok (0) but still
> configure doesn't like it. Is this because of the warning?

I think the script parses the output, so the warning makes it bomb out.

>> The fix would be to either undefine CPPFLAGS when libtool runs its
>> checks, or run the libtool checks before setting CPPFLAGS.
> I guess we'd better move the 

That's what I wanted to suggest first, but it might have some
side-effects on other tests.

> lines near to the end of configure.in. But I'd wait until after the
> release if the current CVS works for you.


Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169

More information about the sane-devel mailing list