SF.net SVN: geany-plugins:[2003] trunk/geany-plugins/devhelp/ wscript_configure

codebrainz at users.sourceforge.net codebrainz at xxxxx
Sun Mar 27 10:12:40 UTC 2011


Revision: 2003
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2003&view=rev
Author:   codebrainz
Date:     2011-03-27 10:12:40 +0000 (Sun, 27 Mar 2011)

Log Message:
-----------
Update Waf build script.

Modified Paths:
--------------
    trunk/geany-plugins/devhelp/wscript_configure

Modified: trunk/geany-plugins/devhelp/wscript_configure
===================================================================
--- trunk/geany-plugins/devhelp/wscript_configure	2011-03-27 10:12:14 UTC (rev 2002)
+++ trunk/geany-plugins/devhelp/wscript_configure	2011-03-27 10:12:40 UTC (rev 2003)
@@ -23,8 +23,15 @@
 
 from build.wafutils import check_cfg_cached
 
+packages = [
+    ('gthread-2.0','','GTHREAD'),
+    ('libdevhelp-1.0', '', 'LIBDEVHELP')
+    ]
 
-check_cfg_cached(conf,
-                 package='libdevhelp-1.0',
-                 uselib_store='DEVHELP',
-                 args='--cflags --libs')
+for package_name, package_version, uselib_store in packages:
+    check_cfg_cached(conf,
+                     package=package_name,
+                     atleast_version=package_version,
+                     uselib_store=uselib_store,
+                     mandatory=True,
+                     args='--cflags --libs')


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