summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorEike Rathke <erack@apache.org>2011-08-28 20:27:22 +0000
committerEike Rathke <erack@apache.org>2011-08-28 20:27:22 +0000
commite12776ea4b75ddb87ee25781d5ee342ae1dc1d03 (patch)
tree19a21dece6f99310061cdc45fe15702129419bd4 /lingucomponent
parentec72c906e6548b0bec386ab25d541799ffeb3353 (diff)
DISABLE_HUNSPELL for MacOSX specific parts
Thanks to Pavel Janik.
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/makefile.mk b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
index 4e88b808ddc0..212cb6d6498d 100644
--- a/lingucomponent/source/spellcheck/macosxspell/makefile.mk
+++ b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
@@ -48,6 +48,8 @@ CFLAGSCC += $(HUNSPELL_CFLAGS)
# --- Files --------------------------------------------------------
+.IF "$(DISABLE_HUNSPELL)" == ""
+
CFLAGSCXX+=$(OBJCXXFLAGS)
CFLAGSCXX+=-I..$/..$/lingutil
@@ -88,6 +90,11 @@ SHL1VERSIONMAP=$(SOLARENV)/src/component.map
.INCLUDE : target.mk
.ELSE
+all:
+ @echo "hunspell disabled"
+.ENDIF
+
+.ELSE
dummy:
@echo " Nothing to build for GUIBASE=$(GUIBASE)"
.ENDIF