From 78de731c1e36d1ed449212546acb10c43707d5fe Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 8 Jul 2015 09:47:52 +0200 Subject: gl: use /bin/true to run valgrind during configure Bash has memory leaks, which prevents the valgrind check to operate using the SHELL variable. --- gl/m4/valgrind-tests.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gl') diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4 index 19601e002c..e2168faa53 100644 --- a/gl/m4/valgrind-tests.m4 +++ b/gl/m4/valgrind-tests.m4 @@ -24,7 +24,7 @@ AC_DEFUN([gl_VALGRIND_TESTS], OPTS="-q --error-exitcode=1 --leak-check=full --suppressions=suppressions.valgrind" if test -n "$VALGRIND" \ - && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then + && $VALGRIND $OPTS /bin/true >/dev/null 2>&1; then opt_valgrind_tests=yes VALGRIND="$VALGRIND $OPTS" else -- cgit v1.2.1