config-store: check for gtk+-3.0 > 3.2

This commit is contained in:
Tommaso Pecorella
2020-12-27 13:29:31 +00:00
parent 52b5b84a9e
commit 21b5a3b73f

View File

@@ -21,14 +21,15 @@ def configure(conf):
conf.env['ENABLE_GTK'],
"--disable-gtk option given")
else:
have_gtk = conf.check_cfg(package='gtk+-3.0', atleast_version='3.0',
have_gtk = conf.check_cfg(package='gtk+-3.0', atleast_version='3.2',
args=['--cflags', '--libs'], uselib_store='GTK',
msg="Checking for gtk+-3 > 3.2",
mandatory=False)
conf.env['ENABLE_GTK'] = have_gtk
conf.report_optional_feature("GtkConfigStore", "GtkConfigStore",
conf.env['ENABLE_GTK'],
"library 'gtk+-3.0 >= 3.0' not found")
"library 'gtk+-3 >= 3.2' not found")
# Bug 2936 -Wparentheses issue for gcc >= 8
if conf.env['ENABLE_GTK']: