X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fhost-os.m4;h=f76f907c77f48a83342dfdb319ad703dee756589;hb=a0dccde75e6a3b9c930e3577fae7a5bf9351ec09;hp=0f6241404081f9657ef593eecbb652777fd04e77;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/m4/host-os.m4 b/m4/host-os.m4 index 0f6241404..f76f907c7 100644 --- a/m4/host-os.m4 +++ b/m4/host-os.m4 @@ -1,6 +1,6 @@ -# serial 7 +# serial 9 -# Copyright (C) 2001, 2003-2004, 2006, 2009-2010 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003-2004, 2006, 2009-2012 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. @@ -40,6 +40,7 @@ AC_DEFUN([gl_HOST_OS], nonstopux*) os='NonStop-UX';; netbsd*-gnu*) os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland netbsd*) os='NetBSD';; + mirbsd*) os='MirBSD';; knetbsd*-gnu) os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland kfreebsd*-gnu) os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland msdosdjgpp*) os='DJGPP';; @@ -65,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]*\)' `