summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-08 13:10:15 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-09 15:04:11 (GMT)
commit02f7f0d98e937d8ec2d527ac701daf783bb37f27 (patch)
tree90555f4fd78725042cddb0abac32fca403a94be9 /Swift/QtUI/SConscript
parentdbc27f2f163c33366fc9ca31088f0c255963168b (diff)
downloadswift-contrib-02f7f0d98e937d8ec2d527ac701daf783bb37f27.zip
swift-contrib-02f7f0d98e937d8ec2d527ac701daf783bb37f27.tar.bz2
Gracefully degrade when hunspell is not present
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r--Swift/QtUI/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 2c0b28b..3b49f4b 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -39,6 +39,8 @@ if myenv["swift_mobile"] :
if myenv.get("HAVE_SNARL", False) :
myenv.UseFlags(myenv["SNARL_FLAGS"])
myenv.Append(CPPDEFINES = ["HAVE_SNARL"])
+if myenv.get("HAVE_HUNSPELL", True):
+ myenv.Append(CPPDEFINES = ["HAVE_HUNSPELL"])
if env["PLATFORM"] == "win32" :
myenv.Append(LIBS = ["cryptui"])
myenv.UseFlags(myenv["PLATFORM_FLAGS"])