]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Cleanup lmdb module
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 22 Aug 2023 12:24:46 +0000 (14:24 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:46 +0000 (13:28 +0100)
meson/lmdb/meson.build

index 32b3f381d9dc711dcba9208161a403c187b704e0..31b2e08fcd8011e3519d762a9d8d8ea54fae1a96 100644 (file)
@@ -1,8 +1,6 @@
-# LMDB
-# Inputs: conf
-# Outputs: deps_lmdb
-
-deps_lmdb = dependency('lmdb', required: true)
-conf.set10('HAVE_LMDB', deps_lmdb.found(), description: 'Whether we have LMDB')
-conf.set10('LMDB', deps_lmdb.found(), description: 'Whether we have LMDB')
-summary('LMDB', deps_lmdb.found(), bool_yn: true, section: 'Configuration')
+dep_lmdb = dependency('lmdb', required: true)
+conf.set('HAVE_LMDB', dep_lmdb.found(), description: 'Whether we have LMDB')
+summary('LMDB', dep_lmdb.found(), bool_yn: true, section: 'LMDB')
+if dep_lmdb.found()
+  summary('Version', dep_lmdb.version(), bool_yn: true, section: 'LMDB')
+endif