Fix HAVE_HILDON_2_2 define when building with Hildon 2.2

This commit is contained in:
Christian Dywan 2009-10-28 23:54:26 +01:00
parent 9c9165c3f9
commit 616f62a10e

View file

@ -220,7 +220,7 @@ def configure (conf):
if option_enabled ('hildon'): if option_enabled ('hildon'):
if check_pkg ('hildon-1', mandatory=False, var='HILDON'): if check_pkg ('hildon-1', mandatory=False, var='HILDON'):
check_pkg ('libosso', var='HILDON') check_pkg ('libosso', var='HILDON')
check_pkg ('hildon-1', '2.2', var='HAVE_HILDON_2_2') check_pkg ('hildon-1', '2.2', var='HILDON_2_2')
hildon = ['N/A','yes'][conf.env['HAVE_HILDON'] == 1] hildon = ['N/A','yes'][conf.env['HAVE_HILDON'] == 1]
if hildon != 'yes': if hildon != 'yes':
option_checkfatal ('hildon', 'Maemo integration') option_checkfatal ('hildon', 'Maemo integration')