summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas.enge@inria.fr>2012-07-09 11:03:26 +0000
committerAndreas Enge <andreas.enge@inria.fr>2012-07-09 11:03:26 +0000
commitb9d74b5f468e5f4e74e4ee109845df5c9041d634 (patch)
tree2c69d75c50f74e016bd1aa558b13830adc95fbd7
parent8f03f1c3f9e38387a56804fc5d73d52e8c554972 (diff)
downloadmpc-git-b9d74b5f468e5f4e74e4ee109845df5c9041d634.tar.gz
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
-rw-r--r--m4/valgrind-tests.m48
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