From: Christian Dywan Date: Thu, 8 Jan 2009 00:43:36 +0000 (+0100) Subject: Warn in red font if unique 1.0.4 is used X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7034f69ccc004ff8eaedd5b0550aa8bdf26ccc;p=midori Warn in red font if unique 1.0.4 is used --- diff --git a/wscript b/wscript index 8acddcc2..6f9a9147 100644 --- a/wscript +++ b/wscript @@ -105,7 +105,11 @@ def configure (conf): if option_enabled ('unique'): check_pkg ('unique-1.0', '0.9', False) - single_instance = ['not available','yes'][conf.env['HAVE_UNIQUE'] == 1] + single_instance = ['not available', 'yes'][conf.env['HAVE_UNIQUE'] == 1] + if single_instance == 'yes': + if conf.check_cfg (modversion='unique-1.0') == '1.0.4': + Utils.pprint ('RED', 'unique 1.0.4 has a fatal bug.') + Utils.pprint ('RED', 'Please use an older or newer version.') else: option_checkfatal ('unique', 'single instance') single_instance = 'no'