summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-10 13:24:11 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-10 21:06:59 +0100
commitddd82ff66cd6092b1d99dcf6013b97a1620f6d53 (patch)
tree8186a685236ce2c827c0679531ab6f10b592ff39 /configure.ac
parentzebra: display_vrf_name_on_interface (diff)
downloadfrr-ddd82ff66cd6092b1d99dcf6013b97a1620f6d53.tar.xz
frr-ddd82ff66cd6092b1d99dcf6013b97a1620f6d53.zip
lib: Add library code to interact with systemd
Modify the lib/ code to include the ability to interact with systemd. Provide the ability to interact with systemd's watchdog timer as well. There is no code here that actually uses this change. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 578f5a2c0..72e62c466 100755
--- a/configure.ac
+++ b/configure.ac
@@ -300,6 +300,8 @@ AC_ARG_ENABLE(pcreposix,
[ --enable-pcreposix enable using PCRE Posix libs for regex functions])
AC_ARG_ENABLE(fpm,
[ --enable-fpm enable Forwarding Plane Manager support])
+AC_ARG_ENABLE(systemd,
+[ --enable-systemd enable Systemd support])
AC_ARG_ENABLE(werror,
AS_HELP_STRING([--enable-werror], [enable -Werror (recommended for developers only)]))
@@ -324,6 +326,11 @@ if test x"${enable_time_check}" != x"no" ; then
fi
fi
+if test x"${enable_systemd}" != x"no" ; then
+ AC_DEFINE(HAVE_SYSTEMD,,Compile systemd support in)
+ LIBS="$LIBS -lsystemd "
+fi
+
if test "${enable_shell_access}" = "yes"; then
AC_DEFINE(HAVE_SHELL_ACCESS,,Allow user to use ssh/telnet/bash)
fi