aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/configure
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-25 18:21:07 +0000
committerChristopher Faylor <me@cgf.cx>2003-08-25 18:21:07 +0000
commit4392d36cbb8ba8dae24eca82c445d807497d69ff (patch)
treedd61a5e7d55d5896a48a1ecb7676ec9ac5bf3657 /winsup/cygwin/configure
parente98b6dbb6d8c3f7e3329090a76814fae0ba2ce0b (diff)
downloadnewlib-4392d36cbb8ba8dae24eca82c445d807497d69ff.zip
newlib-4392d36cbb8ba8dae24eca82c445d807497d69ff.tar.gz
newlib-4392d36cbb8ba8dae24eca82c445d807497d69ff.tar.bz2
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')
-rwxr-xr-xwinsup/cygwin/configure12
1 files changed, 8 insertions, 4 deletions
diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure
index e2f2230..3500fad 100755
--- a/winsup/cygwin/configure
+++ b/winsup/cygwin/configure
@@ -1904,11 +1904,13 @@ fi
if test "${enable_server+set}" = set; then
enableval="$enable_server"
case "${enableval}" in
-yes) cat >> confdefs.h <<\EOF
-#define USE_CYGSERVER 1
+yes)
+ cat >> confdefs.h <<\EOF
+#define USE_SERVER 1
EOF
- ;;
-no) ;;
+
+ LIBSERVER='$(bupdir)/cygserver/libcygserver.a' ;;
+no) LIBSERVER=;;
esac
fi
@@ -1966,6 +1968,7 @@ esac
+
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@@ -2132,6 +2135,7 @@ s%@CPP@%$CPP%g
s%@ALLOCA@%$ALLOCA%g
s%@SET_MAKE@%$SET_MAKE%g
s%@MALLOC_OFILES@%$MALLOC_OFILES%g
+s%@LIBSERVER@%$LIBSERVER%g
s%@DLL_ENTRY@%$DLL_ENTRY%g
s%@DEF_DLL_ENTRY@%$DEF_DLL_ENTRY%g
s%@CONFIG_DIR@%$CONFIG_DIR%g