Define HAVE_HILDON_2_2 if Hildon 2.2 is available

This commit is contained in:
Christian Dywan 2009-10-26 18:17:27 +01:00
parent 552c99cd56
commit c17c6f6151

View file

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