[build] Port to newer automake recommended syntax

This commit is contained in:
Behdad Esfahbod 2013-03-06 20:21:11 -05:00
parent c39def9bc7
commit ea11abfc5d
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ VALGRIND_FLAGS = \
$(EXTRA_VALGRIND_FLAGS)
# Can't do for now: --show-reachable=yes
CLEANFILES += log-valgrind.txt
valgrind_verbose = $(valgrind_verbose_$(V))
valgrind_verbose_ = $(valgrind_verbose_$(AM_DEFAULT_VERBOSITY))
valgrind_verbose = $(valgrind_verbose_@AM_V@)
valgrind_verbose_ = $(valgrind_verbose_@AM_DEFAULT_V@)
valgrind_verbose_0 = | \
grep '\(^[^=]\|ERROR SUMMARY\|definitely lost\|indirectly lost\)' | grep -v ': 0'
# TODO: The following check does not fail if valgrind finds error. It should.