summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-09-10 03:05:49 +0000
committerPaul Smith <psmith@gnu.org>2012-09-10 03:05:49 +0000
commitf263ff4ce9584f9e2af2d92933d4f27c06d40a80 (patch)
tree11f0488e4175e434a76708323dfc91b9ce127532 /configure.in
parentfbe5b2c9cd612b962836b9391fa2b58c8baed6fc (diff)
downloadgunmake-f263ff4ce9584f9e2af2d92933d4f27c06d40a80.tar.gz
Define _GNU_SOURCE before testing for bsd_signal.
Fixes Savannah bug #32247
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ddc5b33..f01f58c 100644
--- a/configure.in
+++ b/configure.in
@@ -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