summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-19 16:19:29 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-19 16:19:29 (GMT)
commit2242fd1c221ddfb65ca4240717b1cb87ba09c72c (patch)
tree126385f4a3ef6c3f37904bab0765c856b349ec39
parente7abf4e2c39f14a0a7c9fc68f32384aeafea600f (diff)
downloadcpython-2242fd1c221ddfb65ca4240717b1cb87ba09c72c.zip
cpython-2242fd1c221ddfb65ca4240717b1cb87ba09c72c.tar.gz
cpython-2242fd1c221ddfb65ca4240717b1cb87ba09c72c.tar.bz2
fix several bugs in tr argument lists
-rwxr-xr-xconfigure8
-rw-r--r--configure.in6
2 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index d6c17e9..b3b9683 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.22
+# From configure.in Revision: 1.24
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.4
@@ -1216,10 +1216,10 @@ fi
echo $ac_n "checking MACHDEP""... $ac_c" 1>&6
if test -z "$MACHDEP"
then
- ac_sys_system=`uname -s | tr -d '[/ ]' | tr '[A-Z]' '[a-z]'`
- ac_sys_release=`uname -r | tr -d '[/ ]' | sed 's/\..*//'`
+ ac_sys_system=`uname -s | tr -d '/ ' | tr '[A-Z]' '[a-z]'`
+ ac_sys_release=`uname -r | tr -d '/ ' | sed 's/\..*//'`
ac_sys_cpu=`(uname -p 2>/dev/null || uname -m) |
- tr '[A-Z]' '[-a-z]'`
+ tr '[A-Z]' '[a-z]'`
## MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu"
MACHDEP="$ac_sys_system$ac_sys_release"
case MACHDEP in
diff --git a/configure.in b/configure.in
index 0ac4c80..7dc63c8 100644
--- a/configure.in
+++ b/configure.in
@@ -79,10 +79,10 @@ AC_SUBST(MACHDEP)
AC_MSG_CHECKING(MACHDEP)
if test -z "$MACHDEP"
then
- ac_sys_system=`uname -s | tr -d '[[/ ]]' | tr '[[A-Z]]' '[[a-z]]'`
- ac_sys_release=`uname -r | tr -d '[[/ ]]' | sed 's/\..*//'`
+ ac_sys_system=`uname -s | tr -d '[/ ]' | tr '[[A-Z]]' '[[a-z]]'`
+ ac_sys_release=`uname -r | tr -d '[/ ]' | sed 's/\..*//'`
ac_sys_cpu=`(uname -p 2>/dev/null || uname -m) |
- tr '[[A-Z]]' '[[-a-z]]'`
+ tr '[[A-Z]]' '[[a-z]]'`
## MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu"
MACHDEP="$ac_sys_system$ac_sys_release"
case MACHDEP in