summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/valgrind-tests.m42
-rw-r--r--gl/override/m4/valgrind-tests.m4.diff9
2 files changed, 10 insertions, 1 deletions
diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index d694f26cd3..b43310b87a 100644
--- a/gl/m4/valgrind-tests.m4
+++ b/gl/m4/valgrind-tests.m4
@@ -14,7 +14,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
AC_ARG_ENABLE(valgrind-tests,
AS_HELP_STRING([--disable-valgrind-tests],
[don't try to run self tests under valgrind]),
- [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes])
+ [opt_valgrind_tests=$enableval], [opt_valgrind_tests=no])
# Run self-tests under valgrind?
if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then
diff --git a/gl/override/m4/valgrind-tests.m4.diff b/gl/override/m4/valgrind-tests.m4.diff
index eb1087d5cd..bfc912dc1e 100644
--- a/gl/override/m4/valgrind-tests.m4.diff
+++ b/gl/override/m4/valgrind-tests.m4.diff
@@ -1,5 +1,14 @@
--- valgrind-tests.m4.orig
+++ valgrind-tests.m4
+@@ -14,7 +14,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
+ AC_ARG_ENABLE(valgrind-tests,
+ AS_HELP_STRING([--disable-valgrind-tests],
+ [don't try to run self tests under valgrind]),
+- [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes])
++ [opt_valgrind_tests=$enableval], [opt_valgrind_tests=no])
+
+ # Run self-tests under valgrind?
+ if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then
@@ -26,7 +26,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
if test -n "$VALGRIND" \
&& $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then