summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"