summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.ac2
1 files changed, 2 insertions, 0 deletions
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
;;
"*") ;;