* doc/autoconf.texi (Obsolete Macros): Adjust.
Reported by Werner LEMBERG and Debian Bug 190886.
+2003-05-17 Akim Demaille <akim@epita.fr>
+
+ * 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 <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
** New macros
AC_C_RESTRICT
+** AC_DECL_SYS_SIGLIST
+ Works again.
+
** Improve DJGPP portability
The Autoconf tools and configure behave better under DJGPP.
@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 <signal.h>
+/* NetBSD declares sys_siglist in unistd.h. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+])
+@end example
@end defmac
@defmac AC_DECL_YYTEXT
# -------------------
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 <signal.h>
+/* NetBSD declares sys_siglist in unistd.h. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+])
])# AC_DECL_SYS_SIGLIST