summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-12-17 18:18:26 +0000
committerBruce Momjian <bruce@momjian.us>1999-12-17 18:18:26 +0000
commit9f013a552a3afb3f9fffc19d2e68cf6d5c345b05 (patch)
tree6594533bdc80c8d09421e16585827d62f3dbb3a6
parent1520f60f0e373081b412f758df2f63839335aa20 (diff)
Lowercase $host for QNX.
-rw-r--r--src/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 3e97ab4331a..3d8b6b7305c 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -92,6 +92,10 @@ AC_ARG_WITH(template,
see template directory],
[ TEMPLATE=$withval ],
[
+
+# lowercase $host
+host="`echo $host | tr '[A-Z]' '[a-z]'`"
+
# First, try for a template exactly matching $host
if test -f "template/$host"
then TEMPLATE="$host"