From 7f36c1c5b302f2257b8d323513a469402e84212c Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 20 May 2010 09:44:38 +0200 Subject: Update gnulib files, use valgrind-tests module. --- gl/m4/gnulib-common.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gl/m4/gnulib-common.m4') diff --git a/gl/m4/gnulib-common.m4 b/gl/m4/gnulib-common.m4 index 54b2517..4c7ac30 100644 --- a/gl/m4/gnulib-common.m4 +++ b/gl/m4/gnulib-common.m4 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 19 +# gnulib-common.m4 serial 20 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -35,6 +35,12 @@ AC_DEFUN([gl_COMMON_BODY], [ is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED ]) + dnl Preparation for running test programs: + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not + dnl to /dev/tty, so they can be redirected to log files. Such diagnostics + dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_CONDITION -- cgit v1.2.3