diff options
Diffstat (limited to 'winsup/configure.in')
-rwxr-xr-x | winsup/configure.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/winsup/configure.in b/winsup/configure.in index c4bdde511..36a3bcfdc 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 |