valgrind support requires valgrind 2.4.0 or greater, since 2.2's pkgconfig file seems to be borked

SVN revision: 16689
This commit is contained in:
tsauerbeck 2005-09-11 16:52:08 +00:00 committed by tsauerbeck
parent 37d8934a0e
commit 9a9c3507b4
1 changed files with 1 additions and 1 deletions

View File

@ -1460,7 +1460,7 @@ AC_ARG_ENABLE(convert-32-rgb-rot-90,
# put something in as the 4th parameter, so configure doesn't abort
# when valgrind.pc isn't found.
have_valgrind="no"
PKG_CHECK_MODULES(VALGRIND, valgrind, have_valgrind=yes, have_valgrind=no)
PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes, have_valgrind=no)
AC_ARG_ENABLE(valgrind,
[ --enable-valgrind enable valgrind fixes to stop false reports], [
if [ test "$enableval" = "yes" ]; then