[Xfce4-commits] <midori:master> Disable addons when building with Glib < 2.26.0
Christian Dywan
noreply at xfce.org
Sat Nov 10 22:10:02 CET 2012
Updating branch refs/heads/master
to 96bddbbaa4d92047e57d2c626aad822811bebc7a (commit)
from 2e88165fe4c03a232738506094b26245cd2464f6 (commit)
commit 96bddbbaa4d92047e57d2c626aad822811bebc7a
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Nov 10 17:41:22 2012 +0100
Disable addons when building with Glib < 2.26.0
Fixes: https://bugs.launchpad.net/midori/+bug/1038064
wscript | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/wscript b/wscript
index 1e94c64..cd5f181 100644
--- a/wscript
+++ b/wscript
@@ -289,6 +289,10 @@ def configure (conf):
conf.env['docs'] = option_enabled ('docs')
if 'LINGUAS' in os.environ: conf.env['LINGUAS'] = os.environ['LINGUAS']
+ if not check_version (conf.env['GIO_VERSION'], 2, 26, 0):
+ conf.env['addons'] = False
+ Utils.pprint ('YELLOW', 'Glib < 2.26.0, disabling addons')
+
conf.check (header_name='unistd.h')
if not conf.env['HAVE_UNIQUE']:
if Options.platform == 'win32':
More information about the Xfce4-commits
mailing list