config-store: check for gtk+-3.0 > 3.2
This commit is contained in:
@@ -21,14 +21,15 @@ def configure(conf):
|
|||||||
conf.env['ENABLE_GTK'],
|
conf.env['ENABLE_GTK'],
|
||||||
"--disable-gtk option given")
|
"--disable-gtk option given")
|
||||||
else:
|
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',
|
args=['--cflags', '--libs'], uselib_store='GTK',
|
||||||
|
msg="Checking for gtk+-3 > 3.2",
|
||||||
mandatory=False)
|
mandatory=False)
|
||||||
|
|
||||||
conf.env['ENABLE_GTK'] = have_gtk
|
conf.env['ENABLE_GTK'] = have_gtk
|
||||||
conf.report_optional_feature("GtkConfigStore", "GtkConfigStore",
|
conf.report_optional_feature("GtkConfigStore", "GtkConfigStore",
|
||||||
conf.env['ENABLE_GTK'],
|
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
|
# Bug 2936 -Wparentheses issue for gcc >= 8
|
||||||
if conf.env['ENABLE_GTK']:
|
if conf.env['ENABLE_GTK']:
|
||||||
|
|||||||
Reference in New Issue
Block a user