[Xfce4-commits] <midori:master> Only check libsoup once in configuration
Christian Dywan
noreply at xfce.org
Sun Mar 18 14:16:03 CET 2012
Updating branch refs/heads/master
to 7e64370a8eff813fa69d9920734829e8559d22bf (commit)
from e75b8144322b4b7c9a731ba8ff467962229c1701 (commit)
commit 7e64370a8eff813fa69d9920734829e8559d22bf
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Mar 18 14:12:17 2012 +0100
Only check libsoup once in configuration
wscript | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/wscript b/wscript
index 03ffe35..737f9bf 100644
--- a/wscript
+++ b/wscript
@@ -207,7 +207,7 @@ def configure (conf):
conf.define ('HAVE_LIBNOTIFY', [0,1][libnotify == 'yes'])
if option_enabled ('granite'):
- if option_enabled('gtk3'):
+ if not option_enabled ('gtk3'):
option_checkfatal ('granite', 'granite requires --enable-gtk3')
check_pkg ('granite', '0.1', False)
granite = ['N/A', 'yes'][conf.env['HAVE_GRANITE'] == 1]
@@ -256,12 +256,13 @@ def configure (conf):
check_pkg ('javascriptcoregtk-1.0', '1.5.1', args=args)
conf.env['HAVE_GTK3'] = option_enabled ('gtk3')
check_pkg ('libsoup-2.4', '2.27.90')
- conf.define ('HAVE_LIBSOUP_2_25_2', 1)
- conf.define ('HAVE_LIBSOUP_2_27_90', 1)
- check_pkg ('libsoup-2.4', '2.29.3', False, var='LIBSOUP_2_29_3')
- check_pkg ('libsoup-2.4', '2.29.91', False, var='LIBSOUP_2_29_91')
- check_pkg ('libsoup-2.4', '2.37.1', False, var='LIBSOUP_2_37_1')
conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4'))
+ if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 3):
+ conf.define ('LIBSOUP_2_29_3', 1)
+ if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 91):
+ conf.define ('LIBSOUP_2_29_91', 1)
+ if check_version (conf.env['LIBSOUP_VERSION'], 2, 37, 1):
+ conf.define ('LIBSOUP_2_37_1', 1)
check_pkg ('libxml-2.0', '2.6')
check_pkg ('sqlite3', '3.0', True, var='SQLITE')
More information about the Xfce4-commits
mailing list