autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix AC_FUNC_ERROR_AT_LINE and others


From: Eric Blake-1
Subject: Re: Fix AC_FUNC_ERROR_AT_LINE and others
Date: Tue, 26 Sep 2006 14:08:20 -0700 (PDT)

> > +[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

[Prev in Thread] Current Thread [Next in Thread]