aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-02 03:33:01 +0000
committerChristopher Faylor <me@cgf.cx>2003-07-02 03:33:01 +0000
commit9c01984ec2345d1d1af745b24db50e07912a7bc1 (patch)
treeba77071df54920cc91c52f334185486769ccb4da /winsup/configure.in
parent6a59d15696d7dfc8afc777557db45b1a29482e20 (diff)
downloadnewlib-9c01984ec2345d1d1af745b24db50e07912a7bc1.zip
newlib-9c01984ec2345d1d1af745b24db50e07912a7bc1.tar.gz
newlib-9c01984ec2345d1d1af745b24db50e07912a7bc1.tar.bz2
* configure.in: Add --enable-server option.
* configure: Regenerate.
Diffstat (limited to 'winsup/configure.in')
-rwxr-xr-xwinsup/configure.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/winsup/configure.in b/winsup/configure.in
index c4bdde5..36a3bcf 100755
--- a/winsup/configure.in
+++ b/winsup/configure.in
@@ -66,6 +66,16 @@ AC_CANONICAL_SYSTEM
LIB_AC_PROG_CC
LIB_AC_PROG_CXX
+use_cygserver=''
+AC_ARG_ENABLE(server,
+[ --enable-server Build a cygwin DLL which can communicate with cygserver],
+[case "${enableval}" in
+yes) AC_DEFINE(USE_CYGSERVE)
+ use_cygserver=1 ;;
+no) ;;
+esac
+])
+
SUBDIRS='cygwin w32api'
test -d $srcdir/mingw && SUBDIRS="mingw $SUBDIRS"
@@ -74,7 +84,7 @@ case "$with_cross_host" in
# test -d $srcdir/bz2lib && SUBDIRS="$SUBDIRS bz2lib"
# test -d $srcdir/zlib && SUBDIRS="$SUBDIRS zlib"
# test -d $srcdir/subauth && SUBDIRS="$SUBDIRS subauth"
- test -d $srcdir/cygserver && SUBDIRS="$SUBDIRS cygserver"
+ test -n "$use_cygserver" -a -d $srcdir/cygserver && SUBDIRS="$SUBDIRS cygserver"
SUBDIRS="$SUBDIRS utils doc"
;;
esac