From: Akim Demaille Date: Sat, 17 May 2003 09:44:22 +0000 (+0000) Subject: * lib/autoconf/specific.m4: Include signal.h and unistd.h. X-Git-Tag: AUTOCONF-2.57a~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8711f0660e2013fc7e2ab4d02bcb4c96fcd01b9;p=thirdparty%2Fautoconf.git * lib/autoconf/specific.m4: Include signal.h and unistd.h. * doc/autoconf.texi (Obsolete Macros): Adjust. Reported by Werner LEMBERG and Debian Bug 190886. --- diff --git a/ChangeLog b/ChangeLog index b2a8f8c37..7b06ccfee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-05-17 Akim Demaille + + * lib/autoconf/specific.m4: Include signal.h and unistd.h. + * doc/autoconf.texi (Obsolete Macros): Adjust. + Reported by Werner LEMBERG and Debian Bug 190886. + 2003-05-16 Akim Demaille * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid diff --git a/NEWS b/NEWS index 68db87816..46986350b 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,9 @@ ** New macros AC_C_RESTRICT +** AC_DECL_SYS_SIGLIST + Works again. + ** Improve DJGPP portability The Autoconf tools and configure behave better under DJGPP. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 925ae92d3..15c0e730c 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -12723,7 +12723,17 @@ not to use this macro. @defmac AC_DECL_SYS_SIGLIST @acindex{DECL_SYS_SIGLIST} @cvindex SYS_SIGLIST_DECLARED -Same as @samp{AC_CHECK_DECLS([sys_siglist])}. +Same as: + +@example +AC_CHECK_DECLS([sys_siglist],,, +[#include +/* NetBSD declares sys_siglist in unistd.h. */ +#if HAVE_UNISTD_H +# include +#endif +]) +@end example @end defmac @defmac AC_DECL_YYTEXT diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index ede539e69..954ca502c 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -60,7 +60,13 @@ # ------------------- AN_IDENTIFIER([sys_siglist], [AC_CHECK_DECLS([sys_siglist])]) AU_DEFUN([AC_DECL_SYS_SIGLIST], -[AC_CHECK_DECLS([sys_siglist]) +[AC_CHECK_DECLS([sys_siglist],,, +[#include +/* NetBSD declares sys_siglist in unistd.h. */ +#if HAVE_UNISTD_H +# include +#endif +]) ])# AC_DECL_SYS_SIGLIST