configure.ac: Incredibly enough, tr(1) on Solaris doesn't understand A-Z syntax for ranges.

This commit is contained in:
Peter Simons 2010-06-24 17:51:24 +00:00
parent 4c21c016c5
commit d63375d529

View file

@ -10,8 +10,8 @@ AC_CANONICAL_HOST
# Construct a Nix system name (like "i686-linux"). # Construct a Nix system name (like "i686-linux").
AC_MSG_CHECKING([for the canonical Nix system name]) AC_MSG_CHECKING([for the canonical Nix system name])
cpu_name=$(uname -p | tr 'A-Z ' 'a-z_') cpu_name=$(uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' 'abcdefghijklmnopqrstuvwxyz_')
machine_name=$(uname -m | tr 'A-Z ' 'a-z_') machine_name=$(uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' 'abcdefghijklmnopqrstuvwxyz_')
case $machine_name in case $machine_name in
i*86) i*86)
@ -30,7 +30,7 @@ case $machine_name in
;; ;;
esac esac
sys_name=$(uname -s | tr 'A-Z ' 'a-z_') sys_name=$(uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ ' 'abcdefghijklmnopqrstuvwxyz_')
case $sys_name in case $sys_name in
cygwin*) cygwin*)