summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2024-04-09 16:37:14 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2024-04-09 16:37:14 +0200
commit34c8ddadfcf752db66196f8ad1bc3d2e66cfb7f0 (patch)
treee762cbeba7c7cc54b025f1dae8177c34f53470f5 /configure.ac
parentbackup: '+keysonly' silently uses all defaults as 'off' (diff)
downloadknot-34c8ddadfcf752db66196f8ad1bc3d2e66cfb7f0.tar.xz
knot-34c8ddadfcf752db66196f8ad1bc3d2e66cfb7f0.zip
configure: add missing setting of ENABLE_SYSTEMD
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e3276340..365395b76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,6 +269,9 @@ AS_IF([test "$enable_systemd" != "no"],[
[*],[AC_MSG_ERROR([Invalid value of --enable-systemd.])])
])
+AS_IF([test "$enable_systemd" = "yes"],[
+ AC_DEFINE([ENABLE_SYSTEMD], [1], [Use systemd integration.])])
+
AS_IF([test "$enable_dbus" != "no"],[
AS_CASE([$enable_dbus],
[auto],[AS_IF([test "$enable_systemd" = "yes"],