mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
debian: Handle missing tcmalloc on Debian lenny.
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 05c281bfa9
unnecessary.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
This commit is contained in:
parent
0d98a62ce2
commit
f6179fc375
8
debian/rules
vendored
8
debian/rules
vendored
@ -33,6 +33,14 @@ ifneq ($(DEB_HOST_ARCH), amd64)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user