testing: fix configure.ac typo regarding valgrind

--without-valgrind will now work properly.
This commit is contained in:
Pavel Šimerda
2013-03-23 02:54:20 +01:00
parent 2675af05b9
commit a78a1847c6

View File

@@ -619,7 +619,7 @@ AS_IF([test "$with_valgrind" == "yes"],
# Add conditionals and substitutions
AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" != "no")
AM_CONDITIONAL(RUN_ROOT_TESTS, test "$enable_tests" == "root")
AS_IF([test "with_valgrind" != "no"],
AS_IF([test "$with_valgrind" != "no"],
AC_SUBST(VALGRIND_RULES, "TESTS_ENVIRONMENT = G_SLICE=always-malloc G_DEBUG=gc-friendly $with_valgrind --quiet --error-exitcode=1 --leak-check=full --gen-suppressions=all --suppressions=\$(top_srcdir)/valgrind.suppressions"),
AC_SUBST(VALGRIND_RULES, []))
AM_CONDITIONAL(ENABLE_DOC, test "$enable_doc" = "yes")