From: Andy Polyakov Date: Sat, 21 May 2005 16:50:27 +0000 (+0000) Subject: Default to no-sse2 on selected platforms. X-Git-Tag: OpenSSL_0_9_8-beta3~13^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4c9b85e65b6d5f0394ae122e0534de9a8becad5;p=oweals%2Fopenssl.git Default to no-sse2 on selected platforms. --- diff --git a/config b/config index 02d7de0266..7d330e4a54 100755 --- a/config +++ b/config @@ -647,11 +647,14 @@ case "$GUESSOS" in OUT="solaris64-x86_64-$CC" else OUT="solaris-x86-$CC" + if [ `uname -r | sed -e 's/5\.//'` -lt 10 ]; then + options="$options no-sse2" + fi fi ;; *-*-sunos4) OUT="sunos-$CC" ;; - *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;; + *86*-*-bsdi4) OUT="bsdi-elf-gcc"; options="$options no-sse2" ;; alpha*-*-*bsd*) OUT="BSD-generic64; options="$options -DL_ENDIAN" ;; powerpc64-*-*bsd*) OUT="BSD-generic64; options="$options -DB_ENDIAN" ;; sparc64-*-*bsd*) OUT="BSD-sparc64" ;; @@ -659,7 +662,7 @@ case "$GUESSOS" in amd64-*-*bsd*) OUT="BSD-x86_64" ;; *86*-*-*bsd*) case "`(file -L /usr/lib/libc.so.*) 2>/dev/null`" in *ELF*) OUT="BSD-x86-elf" ;; - *) OUT="BSD-x86" ;; + *) OUT="BSD-x86"; options="$options no-sse2" ;; esac ;; *-*-*bsd*) OUT="BSD-generic32" ;;