X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=6b571977917f5d7fb9d557915a00a97380c09bfa;hp=2ceda74bc65c3d237ab3449340533b495a086d49;hb=1682633f65061247d90129b73650593261eed892;hpb=880b21a097104bee5f50a444c5130695d143fd8a diff --git a/configure b/configure index 2ceda74b..6b571977 100755 --- a/configure +++ b/configure @@ -61,10 +61,12 @@ fi printf "Checking for valgrind development files... " if pkg-config --modversion valgrind > /dev/null 2>&1; then printf "Yes.\n" - have_valgrind=-DHAVE_VALGRIND + have_valgrind=1 + valgrind_flags=$(pkg-config --cflags valgrind) else printf "No (but that's fine).\n" - have_valgrind= + have_valgrind=0 + valgrind_flags= fi if [ $errors -gt 0 ]; then @@ -137,5 +139,5 @@ EOF # construct the Makefile.config cat > Makefile.config <