Changes for QNX: there is no thread support, and the previous
[openssl.git] / config
diff --git a/config b/config
index 0155a6ac839daf2e90988268c968a6c018add1db..9f9e50217469bbffc923b932cae4448d1a502532 100755 (executable)
--- a/config
+++ b/config
@@ -61,7 +61,7 @@ if [ "x$XREL" != "x" ]; then
                echo "whatever-whatever-unixware1"; exit 0
                ;;
            5)
-               if [ "x$VERSION" = "x7" ]; then
+               if [ "`echo x$VERSION | sed -e 's/\..*//'`" = "x7" ]; then
                    echo "${MACHINE}-sco-unixware7"; exit 0
                fi
                ;;
@@ -164,7 +164,7 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
         ;;
 
     NetBSD:*:*:*386*)
-        echo "`sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'`-whateve\r-netbsd"; exit 0
+        echo "`/usr/sbin/sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0
        ;;
 
     NetBSD:*)
@@ -181,11 +181,11 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
 
     QNX:*)
        case "$VERSION" in
-           423)
-               echo "${MACHINE}-qssl-qnx32"
+           4*)
+               echo "${MACHINE}-whatever-qnx4"
                ;;
            *)
-               echo "${MACHINE}-qssl-qnx"
+               echo "${MACHINE}-whatever-qnx"
                ;;
        esac
        exit 0
@@ -407,6 +407,8 @@ case "$GUESSOS" in
        ;;
   mips-*-linux?) OUT="linux-mips" ;;
   ppc-*-linux2) OUT="linux-ppc" ;;
+  m68k-*-linux*) OUT="linux-m68k" ;;
+  ia64-*-linux?) OUT="linux-ia64" ;;
   ppc-apple-rhapsody) OUT="rhapsody-ppc-cc" ;;
   sparc64-*-linux2)
        #Before we can uncomment following lines we have to wait at least
@@ -424,6 +426,7 @@ case "$GUESSOS" in
        sun4d)  OUT="linux-sparcv8" ;;
        *)      OUT="linux-sparcv7" ;;
        esac ;;
+  arm*-*-linux2) OUT="linux-elf-arm" ;;
   *-*-linux2) OUT="linux-elf" ;;
   *-*-linux1) OUT="linux-aout" ;;
   sun4u*-sun-solaris2)
@@ -556,7 +559,7 @@ OUT="$PREFIX$OUT"
 
 $PERL ./Configure LIST | grep "$OUT" > /dev/null
 if [ $? = "0" ]; then
-  echo Configuring for $OUT
+  #echo Configuring for $OUT
 
   if [ "$TEST" = "true" ]; then
     echo $PERL ./Configure $OUT $options