> > +[AC_LINK_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
> > +                             #ifdef HAVE_ERROR_H
> > +                             # include <error.h>
> > +                             #endif],
> 
> Thanks, but it's simpler just to include <error.h> without testing for it.
> That should work on all modern hosts.

I think you meant <errno.h>, not <error.h>.  The latter is glibc
specific, and needs explicit testing (for example, cygwin does
not provide an error.h).

-- 
Eric Blake


-- 
View this message in context: 
http://www.nabble.com/Fix-AC_FUNC_ERROR_AT_LINE-and-others-%28was%3A-megatest-fallout%29-tf2340253.html#a6515908
Sent from the Gnu - Autoconf - Patches mailing list archive at Nabble.com.



Reply via email to