* 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
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
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--localstatedir=/var \
- --sysconfdir=/etc
+ --sysconfdir=/etc \
+ $(CONF_OPTIONS)
build: build-stamp