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.
This commit is contained in:
Christopher Faylor
2003-08-25 18:21:07 +00:00
parent e98b6dbb6d
commit 4392d36cbb
11 changed files with 39 additions and 19 deletions

View File

@ -507,7 +507,7 @@ fhandler_tty_slave::open (path_conv *, int flags, mode_t)
HANDLE from_master_local, to_master_local;
#ifdef USE_CYGSERVER
#ifdef USE_SERVER
if (!wincap.has_security ()
|| cygserver_running == CYGSERVER_UNAVAIL
|| !cygserver_attach_tty (&from_master_local, &to_master_local))
@ -589,7 +589,7 @@ int
fhandler_tty_slave::cygserver_attach_tty (LPHANDLE from_master_ptr,
LPHANDLE to_master_ptr)
{
#ifndef USE_CYGSERVER
#ifndef USE_SERVER
return 0;
#else
if (!from_master_ptr || !to_master_ptr)