Cache libSoup version and remove an extra space

This commit is contained in:
Enrico Tröger 2009-02-22 23:34:17 +01:00 committed by Christian Dywan
parent 5e14715d2f
commit 40a3eeb94d

View file

@ -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 ")"