X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=93e60f6568a102b82df0a28357695123a90d886a;hb=72d4d89c3d823ae4d771f4ab5dc15dac98ede764;hp=819d766081bf44ffe879ab8d29c364fc51b9cbf4;hpb=c8eaefff54f5fc5f2dc9d4bfe309dc9bb0176f04;p=ppp.git diff --git a/configure.ac b/configure.ac index 819d766..93e60f6 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,10 @@ AM_CONDITIONAL(WITH_SYSTEMD, test "x${enable_systemd}" = "xyes") AM_COND_IF([WITH_SYSTEMD], AC_DEFINE([SYSTEMD], 1, [Enable support for systemd notifications])) +if test "x${enable_systemd}" = "xyes"; then + PKG_CHECK_MODULES([systemd], [systemd]) +fi + # # Enable Callback Protocol Support, disabled by default AC_ARG_ENABLE([cbcp],