* configure.in: Make --use-server the default.

* configure: Regenerate.
This commit is contained in:
Christopher Faylor 2003-11-20 19:31:52 +00:00
parent 7ee8258620
commit d012506e3c
3 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2003-11-20 Christopher Faylor <cgf@redhat.com>
* configure.in: Make --use-server the default.
* configure: Regenerate.
2003-08-05 Christopher Faylor <cgf@redhat.com> 2003-08-05 Christopher Faylor <cgf@redhat.com>
* Makefile.common: Hmm. Older compilers seem to need -nostdinc. * Makefile.common: Hmm. Older compilers seem to need -nostdinc.

12
winsup/configure vendored
View File

@ -918,17 +918,13 @@ fi
CXXFLAGS='$(CFLAGS)' CXXFLAGS='$(CFLAGS)'
use_cygserver='' use_cygserver='yes'
# Check whether --enable-server or --disable-server was given. # Check whether --enable-server or --disable-server was given.
if test "${enable_server+set}" = set; then if test "${enable_server+set}" = set; then
enableval="$enable_server" enableval="$enable_server"
case "${enableval}" in case "${enableval}" in
yes) cat >> confdefs.h <<\EOF yes) ;;
#define USE_CYGSERVE 1 no) use_cygserver=;;
EOF
use_cygserver=1 ;;
no) ;;
esac esac
fi fi
@ -951,7 +947,7 @@ subdirs="$SUBDIRS"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:955: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "configure:951: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6

View File

@ -66,13 +66,12 @@ AC_CANONICAL_SYSTEM
LIB_AC_PROG_CC LIB_AC_PROG_CC
LIB_AC_PROG_CXX LIB_AC_PROG_CXX
use_cygserver='' use_cygserver='yes'
AC_ARG_ENABLE(server, AC_ARG_ENABLE(server,
[ --enable-server Build a cygwin DLL which can communicate with cygserver], [ --enable-server Build a cygwin DLL which can communicate with cygserver],
[case "${enableval}" in [case "${enableval}" in
yes) AC_DEFINE(USE_CYGSERVE) yes) ;;
use_cygserver=1 ;; no) use_cygserver=;;
no) ;;
esac esac
]) ])