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
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
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)],
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