subdir('meson' / 'sanitizers') # Sanitizers
subdir('meson' / 'malloc-trace') # Malloc-trace
subdir('meson' / 'auth-socket-dir') # Socket Dir
+subdir('meson' / 'auth-various-functions') # Various Functions
# Find ragel or pdns/dnslabeltext.cc
if not ragel.found() and not fs.exists('pdns' / 'dnslabeltext.cc')
endif
# TODO Generate pdns_server.1 manpage
-# Various Functions
-funcs = [
- 'strcasestr',
- 'localtime_r',
- 'gmtime_r',
- 'recvmmsg',
- 'sched_setscheduler',
- 'getrandom',
- 'arc4random',
-]
-foreach func: funcs
- found = cxx.has_function(func)
- define = 'HAVE_' + func.to_upper()
- conf.set10(define, found, description: 'Whether we have ' + func)
- # summary(func, found, bool_yn: true, section: 'Various Functions')
-endforeach
-
# Modules
all_modules = {
'bind': [],
--- /dev/null
+# Various Functions
+
+funcs = [
+ 'strcasestr',
+ 'localtime_r',
+ 'gmtime_r',
+ 'recvmmsg',
+ 'sched_setscheduler',
+ 'getrandom',
+ 'arc4random',
+]
+foreach func: funcs
+ found = cxx.has_function(func)
+ define = 'HAVE_' + func.to_upper()
+ conf.set10(define, found, description: 'Whether we have ' + func)
+ summary(func, found, bool_yn: true, section: 'Various Functions')
+endforeach