Correctly specify the HAVE_JSCORE define as 1 or 0

This commit is contained in:
Christian Dywan 2009-06-06 19:47:10 +02:00
parent c3cb3a20e2
commit db2ef8dcf4

View file

@ -177,7 +177,7 @@ def configure (conf):
args = '--define-variable=target=win32'
check_pkg ('gtk+-2.0', '2.10.0', var='GTK', args=args)
check_pkg ('webkit-1.0', '1.1.1', args=args)
conf.define ('HAVE_JSCORE', not is_mingw (conf.env))
conf.define ('HAVE_JSCORE', [0,1][not is_mingw (conf.env)])
check_pkg ('libsoup-2.4', '2.25.2')
conf.define ('HAVE_LIBSOUP_2_25_2', 1)
check_pkg ('libxml-2.0', '2.6')