diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-24 14:04:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-24 14:04:18 +0000 |
commit | f75abba013e12d233fc0dce1956c46cf3da983fc (patch) | |
tree | 334d6487d2779a6fda4eab097c567e5cc5dc397b /config | |
parent | dea113b428dc60c57ee5d4dafaea2ccb32b28a07 (diff) |
allow KERNEL_BITS to be specified in the environment
Diffstat (limited to 'config')
-rwxr-xr-x | config | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -736,7 +736,7 @@ case "$GUESSOS" in 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=`(getconf KERNEL_BITS) 2>/dev/null` KERNEL_BITS=${KERNEL_BITS:-32} CPU_VERSION=`(getconf CPU_VERSION) 2>/dev/null` CPU_VERSION=${CPU_VERSION:-0} @@ -770,7 +770,7 @@ case "$GUESSOS" in options="$options -D_REENTRANT" ;; *-hpux) OUT="hpux-parisc-$CC" ;; *-aix) - KERNEL_BITS=`(getconf KERNEL_BITMODE) 2>/dev/null` + [ "$KERNEL_BITS" ] || KERNEL_BITS=`(getconf KERNEL_BITMODE) 2>/dev/null` KERNEL_BITS=${KERNEL_BITS:-32} OBJECT_MODE=${OBJECT_MODE:-32} if [ "$CC" = "gcc" ]; then |