Jason Tishler <Jason.Tishler@dothill.com> writes:
>> Er, why should it? With the code as it stands, configure should decide
>> that Cygwin doesn't HAVE_SYS_NERR, and so nothing will reference
>> sys_nerr.
> Unfortunately, the above is not true:
> $ configure
> ...
> checking for sys_nerr... yes
That's pretty darn interesting. The configure check looks bulletproof
to me:
[AC_TRY_LINK([extern int sys_nerr;],
[int x = sys_nerr;],
Would you poke into it and figure out how this is succeeding, if there's
not any sys_nerr variable exported from the C library?
regards, tom lane