diff options
author | Vlad Voicu <vladv@rosedu.org> | 2012-03-08 13:10:15 (GMT) |
---|---|---|
committer | vlad <vlad@tyrion.(none)> | 2012-10-13 13:55:45 (GMT) |
commit | afdb2b3a61695b42162d09189d083e728da0c74f (patch) | |
tree | 5b99b51d9888bd8bd0d74f677751689acb6111a7 /Swift/QtUI/SConscript | |
parent | 9a4873e153ae16ef68e7c60de376ade7882874f0 (diff) | |
download | swift-contrib-afdb2b3a61695b42162d09189d083e728da0c74f.zip swift-contrib-afdb2b3a61695b42162d09189d083e728da0c74f.tar.bz2 |
Gracefully degrade when hunspell is not present
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r-- | Swift/QtUI/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 0a9cec5..fcb0dfb 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -40,6 +40,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"]) |