]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: LDAP
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 12 Jul 2023 20:56:17 +0000 (22:56 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:29 +0000 (13:28 +0100)
meson.build
meson/ldap/meson.build [new file with mode: 0644]
meson_options.txt

index e20b7e77c3b5bedc5e6dc5b60d47b3688eaab921..c29c48016408d5c0f2aef8ca50ba152e4fea7a4c 100644 (file)
@@ -119,6 +119,7 @@ all_modules = [
   ['godbc', 'odbc'],
   ['gpgsql', 'pgsql'],
   ['gsqlite3', 'sqlite3'],
+  ['ldap', 'ldap'],
 ]
 selected_modules = []
 foreach module: all_modules
diff --git a/meson/ldap/meson.build b/meson/ldap/meson.build
new file mode 100644 (file)
index 0000000..b309bd4
--- /dev/null
@@ -0,0 +1,9 @@
+# LDAP
+# Outputs: deps_ldap
+
+deps_ldap  = [dependency('ldap', required: true)]
+deps_ldap += dependency('lber', required: true)
+deps_ldap += dependency('krb5', required: true)
+
+conf.set10('LDAP', true, description: 'Enable LDAP')
+summary('LDAP', 'With libldap ' + deps_ldap[0].version() + ', liblber ' + deps_ldap[1].version() + ' and krb5 ' + deps_ldap[2].version(), bool_yn: true, section: 'Configuration')
index 0fc09e26c9e4aa1ce1d272f70fa0098334065ddc..c380705989a1e15b73c775be99fe041f423885fa 100644 (file)
@@ -25,3 +25,5 @@ option('module-gpgsql', type: 'boolean', value: false, description: 'Build the g
 option('module-gpgsql-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable gpgsql backend')
 option('module-gsqlite3', type: 'boolean', value: false, description: 'Build the gsqlite3 backend')
 option('module-gsqlite3-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable gsqlite3 backend')
+option('module-ldap', type: 'boolean', value: false, description: 'Build the LDAP backend')
+option('module-ldap-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable LDAP backend')