summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-09-07 16:45:04 +0000
committerUlf Möller <ulf@openssl.org>1999-09-07 16:45:04 +0000
commitb82ccbb7a02223de4fb78633ce8d3d974105d602 (patch)
tree87d7850ae2f19f351ea056c24352a2dc2491e307
parenta785abc324b06a41ee043be128bf576a95d1fa1b (diff)
Check the as version on Solaris x86. People don't read INSTALL anyway. :)
-rw-r--r--INSTALL4
-rwxr-xr-xconfig8
2 files changed, 9 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index 6066fddc4a..cf0dc05ac8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -120,9 +120,7 @@
number in your message.
[If you encounter assembler error messages, try the "no-asm"
- configuration option as an immediate fix. Note that on Solaris x86
- (not on Sparcs!) you may have to install the GNU assembler to use
- OpenSSL assembler code -- /usr/ccs/bin/as won't do.]
+ configuration option as an immediate fix.]
Compiling parts of OpenSSL with gcc and others with the system
compiler will result in unresolved symbols on some systems.
diff --git a/config b/config
index 93e2317c3f..969c94d2b0 100755
--- a/config
+++ b/config
@@ -438,6 +438,14 @@ then
sleep 5
OUT=linux-sparcv8
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
i386-*) options="$options 386" ;;