diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2021-02-08 11:47:58 -0600 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2021-02-08 11:47:58 -0600 |
commit | 607feb72333bf0553d966bafa0f93866e31d8240 (patch) | |
tree | 438994660b287445f98f35bdcd343409761e6545 | |
parent | ce64823a6e3d65aaba8f25ef0906f86f04ccf576 (diff) | |
download | libsoup-607feb72333bf0553d966bafa0f93866e31d8240.tar.gz |
build: Print summary of configuration
-rw-r--r-- | meson.build | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 48030d16..724826a9 100644 --- a/meson.build +++ b/meson.build @@ -354,8 +354,9 @@ cdata.set_quoted('GETTEXT_PACKAGE', libsoup_api_name) configure_file(output : 'config.h', configuration : cdata) subdir('libsoup') +xgettext = find_program('xgettext', required : false) # xgettext is optional (on Windows for instance) -if find_program('xgettext', required : false).found() +if xgettext.found() subdir('po') endif @@ -369,3 +370,32 @@ if get_option('gtk_doc') srcdir = include_directories('libsoup') subdir('docs/reference') endif + +summary({ + 'prefix' : get_option('prefix'), + 'libdir' : get_option('libdir'), + 'datadir' : get_option('datadir'), + }, + section : 'Directories' +) + +summary({ + 'GSSAPI' : enable_gssapi, + 'NTLM' : ntlm_auth.found(), + 'Brotli' : brotlidec_dep.found(), + 'Translations' : xgettext.found(), + 'GIR' : enable_introspection, + 'VAPI' : enable_vapi, + 'Documentation' : get_option('gtk_doc'), + }, + section : 'Features' +) + +summary({ + 'All tests' : get_option('tests'), + 'Tests requiring Apache' : have_apache, + 'Fuzzing tests' : get_option('fuzzing').enabled(), + 'Install tests': get_option('installed_tests'), + }, + section : 'Testing' +) |