* configure.in: Make --use-server the default. Remove powerpc target.

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

View File

@ -1,3 +1,8 @@
2003-11-20 Christopher Faylor <cgf@redhat.com>
* configure.in: Make --use-server the default. Remove powerpc target.
* configure: Regenerate.
2003-11-20 Corinna Vinschen <corinna@vinschen.de>
* msg.cc (msgctl): Raise SIGSYS if call not available.

View File

@ -1900,22 +1900,23 @@ esac
fi
LIBSERVER='$(bupdir)/cygserver/libcygserver.a'
# 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_SERVER 1
EOF
LIBSERVER='$(bupdir)/cygserver/libcygserver.a' ;;
no) LIBSERVER=;;
yes) ;;
no) LIBSERVER=;;
esac
fi
test -n "$LIBSERVER" && cat >> confdefs.h <<\EOF
#define USE_SERVER 1
EOF
MALLOC_OFILES=malloc.o
# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
if test "${enable_malloc_debugging+set}" = set; then
@ -1956,10 +1957,6 @@ case "$target_cpu" in
DEF_DLL_ENTRY="dll_entry@12"
ALLOCA="_alloca"
CONFIG_DIR="i386" ;;
powerpc*) DLL_ENTRY="dll_entry"
DEF_DLL_ENTRY="dll_entry"
ALLOCA=" __allocate_stack"
CONFIG_DIR="ppc" ;;
*) { echo "configure: error: Invalid target processor \"$target_cpu\"" 1>&2; exit 1; } ;;
esac

View File

@ -135,16 +135,17 @@ 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
yes)
AC_DEFINE(USE_SERVER)
LIBSERVER='$(bupdir)/cygserver/libcygserver.a' ;;
no) LIBSERVER=;;
yes) ;;
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)],
@ -186,10 +187,6 @@ case "$target_cpu" in
DEF_DLL_ENTRY="dll_entry@12"
ALLOCA="_alloca"
CONFIG_DIR="i386" ;;
powerpc*) DLL_ENTRY="dll_entry"
DEF_DLL_ENTRY="dll_entry"
ALLOCA=" __allocate_stack"
CONFIG_DIR="ppc" ;;
*) AC_MSG_ERROR(Invalid target processor \"$target_cpu\") ;;
esac