From 40a3eeb94d1a46978f25b862cc97e3cc981e824c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 22 Feb 2009 23:34:17 +0100 Subject: [PATCH] Cache libSoup version and remove an extra space --- wscript | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index 55ae29f7..133b57e1 100644 --- a/wscript +++ b/wscript @@ -226,15 +226,16 @@ def configure (conf): if unique == 'yes' and conf.check_cfg (modversion='unique-1.0') == '1.0.4': Utils.pprint ('RED', 'unique 1.0.4 found, this version is erroneous.') Utils.pprint ('RED', 'Please use an older or newer version.') - Utils.pprint ('WHITE', 'Icons, Source, Save: ' + libsoup + ' (libSoup ', sep='') + libsoup_version = conf.check_cfg (modversion='libsoup-2.4') + Utils.pprint ('WHITE', 'Icons, Source, Save: ' + libsoup + ' (libSoup', sep='') if (libsoup == 'yes'): - Utils.pprint ('GREEN', conf.check_cfg (modversion='libsoup-2.4'), sep='') + Utils.pprint ('GREEN', libsoup_version, sep='') else: Utils.pprint ('RED', '2.23.1', sep='') print ")" - Utils.pprint ('WHITE', 'Persistent cookies: ' + libsoup_25_2 + ' (libSoup ', sep='') + Utils.pprint ('WHITE', 'Persistent cookies: ' + libsoup_25_2 + ' (libSoup', sep='') if (libsoup_25_2 == 'yes'): - Utils.pprint ('GREEN', conf.check_cfg (modversion='libsoup-2.4'), sep='') + Utils.pprint ('GREEN', libsoup_version, sep='') else: Utils.pprint ('RED', '2.25.2', sep='') print ")" -- 2.39.5