summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-27 11:38:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-06-27 11:38:48 +0000
commitbdd454973d241f7b56334680379a12b21867a45b (patch)
tree479fe8c408228c483bc2e4f135081d27d643aa7a /config
parent12b1b9a4fa778b151951232352a8406862f82d4d (diff)
downloadopenssl-new-bdd454973d241f7b56334680379a12b21867a45b.tar.gz
auto detect configuration using KERNEL_BITS and CC
Diffstat (limited to 'config')
-rwxr-xr-xconfig13
1 files changed, 5 insertions, 8 deletions
diff --git a/config b/config
index 176644ff8a..63edfd6123 100755
--- a/config
+++ b/config
@@ -759,14 +759,11 @@ case "$GUESSOS" in
CPU_VERSION=${CPU_VERSION:-0}
# See <sys/unistd.h> for further info on CPU_VERSION.
if [ $CPU_VERSION -ge 768 ]; then # IA-64 CPU
- echo "WARNING! 64-bit ABI is the default configured ABI on HP-UXi."
- echo " If you wish to build 32-bit library, the you have to"
- echo " invoke './Configure hpux-ia64-cc' *manually*."
- if [ "$TEST" = "false" -a -t 1 ]; then
- echo " You have about 5 seconds to press Ctrl-C to abort."
- (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; read waste) <&1
- fi
- OUT="hpux64-ia64-cc"
+ if [ $KERNEL_BITS -eq 64 -a "$CC" = "cc" ]; then
+ OUT="hpux64-ia64-cc"
+ else
+ OUT="hpux-ia64-cc"
+ fi
elif [ $CPU_VERSION -ge 532 ]; then # PA-RISC 2.x CPU
OUT=${OUT:-"hpux-parisc2-${CC}"}
if [ $KERNEL_BITS -eq 64 -a "$CC" = "cc" ]; then