SF.net SVN: geany-plugins:[945] trunk/geany-plugins/wscript
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Sep 20 19:21:07 UTC 2009
Revision: 945
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=945&view=rev
Author: eht16
Date: 2009-09-20 19:21:07 +0000 (Sun, 20 Sep 2009)
Log Message:
-----------
Add HAVE_ENCHANT_1_5 conditional and define
Modified Paths:
--------------
trunk/geany-plugins/wscript
Modified: trunk/geany-plugins/wscript
===================================================================
--- trunk/geany-plugins/wscript 2009-09-20 19:20:25 UTC (rev 944)
+++ trunk/geany-plugins/wscript 2009-09-20 19:21:07 UTC (rev 945)
@@ -43,6 +43,7 @@
import os
import sys
import tempfile
+from distutils import version
import Build
import Options
import Utils
@@ -279,6 +280,10 @@
if conf.env['HAVE_GTKSPELL_2_0']:
conf.define('USE_GTKSPELL', 1);
+ if conf.env['HAVE_ENCHANT']:
+ enchant_version = conf.check_cfg(modversion="enchant")
+ if version.LooseVersion(enchant_version) >= version.LooseVersion('1.5.0'):
+ conf.define('HAVE_ENCHANT_1_5', 1);
if is_win32:
conf.define('PREFIX', '', 1)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list