diff options
author | Romain Francoise <romain@orebokech.com> | 2015-05-01 22:24:38 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2015-05-04 13:25:30 +0200 |
commit | f5db98c0384fc3472da4abef1d7c2557e0f5cf62 (patch) | |
tree | 38d5ca368563ffa31f70c26937069bf431cd1c54 /init | |
parent | b82157509354c0ebe428efe7b17844dcd0bd2c51 (diff) | |
download | strongswan-f5db98c0384fc3472da4abef1d7c2557e0f5cf62.tar.bz2 strongswan-f5db98c0384fc3472da4abef1d7c2557e0f5cf62.tar.xz |
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.
Diffstat (limited to 'init')
-rw-r--r-- | init/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/Makefile.am b/init/Makefile.am index a72706c99..6fff4221b 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 |