"Maciej W. Rozycki" <[EMAIL PROTECTED]> writes:

> On Mon, 3 Dec 2001, Hrvoje Niksic wrote:
> 
>> > and use AC_CHECK_DECLS(h_errno,,,[#include <netdb.h>]) somewhere in
>> > configure.in. 
>> 
>> My version of Autoconf does not have an "AC_CHECK_DECLS" macro.
> 
> Hmm, how about considering autoconf 2.52?

Yes, but not before the 1.8 release.  I'd like this week to be a
stabilizing period, with no new features or instabilities.

> It is said to be less broken than 2.13 and indeed it seems so.

Autoconf 2.13 works for Wget, so I'm not all that eager to replace it.
Let them stabilize 2.52 some more.  I have no desire to be mutilated
by the bleeding edge of Autoconf development.

> you may just "borrow" the macro from autoconf until the transition
> is done.  This way it's done the compatible way.  I may see how to
> do this, but I have no free time slots at the moment, so I may be
> unable to code anything until the next week.  Anyone feel free to do
> it sooner.

IMO there is no reason for that.  The solution from Wget 1.7.1 may not
be pretty, but it worked on all known architectures without a single
bug report about it:

#ifndef h_errno
# ifndef __CYGWIN__
extern int h_errno;
# endif
#endif

That should be good enough for 1.8.

Reply via email to