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 <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-06-10 14:53:53 -04:00
parent 4357b6617c
commit 63e308646a

View File

@ -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
;;
"*") ;;