X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=config;h=5337348703d0f0e38d5c5f9a29b09e76a9b514ca;hb=9cead2f2a58948bd4080535efa4c7f895759a73d;hp=8752e2304de7cd3b100a8591570e411383be6fb5;hpb=0fad6cb7e7359dd0911ab54a80c1b3e10b378fd3;p=openssl.git diff --git a/config b/config index 8752e2304d..5337348703 100755 --- a/config +++ b/config @@ -27,6 +27,7 @@ RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown" SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" + # Now test for ISC and SCO, since it is has a braindamaged uname. # # We need to work around FreeBSD 1.1.5.1 @@ -50,6 +51,8 @@ if [ "x$XREL" != "x" ]; then 4.2MP) if [ "x$VERSION" = "x2.1.1" ]; then echo "${MACHINE}-whatever-unixware211"; exit 0 + elif [ "x$VERSION" = "x2.1.2" ]; then + echo "${MACHINE}-whatever-unixware212"; exit 0 else echo "${MACHINE}-whatever-unixware2"; exit 0 fi @@ -57,6 +60,11 @@ if [ "x$XREL" != "x" ]; then 4.2) echo "whatever-whatever-unixware1"; exit 0 ;; + 5) + if [ "`echo x$VERSION | sed -e 's/\..*//'`" = "x7" ]; then + echo "${MACHINE}-sco-unixware7"; exit 0 + fi + ;; esac fi fi @@ -284,6 +292,8 @@ TEST="false" for i do case "$i" in +# shared library support (behnke@trustcenter.de) +-shared) SHARED=true;; -d*) PREFIX="debug-";; -t*) TEST="true";; -h*) TEST="true"; cat <&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 +# To start with $OUT is never i86pc-sun-solaris2. Secondly why +# ban *all* assembler implementation if it can't stand only one, +# SHA-0 implementation. +#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" ;; @@ -524,14 +560,14 @@ fi # compiler for the platform ... in which case we add it on # the end ... otherwise we leave it off -$PERL ./Configure 2>&1 | grep "$OUT-$CC" > /dev/null +$PERL ./Configure LIST | grep "$OUT-$CC" > /dev/null if [ $? = "0" ]; then OUT="$OUT-$CC" fi OUT="$PREFIX$OUT" -$PERL ./Configure 2>&1 | grep "$OUT" > /dev/null +$PERL ./Configure LIST | grep "$OUT" > /dev/null if [ $? = "0" ]; then echo Configuring for $OUT