This is a first-cut at improving the callback mechanisms used in
[openssl.git] / config
diff --git a/config b/config
index a253221285bc62ac774f8ff9b6b45fb2083a405d..8988f665bbf28d912123ed6f780b738bdcadad73 100755 (executable)
--- a/config
+++ b/config
@@ -547,12 +547,13 @@ EOF
   ppc-apple-darwin*) OUT="darwin-ppc-cc" ;;
   i386-apple-darwin*) OUT="darwin-i386-cc" ;;
   sparc64-*-linux2)
-       #Before we can uncomment following lines we have to wait at least
-       #till 64-bit glibc for SPARC is operational:-(
-       #echo "WARNING! If you wish to build 64-bit library, then you have to"
-       #echo "         invoke './Configure linux64-sparcv9' *manually*."
-       #echo "         Type return if you want to continue, Ctrl-C to abort."
-       #read waste < /dev/tty
+       echo "WARNING! If *know* that your GNU C supports 64-bit/V9 ABI"
+       echo "         and wish to build 64-bit library, then you have to"
+       echo "         invoke './Configure linux64-sparcv9' *manually*."
+       if [ "$TEST" = "false" ]; then
+         echo "          You have about 5 seconds to press Ctrl-C to abort."
+         (stty -icanon min 0 time 50; read waste) < /dev/tty
+       fi
        OUT="linux-sparcv9" ;;
   sparc-*-linux2)
        KARCH=`awk '/^type/{print$3}' /proc/cpuinfo`
@@ -585,6 +586,7 @@ EOF
   arm*-*-linux2) OUT="linux-elf-arm" ;;
   s390-*-linux2) OUT="linux-s390" ;;
   s390x-*-linux?) OUT="linux-s390x" ;;
+  x86_64-*-linux?) OUT="linux-x86_64" ;;
   *-*-linux2) OUT="linux-elf"
        if [ "$GCCVER" -gt 28 ]; then
           if grep '^model.*Pentium' /proc/cpuinfo >/dev/null ; then