]> spindle.queued.net Git - midori/commitdiff
Define HAVE_HILDON_2_2 if Hildon 2.2 is available
authorChristian Dywan <christian@twotoasts.de>
Mon, 26 Oct 2009 17:17:27 +0000 (18:17 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 26 Oct 2009 17:17:27 +0000 (18:17 +0100)
wscript

diff --git a/wscript b/wscript
index 618deb68981c948f137003e0e1342d226155a87c..3a5637e0c03db0306ac5ebd2d68336e502ff13e6 100644 (file)
--- a/wscript
+++ b/wscript
@@ -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')