* configure.in: Avoid using cygserver unless hosting on cygwin.

This commit is contained in:
Christopher Faylor
2003-11-24 17:03:50 +00:00
parent 3ad60fc808
commit 46c6a3e8eb
3 changed files with 53 additions and 47 deletions

View File

@@ -75,13 +75,17 @@ case "$with_cross_host" in
""|*cygwin*)
all_host="all_host"
install_host="install_host"
LIBSERVER='$(bupdir)/cygserver/libcygserver.a'
;;
*)
all_host=
install_host=
LIBSERVER=
;;
esac
test -n "$LIBSERVER" && AC_DEFINE(USE_SERVER)
AC_SUBST(all_host)
AC_SUBST(install_host)
@@ -135,7 +139,6 @@ no) ;;
esac
])
LIBSERVER='$(bupdir)/cygserver/libcygserver.a'
AC_ARG_ENABLE(server,
[ --enable-server Build a cygwin DLL which can communicate with cygserver],
[case "${enableval}" in
@@ -144,8 +147,6 @@ no) LIBSERVER=;;
esac
])
test -n "$LIBSERVER" && AC_DEFINE(USE_SERVER)
MALLOC_OFILES=malloc.o
AC_ARG_ENABLE(malloc-debugging,
[ --enable-malloc-debugging Build a cygwin DLL with heap sanity checking (this is very slow, use only if you have heap corruption problems)],