[meson] Make gobject and introspection features automatic

Meson doesn't have DISTCHECK_CONFIGURE_FLAGS like concept IIUC
and enabling them is the main thing we are doing with
distcheck flags anyway so lets turn them to auto.
This commit is contained in:
Ebrahim Byagowi 2020-06-02 16:25:22 +04:30
parent 65462c4b0b
commit e98aa0c897
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# HarfBuzz feature options # HarfBuzz feature options
option('glib', type: 'feature', value: 'auto', option('glib', type: 'feature', value: 'auto',
description: 'Enable GLib unicode functions') description: 'Enable GLib unicode functions')
option('gobject', type: 'feature', value: 'disabled', option('gobject', type: 'feature', value: 'auto',
description: 'Enable GObject bindings') description: 'Enable GObject bindings')
option('cairo', type: 'feature', value: 'auto', option('cairo', type: 'feature', value: 'auto',
description: 'Use Cairo graphics library') description: 'Use Cairo graphics library')
@ -23,7 +23,7 @@ option('coretext', type: 'feature', value: 'disabled',
# Common feature options # Common feature options
option('tests', type : 'feature', value : 'enabled', yield : true, option('tests', type : 'feature', value : 'enabled', yield : true,
description: 'Enable or disable unit tests') description: 'Enable or disable unit tests')
option('introspection', type : 'feature', value : 'disabled', yield : true, option('introspection', type : 'feature', value : 'auto', yield : true,
description : 'Generate gobject-introspection bindings (.gir/.typelib files)') description : 'Generate gobject-introspection bindings (.gir/.typelib files)')
option('gtk_doc', type : 'feature', value : 'auto', yield : true, option('gtk_doc', type : 'feature', value : 'auto', yield : true,
description : 'Generate documentation with gtk-doc') description : 'Generate documentation with gtk-doc')