Various PowerPC config updates.
[openssl.git] / config
diff --git a/config b/config
index 3e217740e609e88148c7a7d2a01c9a7f9908f7c7..81b5d260ab9e8e11e9e5997dd884d496370c728a 100755 (executable)
--- a/config
+++ b/config
@@ -756,7 +756,7 @@ case "$GUESSOS" in
                fi
            fi
        fi
                fi
            fi
        fi
-       if (lsattr -E -O -l proc0 | grep -i powerpc) >/dev/null 2>&1; then
+       if (lsattr -E -O -l `lsdev -c processor|awk '{print$1;exit}'` | grep -i powerpc) >/dev/null 2>&1; then
            :   # this applies even to Power3 and later, as they return PowerPC_POWER[345]
        else
            options="$options no-asm"
            :   # this applies even to Power3 and later, as they return PowerPC_POWER[345]
        else
            options="$options no-asm"