From 4392d36cbb8ba8dae24eca82c445d807497d69ff Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 25 Aug 2003 18:21:07 +0000 Subject: Throughout, change USE_CYGSERVER to USE_SERVER. * Makefile.in (LIBSERVER): Define and use. * configure.in: Set LIBSERVER as appropriate. * environ.cc: Rename allow_daemon to allow_server. Only recognize when USE_SERVER is defined. --- winsup/cygwin/environ.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/environ.cc') diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 58d880013..fba44ac6d 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -35,8 +35,10 @@ extern bool strip_title_path; extern int pcheck_case; extern int subauth_id; bool reset_com = false; -bool allow_daemon = false; static bool envcache = true; +#ifdef USE_SERVER +extern bool allow_server; +#endif static char **lastenviron; @@ -506,7 +508,9 @@ static struct parse_thing {"binmode", {x: &binmode}, justset, NULL, {{O_TEXT}, {O_BINARY}}}, {"check_case", {func: &check_case_init}, isfunc, NULL, {{0}, {0}}}, {"codepage", {func: &codepage_init}, isfunc, NULL, {{0}, {0}}}, - {"daemon", {&allow_daemon}, justset, NULL, {{false}, {true}}}, +#ifdef USE_SERVER + {"server", {&allow_server}, justset, NULL, {{false}, {true}}}, +#endif {"envcache", {&envcache}, justset, NULL, {{true}, {false}}}, {"error_start", {func: &error_start_init}, isfunc, NULL, {{0}, {0}}}, {"export", {&export_settings}, justset, NULL, {{false}, {true}}}, -- cgit v1.2.3