From 5e14715d2faaf5dfcb9fcdfc970d591fe98f3aa4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 22 Feb 2009 23:17:36 +0100 Subject: [PATCH] Print actual libSoup version if found, otherwise required versions --- wscript | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 55b8f85a..55ae29f7 100644 --- a/wscript +++ b/wscript @@ -226,8 +226,18 @@ 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.') - print "Icons, Source, Save: " + libsoup + " (libSoup 2.23.1)" - print "Persistent cookies: " + libsoup_25_2 + " (libSoup 2.25.2)" + Utils.pprint ('WHITE', 'Icons, Source, Save: ' + libsoup + ' (libSoup ', sep='') + if (libsoup == 'yes'): + Utils.pprint ('GREEN', conf.check_cfg (modversion='libsoup-2.4'), sep='') + else: + Utils.pprint ('RED', '2.23.1', sep='') + print ")" + 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='') + else: + Utils.pprint ('RED', '2.25.2', sep='') + print ")" # if 'soup-2.4' in conf.env['LIB_WEBKIT']: webkit_binary = conf.env.get_flat ('LIBPATH_WEBKIT') + '/libwebkit-1.0.so' try: -- 2.39.5