X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fhost-os.m4;h=86318971f9c8013b3289a8c1cfbbf8162b7c43c4;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=739c2077a4780e58463f8edc1383e13d46f0d2b7;hpb=6c2dd0147534160fc254ebefd5ab9feeeb95281b;p=gnulib.git diff --git a/m4/host-os.m4 b/m4/host-os.m4 index 739c2077a..86318971f 100644 --- a/m4/host-os.m4 +++ b/m4/host-os.m4 @@ -1,6 +1,6 @@ -# serial 8 +# serial 9 -# Copyright (C) 2001, 2003-2004, 2006, 2009-2010 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003-2004, 2006, 2009-2014 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -66,7 +66,7 @@ AC_DEFUN([gl_HOST_OS], # from $host_os, but capitalizes its first letter. [A-Za-z]*) os=` - expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]' + expr "X$host_os" : 'X\([A-Za-z]\)' | LC_ALL=C tr '[a-z]' '[A-Z]' `` expr "X$host_os" : 'X.\([A-Za-z]*\)' `