ocserv/ocserv-enable-systemd.patch

17 lines
483 B
Diff

Index: ocserv-0.10.5/configure.ac
===================================================================
--- ocserv-0.10.5.orig/configure.ac
+++ ocserv-0.10.5/configure.ac
@@ -297,11 +297,7 @@ AC_ARG_ENABLE(systemd,
if [ test "$systemd_enabled" = "yes" ];then
AC_LIB_HAVE_LINKFLAGS(systemd,, [#include <systemd/sd-daemon.h>], [sd_listen_fds(0);])
- if [ test -z "$LIBSYSTEMD" ];then
- systemd_enabled="no"
- else
systemd_enabled="yes"
- fi
fi
AC_ARG_ENABLE(anyconnect-compat,