From e98aa0c89712d676f8db328a192cd19a009f28ce Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 2 Jun 2020 16:25:22 +0430 Subject: [PATCH] [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. --- meson_options.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 090e9b99f..a6dea290c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,7 +1,7 @@ # HarfBuzz feature options option('glib', type: 'feature', value: 'auto', description: 'Enable GLib unicode functions') -option('gobject', type: 'feature', value: 'disabled', +option('gobject', type: 'feature', value: 'auto', description: 'Enable GObject bindings') option('cairo', type: 'feature', value: 'auto', description: 'Use Cairo graphics library') @@ -23,7 +23,7 @@ option('coretext', type: 'feature', value: 'disabled', # Common feature options option('tests', type : 'feature', value : 'enabled', yield : true, 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)') option('gtk_doc', type : 'feature', value : 'auto', yield : true, description : 'Generate documentation with gtk-doc')