summaryrefslogtreecommitdiff
path: root/gl/m4/gnulib-common.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-05-20 09:44:38 +0200
committerSimon Josefsson <simon@josefsson.org>2010-05-20 09:44:38 +0200
commit7f36c1c5b302f2257b8d323513a469402e84212c (patch)
tree9ea2619d0def7930eebda48f106dfddc910b2982 /gl/m4/gnulib-common.m4
parent98f9d13a28d278409661d73639afe3cc205ba3d1 (diff)
downloadlibtasn1-7f36c1c5b302f2257b8d323513a469402e84212c.tar.gz
libtasn1-7f36c1c5b302f2257b8d323513a469402e84212c.tar.bz2
libtasn1-7f36c1c5b302f2257b8d323513a469402e84212c.zip
Update gnulib files, use valgrind-tests module.
Diffstat (limited to 'gl/m4/gnulib-common.m4')
-rw-r--r--gl/m4/gnulib-common.m48
1 files changed, 7 insertions, 1 deletions
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