option('module-geoip-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable GeoIP backend')
option('module-lmdb', type: 'boolean', value: false, description: 'Build the LMDB backend')
option('module-lmdb-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable LMDB backend')
+option('module-lua2', type: 'boolean', value: false, description: 'Build the Lua2 backend')
+option('module-lua2-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable Lua2 backend')
option('tools', type: 'boolean', value: false, description: 'Build the extra tools')
option('ixfrdist', type: 'boolean', value: false, description: 'Build ixfrdist')
option('lua-records', type: 'boolean', value: true, description: 'Build support for Lua records')
--- /dev/null
+module_sources = [
+ 'lua2api2.cc',
+ 'lua2backend.cc',
+
+ # Headers
+ 'lua2backend.hh',
+ 'lua2api2.hh',
+ # config_h,
+]
+
+if get_variable(module_name + '_module')
+ static_library(module_backend_name, module_sources, include_directories: module_includes, dependencies: [dep_libcrypto, dep_lua])
+endif
+
+if get_variable(module_name + '_dyn_module')
+
+endif