X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fhost-os.m4;h=f76f907c77f48a83342dfdb319ad703dee756589;hb=e578c035beb87cbb34c3cadfd9e7ee5639bfcfa8;hp=199c23906376b44f6c3db950a5ca465b7e0413e2;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/m4/host-os.m4 b/m4/host-os.m4 index 199c23906..f76f907c7 100644 --- a/m4/host-os.m4 +++ b/m4/host-os.m4 @@ -1,4 +1,4 @@ -# serial 8 +# serial 9 # Copyright (C) 2001, 2003-2004, 2006, 2009-2012 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -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]*\)' `