From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 21 Dec 1999 16:56:42 +0000 (+0000)
Subject: autoconf
X-Git-Tag: REL7_0~984
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04c78e2eb45ec20e02abd0aee1b8a59068ee26c1;p=postgresql

autoconf
---

diff --git a/src/configure b/src/configure
index 15cfa8d9b1..c67d0fcbee 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