From b9d74b5f468e5f4e74e4ee109845df5c9041d634 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 9 Jul 2012 11:03:26 +0000 Subject: remove duplicate AC_ARG_ENABLE for valgrind-tests git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/trunk@1241 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- m4/valgrind-tests.m4 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/m4/valgrind-tests.m4 b/m4/valgrind-tests.m4 index c334a9a..e38236e 100644 --- a/m4/valgrind-tests.m4 +++ b/m4/valgrind-tests.m4 @@ -5,19 +5,15 @@ dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson +dnl with adaptations to MPC # gl_VALGRIND_TESTS() # ------------------- # Check if valgrind is available, and set VALGRIND to it if available. AC_DEFUN([gl_VALGRIND_TESTS], [ - AC_ARG_ENABLE(valgrind-tests, - AS_HELP_STRING([--enable-valgrind-tests], - [run self tests under valgrind]), - [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes]) - # Run self-tests under valgrind? - if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then + if test "$cross_compiling" = no; then AC_CHECK_PROGS(VALGRIND, valgrind) fi -- cgit v1.2.1