Fix s390x detection in ./config.
authorAndy Polyakov <appro@openssl.org>
Mon, 30 Apr 2007 09:26:05 +0000 (09:26 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 30 Apr 2007 09:26:05 +0000 (09:26 +0000)
config

diff --git a/config b/config
index 83e3dca67816dc267525921d83b6ee9c0c816770..5661d06361d15a2f120dd98f8f37ae191b933f88 100755 (executable)
--- a/config
+++ b/config
@@ -588,7 +588,8 @@ case "$GUESSOS" in
   sh*b-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
   sh*-*-linux2)  OUT="linux-generic32"; options="$options -DL_ENDIAN" ;;
   m68k*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
-  s390*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN -DNO_ASM" ;;
+  s390-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN -DNO_ASM" ;;
+  s390x-*-linux2) OUT="linux-generic64"; options="$options -DB_ENDIAN" ;;
   x86_64-*-linux?) OUT="linux-x86_64" ;;
   *86-*-linux2) OUT="linux-elf"
        if [ "$GCCVER" -gt 28 ]; then