From 8c65e58dd6723c69123abed29dcc9c38aed3f95f Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Sun, 17 Jul 2011 12:07:41 +0200 Subject: [PATCH] Bug 672040 - Hunspell test suite is still generated when using --disable-tests; r=khuey --- extensions/spellcheck/hunspell/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/spellcheck/hunspell/Makefile.in b/extensions/spellcheck/hunspell/Makefile.in index 227d2c6d79a..091b24a8e1b 100644 --- a/extensions/spellcheck/hunspell/Makefile.in +++ b/extensions/spellcheck/hunspell/Makefile.in @@ -44,15 +44,15 @@ include $(DEPTH)/config/autoconf.mk MODULE = hunspell DIRS = src +ifdef ENABLE_TESTS XPCSHELL_TESTS = tests/unit - ABS_topsrcdir = $(call core_abspath,$(topsrcdir)) - libs:: $(NSINSTALL) -D $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data cd $(srcdir)/tests; $(PYTHON) $(ABS_topsrcdir)/config/nsinstall.py \ ./ \ $(call core_abspath,$(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data/) +endif include $(topsrcdir)/config/rules.mk