Re: Cygwin PostgreSQL CVS Patch Question - Mailing list pgsql-ports

From Tom Lane
Subject Re: Cygwin PostgreSQL CVS Patch Question
Date
Msg-id 7644.979083273@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cygwin PostgreSQL CVS Patch Question  (Jason Tishler <Jason.Tishler@dothill.com>)
List pgsql-ports
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

pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Re: Cygwin PostgreSQL CVS Patch Question
Next
From: Tom Lane
Date:
Subject: Re: Re: Cygwin PostgreSQL CVS Patch Question