OSDN Git Service

* configure.in: Make --use-server the default. Remove powerpc target.
authorcgf <cgf>
Thu, 20 Nov 2003 19:31:41 +0000 (19:31 +0000)
committercgf <cgf>
Thu, 20 Nov 2003 19:31:41 +0000 (19:31 +0000)
* configure: Regenerate.

winsup/cygwin/configure
winsup/cygwin/configure.in

index eb1b688..08d253e 100755 (executable)
@@ -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
 
index d47b408..c560301 100644 (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