debian/rules: Fix tcmalloc breakage

Since all currently supported platforms have tcmalloc
available and it is now the default, remove broken check code
that turns it off if the package is not listed in build-depends.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
This commit is contained in:
Gary Lowell 2013-04-26 01:53:08 -07:00 committed by Sage Weil
parent 6d348a1ef2
commit 5c1782a57c

8
debian/rules vendored
View File

@ -37,14 +37,6 @@ ifneq ($(DEB_HOST_ARCH), amd64)
endif
endif
ifeq ($(shell perl -n -e 'BEGIN{$$/=""}' -e '/Build-Depends:.*libgoogle-perftools-dev/ && exit 1' 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.
$(warning skipping -ltcmalloc because of no libgoogle-perftools-dev)
extraopts += --without-tcmalloc
endif
configure: configure-stamp
configure-stamp:
dh_testdir