Add optional systemd integration
[tinc] / meson.build
index 82aa722..7354953 100644 (file)
@@ -53,7 +53,6 @@ ld_flags = []
 
 if cc_name != 'msvc'
   cc_flags += [
-    '-Qunused-arguments',
     '-Wbad-function-cast',
     '-Wduplicated-branches',
     '-Wduplicated-cond',
@@ -166,3 +165,11 @@ run_target('lint', command: [
   python,
   '@SOURCE_ROOT@/lint.py',
 ])
+
+if meson_version.version_compare('>=0.53')
+  summary({
+    'prefix': prefix,
+    'sandbox': cdata.has('HAVE_SANDBOX'),
+    'watchdog': cdata.has('HAVE_WATCHDOG'),
+  }, bool_yn: true, section: 'System')
+endif