Fix libsoup version check #defines
Fixes: https://bugs.launchpad.net/midori/+bug/983137
This commit is contained in:
parent
fc7e30f516
commit
c7c172f7ff
1 changed files with 3 additions and 3 deletions
6
wscript
6
wscript
|
@ -260,11 +260,11 @@ def configure (conf):
|
||||||
check_pkg ('libsoup-2.4', '2.27.90')
|
check_pkg ('libsoup-2.4', '2.27.90')
|
||||||
conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4'))
|
conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4'))
|
||||||
if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 3):
|
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):
|
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):
|
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 ('libxml-2.0', '2.6')
|
||||||
check_pkg ('sqlite3', '3.0', True, var='SQLITE')
|
check_pkg ('sqlite3', '3.0', True, var='SQLITE')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue