From 7c5f70200f076d2afdce9c34dc59ce8fd4e1baba Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 25 May 2009 16:46:36 +0200 Subject: Add support for building PolicyKit support into the daemon --- plugins/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 5866ac24..d0e562de 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -5,8 +5,8 @@ plugin_LTLIBRARIES = builtin_modules = builtin_sources = -builtin_cflags = builtin_libadd = +builtin_cflags = if LOOPBACK if LOOPBACK_BUILTIN @@ -138,9 +138,16 @@ endif endif if POLKIT +if POLKIT_BUILTIN +builtin_modules += polkit +builtin_sources += polkit.c +builtin_libadd += @POLKIT_LIBS@ +builtin_cflags += @POLKIT_CFLAGS@ +else plugin_LTLIBRARIES += polkit.la polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@ polkit_la_CFLAGS = $(AM_CFLAGS) @POLKIT_CFLAGS@ +endif if DATAFILES policydir = @POLKIT_DATADIR@ -- cgit v1.2.3