From b4c5efcf3a33188659609a29b7b008ccd9f02948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 25 Jan 2009 00:40:23 +0000 Subject: [PATCH] wrap detach git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24415 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kcm/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kcm/config.c b/kcm/config.c index b0961dcc6..203b2de10 100644 --- a/kcm/config.c +++ b/kcm/config.c @@ -44,8 +44,10 @@ char *door_path = NULL; static char *max_request_str; /* `max_request' as a string */ +#ifdef SUPPORT_DETACH int detach_from_console = -1; #define DETACH_IS_DEFAULT FALSE +#endif static const char *system_cache_name = NULL; static const char *system_keytab = NULL; @@ -81,6 +83,7 @@ static struct getargs args[] = { "max-request", 0, arg_string, &max_request, "max size for a kcm-request", "size" }, +#ifdef SUPPORT_DETACH #if DETACH_IS_DEFAULT { "detach", 'D', arg_negative_flag, &detach_from_console, @@ -91,6 +94,7 @@ static struct getargs args[] = { "detach", 0 , arg_flag, &detach_from_console, "detach from console" }, +#endif #endif { "help", 'h', arg_flag, &help_flag }, {