From: Christian Dywan Date: Mon, 16 Apr 2012 17:17:23 +0000 (+0200) Subject: Fix libsoup version check #defines X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7c172f7ffc9316be5954c920654e1deb9f470b7;p=midori Fix libsoup version check #defines Fixes: https://bugs.launchpad.net/midori/+bug/983137 --- diff --git a/wscript b/wscript index db743242..c7a0c873 100644 --- a/wscript +++ b/wscript @@ -260,11 +260,11 @@ def configure (conf): check_pkg ('libsoup-2.4', '2.27.90') conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4')) if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 3): - conf.define ('LIBSOUP_2_29_3', 1) + conf.define ('HAVE_LIBSOUP_2_29_3', 1) if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 91): - conf.define ('LIBSOUP_2_29_91', 1) + conf.define ('HAVE_LIBSOUP_2_29_91', 1) if check_version (conf.env['LIBSOUP_VERSION'], 2, 37, 1): - conf.define ('LIBSOUP_2_37_1', 1) + conf.define ('HAVE_LIBSOUP_2_37_1', 1) check_pkg ('libxml-2.0', '2.6') check_pkg ('sqlite3', '3.0', True, var='SQLITE')