Re: AC 2.59 incompatibility in getaddrinfo.h

2005-09-08 Thread Simon Josefsson
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

Re: AC 2.59 incompatibility in getaddrinfo.h

2005-09-08 Thread Derek Price
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

Re: AC 2.59 incompatibility in getaddrinfo.h

2005-09-08 Thread Paul Eggert
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

AC 2.59 incompatibility in getaddrinfo.h (was Re: canon-host errors)

2005-09-08 Thread Derek Price
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