summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2001-02-14 01:14:09 +0100
committerUlf Möller <ulf@openssl.org>2001-02-14 01:14:09 +0100
commit720235eeec6de9d0ce463d22b5a1732cdb24d436 (patch)
treea3ade6d456d4dc490ac0c5b7ec33843ea7549d93 /config
parentFinish first round of session cache documentation. (diff)
downloadopenssl-720235eeec6de9d0ce463d22b5a1732cdb24d436.tar.xz
openssl-720235eeec6de9d0ce463d22b5a1732cdb24d436.zip
IRIX bugfix
Diffstat (limited to 'config')
-rwxr-xr-xconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/config b/config
index f2b92e3e4b..c97655daaa 100755
--- a/config
+++ b/config
@@ -401,10 +401,16 @@ case "$GUESSOS" in
;;
mips4-sgi-irix64)
echo "WARNING! If you wish to build 64-bit library, then you have to"
- echo " invoke './Configre irix64-mips4-$CC' *manually*."
+ echo " invoke './Configure irix64-mips4-$CC' *manually*."
echo " Type return if you want to continue, Ctrl-C to abort."
read waste < /dev/tty
- options="$options -mips4"
+ CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+ CPU=${CPU:-0}
+ if [ $CPU -ge 5000 ]; then
+ options="$options -mips4"
+ else
+ options="$options -mips3"
+ fi
OUT="irix-mips3-$CC"
;;
alpha-*-linux2)