- Made sure some changed behavior is documented in CHANGES.
[openssl.git] / config
diff --git a/config b/config
index 93e2317c3f613fba718d02ae201f7d108890be0d..cbc2f87f11d5d23eb31c0b23b4638f3c41b93532 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 2>&1`
+  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" ;;