diff options
Diffstat (limited to 'rules')
-rwxr-xr-x | rules | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |