On Tue, 20 Apr 2010, Eric Blake wrote:

> >>> if you use autoconf 2.64 (prior to that, if the existence and
> >>> compilation checks disagree, autoconf went with the existence check).
> >>
> >> We are using autoconf 2.65.
> 
> Then I'm confused how /opt/csw/include/getopt.h is getting included at
> all in the first place.

I guess the check only tries cc.  Recall that bison is compiled with cc, 
but some test groups need CC.

> What does config.log say about getopt?

configure:6857: checking for getopt.h
configure:6857: cc -c -g -I/opt/csw/include conftest.c >&5
configure:6857: $? = 0
configure:6857: result: yes


Reply via email to