diff --git a/src/configure.in b/src/configure.in index 3e97ab4331..3d8b6b7305 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"