Check the as version on Solaris x86. People don't read INSTALL anyway. :)

This commit is contained in:
Ulf Möller 1999-09-07 16:45:04 +00:00
parent a785abc324
commit b82ccbb7a0
2 changed files with 9 additions and 3 deletions

View File

@ -120,9 +120,7 @@
number in your message. number in your message.
[If you encounter assembler error messages, try the "no-asm" [If you encounter assembler error messages, try the "no-asm"
configuration option as an immediate fix. Note that on Solaris x86 configuration option as an immediate fix.]
(not on Sparcs!) you may have to install the GNU assembler to use
OpenSSL assembler code -- /usr/ccs/bin/as won't do.]
Compiling parts of OpenSSL with gcc and others with the system Compiling parts of OpenSSL with gcc and others with the system
compiler will result in unresolved symbols on some systems. compiler will result in unresolved symbols on some systems.

8
config
View File

@ -438,6 +438,14 @@ then
sleep 5 sleep 5
OUT=linux-sparcv8 OUT=linux-sparcv8
fi fi
if [ "$OUT" = "i86pc-sun-solaris2" ]
then
ASM=`as -V /dev/null`
case "$ASM" in
GNU*) ;;
*) options="$options no-asm" ; echo "WARNING: You need the GNU assembler to use OpenSSL assembler code." ; echo "Sun as is not supported on Solaris x86." ;;
esac
fi
case "$GUESSOS" in case "$GUESSOS" in
i386-*) options="$options 386" ;; i386-*) options="$options 386" ;;