From 6df0c5f7580e5ba531d15fb25a41add6254aff19 Mon Sep 17 00:00:00 2001 From: psmith Date: Mon, 10 Sep 2012 03:05:49 +0000 Subject: [PATCH] Define _GNU_SOURCE before testing for bsd_signal. Fixes Savannah bug #32247 --- ChangeLog | 3 +++ configure.in | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dca0e82..8be1a96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-09-09 Paul Smith + * 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. diff --git a/configure.in b/configure.in index 0f7c21e..1da6cb2 100644 --- a/configure.in +++ b/configure.in @@ -19,7 +19,7 @@ AC_INIT([GNU make],[3.82.90],[bug-make@gnu.org]) AC_PREREQ([2.59]) -AC_REVISION([$Id: configure.in,v 1.164 2012/03/05 14:10:42 psmith Exp $]) +AC_REVISION([$Id: configure.in,v 1.165 2012/09/10 03:05:49 psmith Exp $]) # Autoconf setup AC_CONFIG_AUX_DIR([config]) @@ -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 ]]) +AC_CHECK_DECLS([bsd_signal], [], [], [[#define _GNU_SOURCE 1 +#include ]]) AC_FUNC_SETVBUF_REVERSED -- 2.11.4.GIT