From 46c6a3e8ebfed8819c13a15c9b6d3537f0a529ba Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 24 Nov 2003 17:03:50 +0000 Subject: * configure.in: Avoid using cygserver unless hosting on cygwin. --- winsup/cygwin/configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/configure.in') diff --git a/winsup/cygwin/configure.in b/winsup/cygwin/configure.in index c560301b1..04c961c19 100644 --- a/winsup/cygwin/configure.in +++ b/winsup/cygwin/configure.in @@ -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)], -- cgit v1.2.3