Only try to remove the tsa.dir subdirectory if it actually exists.
[openssl.git] / config
diff --git a/config b/config
index 9cb837e80206a95c6a69c948dfdded336f2f7340..6583959479a12e282a0b5426336b69f9b13dfd9d 100755 (executable)
--- a/config
+++ b/config
@@ -406,7 +406,7 @@ if [ "$GCCVER" != "" ]; then
   CC=gcc
   # then strip off whatever prefix egcs prepends the number with...
   # Hopefully, this will work for any future prefixes as well.
-  GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
+  GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'`
   # Since gcc 3.1 gcc --version behaviour has changed.  gcc -dumpversion
   # does give us what we want though, so we use that.  We just just the
   # major and minor version numbers.
@@ -745,7 +745,7 @@ case "$GUESSOS" in
                fi
            fi
        fi
-       if (lsattr -E -O -l proc0 | grep -i powepc) >/dev/null 2>&1; then
+       if (lsattr -E -O -l proc0 | 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"