> confdefs.h is a list of definitions found in earlier tests.  So run the cpp
>  statement.  Either it will simply failing, so no output to stdout is
> produced,
> or utype just isn't there, in which case thats the problem and stderr will
> tell you a lot about whats going on.
>
> If the preprocessor didn't fail and utype just isn't in the output,  then
> the compilation test kicks in.

Yep, the preprocessor just spits the same thing back out again, sothe next test
is performed.

> It tries the compile statement on:
>
> #include "confdefs.h"
>
> int main() {
> ulong foo;
> ; return 0; }
>
> and thats failing; again stderr will tell you why.

The compilation options are simply "cc -c"

The second test fails because ulong is not yet defined in
confdefs.h, so the compilation has trouble with type
ulong.

I don't see the point of this test except to determine if the ulong
definition is in confdefs.h or not. Somewhere, configure should be
testing to see if ulong is defined eslewhere. It occurs in sys/bsd_types which
is included in sys/types.h. sys/types.h is in unistd.h and many other includes.

Richard

Reply via email to