--- mariadb-10.3.15.old/configure.cmake +++ mariadb-10.3.15/configure.cmake @@ -930,10 +930,9 @@ IF(WITH_VALGRIND) SET(HAVE_valgrind 1) -ENDIF() - -CHECK_INCLUDE_FILES("valgrind/memcheck.h;valgrind/valgrind.h" + CHECK_INCLUDE_FILES("valgrind/memcheck.h;valgrind/valgrind.h" HAVE_VALGRIND_MEMCHECK_H) +ENDIF() #-------------------------------------------------------------------- # Check for IPv6 support