diff -rupN a/configure.ac b/configure.ac
--- a/configure.ac	2012-12-31 08:06:35.097841757 -0600
+++ b/configure.ac	2012-12-31 08:07:11.610980495 -0600
@@ -759,7 +759,7 @@ EFL_ADD_LIBS([EINA], [-lm])
 ## Options
 
 # Valgrind
-if test "x${have_valgrind}" = "xno"; then
+if test "x${want_valgrind}" = "xno"; then
     AC_DEFINE([NVALGRIND], [1], [Valgrind support disabled])
 else
     PKG_CHECK_MODULES([VALGRIND], [valgrind >= 2.4.0])
