Do not build with openbsd's malloc unless enable-openbsd-malloc is in DEB_BUILD_OPTIONS

svn:r16028
This commit is contained in:
Peter Palfrader 2008-07-17 19:37:52 +00:00
parent 3b356b11bf
commit 67c6728729
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
tor (0.2.1.X-alpha-X) Xxperimental; urgency=low
* Do not build with openbsd's malloc unless enable-openbsd-malloc is in
DEB_BUILD_OPTIONS.
-- Peter Palfrader <weasel@debian.org> Thu, 17 Jul 2008 21:37:14 +0200
tor (0.2.1.2-alpha-1) experimental; urgency=low
* New alpha release.

4
debian/rules vendored
View File

@ -59,8 +59,8 @@ CONF_OPTIONS =
ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --with-dmalloc
endif
# inhibit building with --enable-openbsd-malloc
ifeq (,$(findstring no-enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
# allow building with --enable-openbsd-malloc
ifneq (,$(findstring enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --enable-openbsd-malloc
endif