From ab8ff2d18e5228dd2d3e5098051cef02d9bdd0ca Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 12 Jul 2023 14:12:46 +0200 Subject: [PATCH] Meson: Auth socket-dir --- meson.build | 3 +++ meson_options.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index df979dd1cc..1aebc25fc6 100644 --- a/meson.build +++ b/meson.build @@ -114,6 +114,9 @@ foreach func: funcs # summary(func, found, bool_yn: true, section: 'Various Functions') endforeach +# Socket Dir +opt_socket_dir = get_option('socket-dir') + # Generate config.h ---------------------------------------------------------------------- config_h = configure_file(configuration: conf, output: 'config.h') # summary('Defines', conf.keys(), section: 'Build Configuration') # TODO Meson 0.57 diff --git a/meson_options.txt b/meson_options.txt index 77be25de0f..7cd453c503 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -17,3 +17,4 @@ option('sqlite3', type: 'boolean', value: false, description: 'Include the sqlit option('verbose-logging', type: 'boolean', value: false, description: 'Enable verbose logging') option('pkcs11', type: 'boolean', value: false, description: 'Enable PKCS11 support (experimental)') option('gss-tsig', type: 'boolean', value: false, description: 'Enable GSS-TSIG support (experimental)') +option('socket-dir', type: 'string', value: '/var/run', description: 'Where the control socket lives') -- 2.47.2