From bbcb9b79fbe77e133fddf921c09dc757947c031b Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 2 Nov 2015 08:27:59 -0500 Subject: systemd/Makefile: only install rpc-svcgssd.service if it is required. If we build without rpc-svcgssd (the default), don't install matching .service file. Signed-off-by: NeilBrown Signed-off-by: Steve Dickson --- systemd/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systemd/Makefile.am b/systemd/Makefile.am index 0331926..03f96e9 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -28,9 +28,13 @@ endif if CONFIG_GSS unit_files += \ auth-rpcgss-module.service \ - rpc-gssd.service \ + rpc-gssd.service + +if CONFIG_SVCGSS +unit_files += \ rpc-svcgssd.service endif +endif EXTRA_DIST = $(unit_files) -- cgit