diff --git a/src/configure b/src/configure
index 15cfa8d9b16034589e72666411dc6538728da1c7..c67d0fcbee037a05383a3779fca0beee9e672500 100755
--- a/src/configure
+++ b/src/configure
@@ -701,7 +701,7 @@ else
   
 
 # lowercase $host
-host="`echo $host | tr 'A-Z' 'a-z'`"
+host="`echo $host | tr '[A-Z]' '[a-z]'`"
 
 # First, try for a template exactly matching $host
 if test -f "template/$host"
@@ -729,7 +729,7 @@ else
 	then TEMPLATE="$GUESS"
 	else
 	    # Last chance ... maybe uname -s will match an entry.
-	    TEMPLATE=`uname -s | tr A-Z a-z` 
+	    TEMPLATE=`uname -s | tr '[A-Z]' '[a-z]'` 
 	fi
     fi
 fi