From: Donald Sharp Date: Fri, 10 Jun 2016 18:53:53 +0000 (-0400) Subject: configure.ac: Add back HAVE_SYSTEMD X-Git-Tag: frr-2.0-rc1~540^2~8 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=63e308646adc14140a6ca5a46d6e86a9a9322a8c;p=matthieu%2Ffrr.git configure.ac: Add back HAVE_SYSTEMD When the change was made to add some additional code to make sure systemd was actually installed on the system, the HAVE_SYSTEMD #define was accidently removed. Signed-off-by: Donald Sharp --- diff --git a/configure.ac b/configure.ac index 713cf40801..4a9e6dbfb1 100755 --- a/configure.ac +++ b/configure.ac @@ -347,6 +347,8 @@ case "${enable_systemd}" in AC_CHECK_LIB(systemd, sd_notify, LIBS="$LIBS -lsystemd") if test $ac_cv_lib_systemd_sd_notify = no; then AC_MSG_ERROR([enable systemd has been specified but systemd development env not found on your system]) + else + AC_DEFINE(HAVE_SYSTEMD,,Compile systemd support in) fi ;; "*") ;;