solaris configure strangness

Francois Gouget fgouget at free.fr
Wed Jul 17 16:37:03 CDT 2002


On Wed, 17 Jul 2002, Shachar Shemesh wrote:
[...]
> checking resolv.h usability... no
> checking resolv.h presence... yes
> checking for resolv.h... yes
>
> Can anyone explain what this means?

It means that:

   #include <resolv.h>
   int main() { return 0; }

does not compile, but that /usr/include/resolv/h exists.

In other words, resolv.h depends on other headers that you must include
before including resolv.h itself.`
So to have a clean configure, the above header must be moved out of the
big AC_CHECK_HEADERS and into their individual checks where we can
specifically test for these dependencies. See for instance XShm.h (only
a vague quide).

The same thing goes for the other headers.

--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
The nice thing about meditation is that it makes doing nothing quite respectable
                                  -- Paul Dean




More information about the wine-devel mailing list