Update the configuration of CygWin32 to use the new capabilities of
[openssl.git] / config
diff --git a/config b/config
index 74e6f08d934c063c50dea703b9a753d3c0c8c62b..502ca6720fe9e78ded54016fb19c95612ad809b3 100755 (executable)
--- a/config
+++ b/config
@@ -333,7 +333,11 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
        ;;
 
     CYGWIN*)
-       echo "${MACHINE}-whatever-cygwin32"; exit 0
+       case "$RELEASE" in
+           [bB]*|1.0|1.[12].*)
+               echo "${MACHINE}-whatever-cygwin32_pre1.3"; exit 0
+           *)
+               echo "${MACHINE}-whatever-cygwin32"; exit 0
        ;;
 
 esac
@@ -670,8 +674,8 @@ EOF
   # *-aix) OUT="aix-$CC" ;;
   # *-dgux) OUT="dgux" ;;
   mips-sony-newsos4) OUT="newsos4-gcc" ;;
-  *-*-cygwin32) OUT="CygWin32"
-               options="$options no-threads no-asm" ;;
+  *-*-cygwin32_pre1.3) OUT="CygWin32-pre1.3" ;;
+  *-*-cygwin32) OUT="CygWin32" ;;
   *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
 esac