]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Auth socket-dir
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 12 Jul 2023 12:12:46 +0000 (14:12 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:29 +0000 (13:28 +0100)
meson.build
meson_options.txt

index df979dd1cc314a0d8511b58c9534e6b98f5ffe7f..1aebc25fc6273214fcf3a620f64cf52513384443 100644 (file)
@@ -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
index 77be25de0ff04d2d0376eb169659a9437d25c8de..7cd453c50338df1873982203c912c85c86a3eb86 100644 (file)
@@ -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')