lenny doesn't have a suitable libgoogle-perftools-dev, and
release.sh edits it out of build-deps. Detect that and tell
configure that not having tcmalloc is ok.
This should make
05c281bfa9e9d69ea3d0197590950c8e6845a13a
unnecessary.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
endif
endif
+ifeq ($(shell grep -c -E '^Build-Depends:(.*,)?[[:space:]]*libgoogle-perftools-dev([[:space:]]|,|$$)' debian/control),0)
+ # if Build-Deps have been edited to skip libgoogle-perftools-dev (as
+ # we do for Debian lenny), tell configure it's ok to not have
+ # tcmalloc.
+ extraopts += --without-tcmalloc
+endif
+
+
configure: configure-stamp
configure-stamp:
dh_testdir