]> git.puffer.fish Git - matthieu/frr.git/commitdiff
configure.ac: Add back HAVE_SYSTEMD
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 Jun 2016 18:53:53 +0000 (14:53 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 Jun 2016 23:35:48 +0000 (19:35 -0400)
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>
configure.ac

index 113c1619f817ddb9585ee50e8a2d51d1f20d4855..8758d9d3c15fca7193c0c57b8f2ee04e2d1533b2 100755 (executable)
@@ -338,6 +338,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
   ;;
   "*") ;;