diff options
author | Vlad Voicu <vladv@rosedu.org> | 2012-03-05 20:08:54 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-09 15:04:09 (GMT) |
commit | 91f344444c54f11de132cf22a7ba323727104989 (patch) | |
tree | da1173a237528644c86d3f9aac6eb8212e9c8ecd /BuildTools | |
parent | 3049bf68ede3e1ce152561f6e8a054cca8dcad56 (diff) | |
download | swift-contrib-91f344444c54f11de132cf22a7ba323727104989.zip swift-contrib-91f344444c54f11de132cf22a7ba323727104989.tar.bz2 |
Added HAVE_HUNSPELL to flags when building
Diffstat (limited to 'BuildTools')
-rw-r--r-- | BuildTools/SCons/SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 1412b56..3f15695 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -418,6 +418,14 @@ else : openssl_conf.Finish() +#Hunspell +env["HAVE_HUNSPELL"] = 0; +conf = Configure(conf_env.Clone()) +if conf.CheckLib("hunspell-1.3") : + env["HAVE_HUNSPELL"] = 1 + env["HUNSPELL_FLAGS"] = {"LIBS": ["libhunspell-1.3"]} + + # Bonjour if env["PLATFORM"] == "darwin" : env["HAVE_BONJOUR"] = 1 |