mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-29 00:05:59 +00:00
Define _GNU_SOURCE before testing for bsd_signal.
Fixes Savannah bug #32247
This commit is contained in:
parent
fbe5b2c9cd
commit
f263ff4ce9
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2012-09-09 Paul Smith <psmith@gnu.org>
|
||||
|
||||
* configure.in (bsd_signal): Define _GNU_SOURCE, a la make.h.
|
||||
Fixes Savannah bug #32247.
|
||||
|
||||
* remake.c (update_file_1): Force intermediate files to be
|
||||
considered, not pruned, if their non-intermediate parent needs to
|
||||
be remade. Fixes Savannah bug #30653.
|
||||
|
|
|
@ -150,7 +150,8 @@ AC_CHECK_FUNCS([strdup strndup mkstemp mktemp fdopen fileno \
|
|||
# We need to check declarations, not just existence, because on Tru64 this
|
||||
# function is not declared without special flags, which themselves cause
|
||||
# other problems. We'll just use our own.
|
||||
AC_CHECK_DECLS([bsd_signal], [], [], [[#include <signal.h>]])
|
||||
AC_CHECK_DECLS([bsd_signal], [], [], [[#define _GNU_SOURCE 1
|
||||
#include <signal.h>]])
|
||||
|
||||
AC_FUNC_SETVBUF_REVERSED
|
||||
|
||||
|
|
Loading…
Reference in a new issue