Check the as version on Solaris x86. People don't read INSTALL anyway. :)
authorUlf Möller <ulf@openssl.org>
Tue, 7 Sep 1999 16:45:04 +0000 (16:45 +0000)
committerUlf Möller <ulf@openssl.org>
Tue, 7 Sep 1999 16:45:04 +0000 (16:45 +0000)
INSTALL
config

diff --git a/INSTALL b/INSTALL
index 6066fddc4a15ac44e2918e054a07725f54833ffe..cf0dc05ac8c8b3a3c586d9afd9c30b6d637fc069 100644 (file)
--- a/INSTALL
+++ b/INSTALL
      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 93e2317c3f613fba718d02ae201f7d108890be0d..969c94d2b0f2a00b34dd7c249a8c17dd4a885282 100755 (executable)
--- 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" ;;