From e3825a1cfb79fbfff1b795efd92a032c50ec3b17 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 15 Aug 2011 20:26:53 +0200 Subject: [PATCH 1/5] Include selinux code only when enabled (autotools parts) --- bus/Makefile.am | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bus/Makefile.am b/bus/Makefile.am index a3ddb6c..4f6a803 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -43,6 +43,12 @@ endif endif endif +if HAVE_SELINUX +DIR_SELINUX_SOURCE=selinux.c selinux.h +else +DIR_SELINUX_SOURCE= +endif + BUS_SOURCES= \ activation.c \ activation.h \ @@ -67,8 +73,7 @@ BUS_SOURCES= \ expirelist.h \ policy.c \ policy.h \ - selinux.h \ - selinux.c \ + $(DIR_SELINUX_SOURCE) \ services.c \ services.h \ signals.c \ -- 1.7.4.msysgit.0