mirror of
git://git.sv.gnu.org/autoconf
synced 2025-04-24 15:40:44 +08:00
* lib/autoconf/specific.m4: Include signal.h and unistd.h.
* doc/autoconf.texi (Obsolete Macros): Adjust. Reported by Werner LEMBERG and Debian Bug 190886.
This commit is contained in:
parent
8624a70899
commit
d8711f0660
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
3
NEWS
3
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.
|
||||
|
||||
|
@ -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 <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
|
||||
|
@ -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 <signal.h>
|
||||
/* NetBSD declares sys_siglist in unistd.h. */
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
])
|
||||
])# AC_DECL_SYS_SIGLIST
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user