aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/config
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-10-01 12:32:41 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-10-01 12:32:41 +0000
commit50ef0093530d9eae8741fb66ae7161ad1d68dcca (patch)
tree69b3ffc611270d72c473248fe700c2942eb5e6b5 /crypto/openssl/config
parent5b877a2d56a3b37c8b2e8cedf0532a8fb82e3c70 (diff)
downloadsrc-50ef0093530d9eae8741fb66ae7161ad1d68dcca.tar.gz
src-50ef0093530d9eae8741fb66ae7161ad1d68dcca.zip
Vendor import of OpenSSL 0.9.7c
Notes
Notes: svn path=/vendor-crypto/openssl/dist/; revision=120631
Diffstat (limited to 'crypto/openssl/config')
-rwxr-xr-xcrypto/openssl/config8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/openssl/config b/crypto/openssl/config
index 88d28735cdf2..b3bd96bbfcb6 100755
--- a/crypto/openssl/config
+++ b/crypto/openssl/config
@@ -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"