* configure.in: Avoid using cygserver unless hosting on cygwin.
This commit is contained 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)],
|
||||
|
Reference in New Issue
Block a user