Change the indentation from 12 to indent+4.
[openssl.git] / config
diff --git a/config b/config
index 16286a59e90474f663bf38b494dd30762172b657..79ce83aac3d6b8f462fa5b49309af06d0583b5d5 100755 (executable)
--- a/config
+++ b/config
@@ -75,9 +75,9 @@ if [ "x$XREL" != "x" ]; then
                ;;
            4.2MP)
                case "x${VERSION}" in
-                   x2.0*) echo "${MACHINE}-whatever-unixware20"; exit 0 ;;
-                   x2.1*) echo "${MACHINE}-whatever-unixware21"; exit 0 ;;
-                   x2*)   echo "${MACHINE}-whatever-unixware2";  exit 0 ;;
+                   x2.0*) echo "whatever-whatever-unixware20"; exit 0 ;;
+                   x2.1*) echo "whatever-whatever-unixware21"; exit 0 ;;
+                   x2*)   echo "whatever-whatever-unixware2";  exit 0 ;;
                esac
                ;;
            4.2)
@@ -92,8 +92,8 @@ if [ "x$XREL" != "x" ]; then
                    # with i386 is that it makes ./config pass 386 to
                    # ./Configure, which in turn makes make generate
                    # inefficient SHA-1 (for this moment) code.
-                   x7*)  echo "i586-sco-unixware7";          exit 0 ;;
-                   x8*)  echo "i586-unkn-OpenUNIX${VERSION}; exit 0 ;;
+                   x7*)  echo "i586-sco-unixware7";           exit 0 ;;
+                   x8*)  echo "i586-unkn-OpenUNIX${VERSION}"; exit 0 ;;
                esac
                ;;
        esac
@@ -458,7 +458,7 @@ if [ "${SYSTEM}-${MACHINE}" = "Linux-alpha" ]; then
 fi
 
 if [ "${SYSTEM}" = "AIX" ]; then       # favor vendor cc over gcc
-    (cc) 2>&1 | grep -iv "command not found" > /dev/null && CC=cc
+    (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
 fi
 
 CCVER=${CCVER:-0}
@@ -473,7 +473,7 @@ echo Operating system: $GUESSOS
 # more time that I want to waste at the moment
 case "$GUESSOS" in
   mips2-sgi-irix)
-       CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+       CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
        CPU=${CPU:-0}
        if [ $CPU -ge 4000 ]; then
                options="$options -mips2"
@@ -481,7 +481,7 @@ case "$GUESSOS" in
        OUT="irix-$CC"
        ;;
   mips3-sgi-irix)
-       CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+       CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
        CPU=${CPU:-0}
        if [ $CPU -ge 5000 ]; then
                options="$options -mips4"
@@ -497,7 +497,7 @@ case "$GUESSOS" in
          echo "         You have about 5 seconds to press Ctrl-C to abort."
          (stty -icanon min 0 time 50; read waste) < /dev/tty
        fi
-        CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+        CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
         CPU=${CPU:-0}
         if [ $CPU -ge 5000 ]; then
                 options="$options -mips4"
@@ -641,6 +641,7 @@ EOF
   *-*-sunos4) OUT="sunos-$CC" ;;
   alpha*-*-freebsd*) OUT="FreeBSD-alpha" ;;
   sparc64-*-freebsd*) OUT="FreeBSD-sparc64" ;;
+  ia64-*-freebsd*) OUT="FreeBSD-ia64" ;;
   *-freebsd[3-9]*) OUT="FreeBSD-elf" ;;
   *-freebsd[1-2]*) OUT="FreeBSD" ;;
   *86*-*-netbsd) OUT="NetBSD-x86" ;;