* configure.in: Fix --enable-server option.

This commit is contained in:
Christopher Faylor 2003-07-02 03:29:40 +00:00
parent 3872e9a419
commit 8fb2df196d
3 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2003-07-01 Christopher Faylor <cgf@redhat.com>
* configure.in: Fix --enable-server option.
* configure: Regenerate.
2003-07-01 Christopher Faylor <cgf@redhat.com>
* Makefile.in: Remove cygserver stuff.

View File

@ -1898,9 +1898,9 @@ esac
fi
# Check whether --enable-cygserver or --disable-cygserver was given.
if test "${enable_cygserver+set}" = set; then
enableval="$enable_cygserver"
# Check whether --enable-server or --disable-server was given.
if test "${enable_server+set}" = set; then
enableval="$enable_server"
case "${enableval}" in
yes) cat >> confdefs.h <<\EOF
#define USE_CYGSERVE 1

View File

@ -84,19 +84,12 @@ AC_SUBST(all_host)
AC_SUBST(install_host)
AC_CHECK_TOOL(AR, ar, ar)
dnl AC_SUBST(AR)
AC_CHECK_TOOL(AS, as, as)
dnl C_SUBST(AS)
AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
dnl C_SUBST(RANLIB)
AC_CHECK_TOOL(LD, ld, ld)
dnl C_SUBST(LD)
AC_CHECK_TOOL(NM, nm, nm)
dnl C_SUBST(NM)
AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
dnl C_SUBST(DLLTOOL)
AC_CHECK_TOOL(WINDRES, windres, windres)
dnl C_SUBST(WINDRES)
AC_ALLOCA
AC_PROG_MAKE_SET
@ -140,7 +133,7 @@ no) ;;
esac
])
AC_ARG_ENABLE(cygserver,
AC_ARG_ENABLE(server,
[ --enable-server Build a cygwin DLL which can communicate with cygserver],
[case "${enableval}" in
yes) AC_DEFINE(USE_CYGSERVE) ;;