From: Romain Francoise Date: Fri, 1 May 2015 20:24:38 +0000 (+0200) Subject: init: Don't build/install legacy systemd service if charon isn't built X-Git-Tag: 5.3.1rc1~41 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=f5db98c0384fc3472da4abef1d7c2557e0f5cf62 init: Don't build/install legacy systemd service if charon isn't built If the user configures the build to only include charon-systemd the "legacy" systemd service isn't useful, so skip its generation and installation. --- diff --git a/init/Makefile.am b/init/Makefile.am index a72706c..6fff422 100644 --- a/init/Makefile.am +++ b/init/Makefile.am @@ -2,8 +2,10 @@ SUBDIRS = if USE_LEGACY_SYSTEMD +if USE_CHARON SUBDIRS += systemd endif +endif if USE_SYSTEMD if USE_SWANCTL