]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
init: Don't build/install legacy systemd service if charon isn't built
authorRomain Francoise <romain@orebokech.com>
Fri, 1 May 2015 20:24:38 +0000 (22:24 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 4 May 2015 11:25:30 +0000 (13:25 +0200)
If the user configures the build to only include charon-systemd the
"legacy" systemd service isn't useful, so skip its generation and
installation.

init/Makefile.am

index a72706c9922950775e304382db94b38c6a310ca7..6fff4221b8a220f4ce619a5c9ca2e7a1c31e7489 100644 (file)
@@ -2,8 +2,10 @@
 SUBDIRS =
 
 if USE_LEGACY_SYSTEMD
+if USE_CHARON
   SUBDIRS += systemd
 endif
+endif
 
 if USE_SYSTEMD
 if USE_SWANCTL