Derek Price <[EMAIL PROTECTED]> writes:
> Is there any reason I can't just assume gl_GETADDRINFO ran and config.h
> was included before getaddrinfo.h? The following test is always coming
> up false on platforms without getaddrinfo (as of AC 2.59, at least,
> AC_CHECK_FUNCS via AC_REPLACE_FUNCS le
Paul Eggert wrote:
>>shortening the above test to: "# if !HAVE_GETADDRINFO", and I'd
>>rather just simplify the header
>>
>>
>
>Yes, that sounds right.
>
>
Okay, thanks, Paul. I've committed this to CVS CVS for more testing
before I finish importing it into GNULIB.
Cheers,
Derek
--
Der
Derek Price <[EMAIL PROTECTED]> writes:
> shortening the above test to: "# if !HAVE_GETADDRINFO", and I'd
> rather just simplify the header
Yes, that sounds right.
I think the "defined HAVE_GETADDRINFO" cruft dates way back to when we
weren't so sure that the Autoconf macro was part of a distrib
Is there any reason I can't just assume gl_GETADDRINFO ran and config.h
was included before getaddrinfo.h? The following test is always coming
up false on platforms without getaddrinfo (as of AC 2.59, at least,
AC_CHECK_FUNCS via AC_REPLACE_FUNCS leaves HAVE_GETADDRINFO undefined
when it is not fo