diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-03-22 22:38:21 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-03-22 22:38:21 +0000 |
commit | cd2ecbf6cc6a8754d6a020d2e84e7e9f66b43566 (patch) | |
tree | ddda5480907348b00b98dd5054498c02a864c00b | |
parent | d3f37b8fb9cdb15451197cc574264826543d69bd (diff) | |
download | tor-cd2ecbf6cc6a8754d6a020d2e84e7e9f66b43566.tar.gz tor-cd2ecbf6cc6a8754d6a020d2e84e7e9f66b43566.zip |
If "with-dmalloc" is in DEB_BUILD_OPTIONS we build against libdmalloc4.
svn:r3821
-rw-r--r-- | changelog | 2 | ||||
-rwxr-xr-x | rules | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -9,6 +9,8 @@ tor (0.1.0.0-alpha-cvs-1) UNRELEASED; urgency=low * Add a snippet to set nice level in etc/default/tor. * Wait for 60 seconds in init stop. 35 is too little. * Don't depend on python anymore - tor-resolve is C now. + * If "with-dmalloc" is in DEB_BUILD_OPTIONS we build against libdmalloc4. + Of course the -dev package needs to be installed. -- Peter Palfrader <weasel@debian.org> Tue, 22 Mar 2005 22:32:08 +0100 @@ -41,6 +41,12 @@ ifneq (,$(findstring notest,$(DEB_BUILD_OPTIONS))) RUN_TEST = no endif +CONF_OPTIONS = +# build against libdmalloc4 - it better be installed +ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS))) + CONF_OPTIONS += --with-dmalloc +endif + configure: patch-stamp config.status: configure dh_testdir @@ -51,7 +57,8 @@ config.status: configure --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --localstatedir=/var \ - --sysconfdir=/etc + --sysconfdir=/etc \ + $(CONF_OPTIONS) build: build-stamp |