summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-01-29 22:16:08 +0000
committerAndy Polyakov <appro@openssl.org>2004-01-29 22:16:08 +0000
commit12470927760cdbcb0885f9cf03aebda495d784d2 (patch)
treea07ce0910b37b4193eaa2da0c6304b0243330f13 /config
parent7e22a1df55db03bc1a2f146d3e2bf2cc5ae34055 (diff)
HP/UX PA-RISC 2 targets update.
Diffstat (limited to 'config')
-rwxr-xr-xconfig19
1 files changed, 5 insertions, 14 deletions
diff --git a/config b/config
index 1722b8e76d..a0dc457c55 100755
--- a/config
+++ b/config
@@ -683,15 +683,8 @@ EOF
RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
*-siemens-sysv4) OUT="SINIX" ;;
*-hpux1*)
- if [ $CC = "gcc" ];
- then
- if [ $GCC_BITS = "64" ]; then
- OUT="hpux64-parisc-gcc"
- else
- OUT="hpux-parisc-gcc"
- fi
- else
- OUT="hpux-parisc-$CC"
+ if [ $CC = "gcc" -a $GCC_BITS = "64" ]; then
+ OUT="hpux64-parisc2-gcc"
fi
KERNEL_BITS=`(getconf KERNEL_BITS) 2>/dev/null`
KERNEL_BITS=${KERNEL_BITS:-32}
@@ -708,9 +701,7 @@ EOF
fi
OUT="hpux64-ia64-cc"
elif [ $CPU_VERSION -ge 532 ]; then # PA-RISC 2.x CPU
- if [ "$CC" = "cc" ]; then
- OUT="hpux-parisc2-cc" # can't we have hpux-parisc2-gcc?
- fi
+ OUT=${OUT:-"hpux-parisc2-${CC}"}
if [ $KERNEL_BITS -eq 64 -a "$CC" = "cc" ]; then
echo "WARNING! If you wish to build 64-bit library then you have to"
echo " invoke './Configure hpux64-parisc2-cc' *manually*."
@@ -720,9 +711,9 @@ EOF
fi
fi
elif [ $CPU_VERSION -ge 528 ]; then # PA-RISC 1.1+ CPU
- :
+ OUT="hpux-parisc-${CC}
elif [ $CPU_VERSION -ge 523 ]; then # PA-RISC 1.0 CPU
- :
+ OUT="hpux-parisc-${CC}
else # Motorola(?) CPU
OUT="hpux-$CC"
fi