Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-25 22:21:07 +0400
committerChristopher Faylor <me@cgf.cx>2003-08-25 22:21:07 +0400
commit4392d36cbb8ba8dae24eca82c445d807497d69ff (patch)
treedd61a5e7d55d5896a48a1ecb7676ec9ac5bf3657 /winsup/cygwin/configure.in
parente98b6dbb6d8c3f7e3329090a76814fae0ba2ce0b (diff)
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.
Diffstat (limited to 'winsup/cygwin/configure.in')
-rw-r--r--winsup/cygwin/configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/winsup/cygwin/configure.in b/winsup/cygwin/configure.in
index 2c26d4d3b..c0ad97682 100644
--- a/winsup/cygwin/configure.in
+++ b/winsup/cygwin/configure.in
@@ -138,8 +138,10 @@ esac
AC_ARG_ENABLE(server,
[ --enable-server Build a cygwin DLL which can communicate with cygserver],
[case "${enableval}" in
-yes) AC_DEFINE(USE_CYGSERVER) ;;
-no) ;;
+yes)
+ AC_DEFINE(USE_SERVER)
+ LIBSERVER='$(bupdir)/cygserver/libcygserver.a' ;;
+no) LIBSERVER=;;
esac
])
@@ -192,6 +194,7 @@ case "$target_cpu" in
esac
AC_SUBST(MALLOC_OFILES)
+AC_SUBST(LIBSERVER)
AC_SUBST(DLL_ENTRY)
AC_SUBST(DEF_DLL_ENTRY)
AC_SUBST(ALLOCA)