diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-07-09 11:03:26 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-07-09 11:03:26 +0000 |
commit | 1b2021522472cafc1d72663be397a9c835747510 (patch) | |
tree | 2c69d75c50f74e016bd1aa558b13830adc95fbd7 /m4 | |
parent | b8151cdd65550ba34c0d4b3e9e582df7fa8e9dbe (diff) | |
download | mpc-1b2021522472cafc1d72663be397a9c835747510.tar.gz |
remove duplicate AC_ARG_ENABLE for valgrind-tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1241 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'm4')
-rw-r--r-- | m4/valgrind-tests.m4 | 8 |
1 files 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 |