endforeach
endif
+# Unsafe KISS RNG ------------------------------------------------------------------------
+opt_kiss_rng = get_option('kiss-rng')
+if opt_kiss_rng
+ conf.set('HAVE_KISS_RNG', 1, 'Use the unsafe KISS RNG')
+endif
+summary('Unsafe KISS RNG', opt_kiss_rng, section: 'Configuration')
+
# Generate config.h ----------------------------------------------------------------------
config_h = configure_file(configuration: conf, output: 'config.h')
# summary('Defines', conf.keys(), section: 'Build Configuration') # Meson 0.57
option('lua', type: 'combo', choices: ['auto', 'luajit', 'lua'], value: 'auto', description: 'Which Lua implementation to use')
option('hardening', type: 'feature', value: 'auto', description: 'Compiler security checks')
option('fortify-source', type: 'combo', choices: ['auto', 'disabled', '1', '2', '3'], value: '2', description: 'Source fortification level')
+option('kiss-rng', type: 'boolean', value: false, description: 'Use the unsafe KISS RNG')