From 9526d056186004468f92b3c2b449af2bedb8ac67 Mon Sep 17 00:00:00 2001 From: wl Date: Thu, 7 Feb 2013 11:34:49 +0000 Subject: * src/libs/gnulib/*: Update `gnulib' files. --- src/libs/gnulib/build-aux/snippet/arg-nonnull.h | 2 +- src/libs/gnulib/build-aux/snippet/c++defs.h | 2 +- src/libs/gnulib/build-aux/snippet/warn-on-use.h | 2 +- src/libs/gnulib/config.h.in | 63 +++++++++++++------------ src/libs/gnulib/configure | 11 +---- src/libs/gnulib/lib/Makefile.am | 4 +- src/libs/gnulib/lib/Makefile.in | 4 +- src/libs/gnulib/lib/config.charset | 2 +- src/libs/gnulib/lib/intprops.h | 2 +- src/libs/gnulib/lib/inttypes.in.h | 2 +- src/libs/gnulib/lib/localcharset.c | 2 +- src/libs/gnulib/lib/localcharset.h | 2 +- src/libs/gnulib/lib/ref-add.sin | 2 +- src/libs/gnulib/lib/ref-del.sin | 2 +- src/libs/gnulib/lib/stdbool.in.h | 2 +- src/libs/gnulib/lib/stddef.in.h | 2 +- src/libs/gnulib/lib/stdint.in.h | 4 +- src/libs/gnulib/lib/streq.h | 2 +- src/libs/gnulib/lib/unitypes.in.h | 2 +- src/libs/gnulib/lib/uniwidth.in.h | 2 +- src/libs/gnulib/lib/uniwidth/cjk.h | 2 +- src/libs/gnulib/lib/uniwidth/width.c | 2 +- src/libs/gnulib/lib/verify.h | 2 +- src/libs/gnulib/lib/wchar.in.h | 2 +- src/libs/gnulib/lib/wctype.in.h | 2 +- src/libs/gnulib/lib/wcwidth.c | 2 +- src/libs/gnulib/m4/00gnulib.m4 | 2 +- src/libs/gnulib/m4/codeset.m4 | 2 +- src/libs/gnulib/m4/configmake.m4 | 2 +- src/libs/gnulib/m4/extensions.m4 | 30 ++++++------ src/libs/gnulib/m4/extern-inline.m4 | 2 +- src/libs/gnulib/m4/fcntl-o.m4 | 2 +- src/libs/gnulib/m4/glibc21.m4 | 2 +- src/libs/gnulib/m4/gnulib-cache.m4 | 6 +-- src/libs/gnulib/m4/gnulib-common.m4 | 2 +- src/libs/gnulib/m4/gnulib-comp.m4 | 6 +-- src/libs/gnulib/m4/gnulib-tool.m4 | 2 +- src/libs/gnulib/m4/include_next.m4 | 2 +- src/libs/gnulib/m4/inttypes-pri.m4 | 2 +- src/libs/gnulib/m4/inttypes.m4 | 2 +- src/libs/gnulib/m4/libunistring-base.m4 | 2 +- src/libs/gnulib/m4/localcharset.m4 | 2 +- src/libs/gnulib/m4/longlong.m4 | 2 +- src/libs/gnulib/m4/multiarch.m4 | 2 +- src/libs/gnulib/m4/onceonly.m4 | 2 +- src/libs/gnulib/m4/stdbool.m4 | 2 +- src/libs/gnulib/m4/stddef_h.m4 | 2 +- src/libs/gnulib/m4/stdint.m4 | 2 +- src/libs/gnulib/m4/warn-on-use.m4 | 2 +- src/libs/gnulib/m4/wchar_h.m4 | 2 +- src/libs/gnulib/m4/wchar_t.m4 | 2 +- src/libs/gnulib/m4/wctype_h.m4 | 2 +- src/libs/gnulib/m4/wcwidth.m4 | 2 +- src/libs/gnulib/m4/wint_t.m4 | 2 +- 54 files changed, 108 insertions(+), 112 deletions(-) (limited to 'src') diff --git a/src/libs/gnulib/build-aux/snippet/arg-nonnull.h b/src/libs/gnulib/build-aux/snippet/arg-nonnull.h index 3a9dd266..8ea2a474 100644 --- a/src/libs/gnulib/build-aux/snippet/arg-nonnull.h +++ b/src/libs/gnulib/build-aux/snippet/arg-nonnull.h @@ -1,5 +1,5 @@ /* A C macro for declaring that specific arguments must not be NULL. - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/src/libs/gnulib/build-aux/snippet/c++defs.h b/src/libs/gnulib/build-aux/snippet/c++defs.h index 96da94b9..b35b933c 100644 --- a/src/libs/gnulib/build-aux/snippet/c++defs.h +++ b/src/libs/gnulib/build-aux/snippet/c++defs.h @@ -1,5 +1,5 @@ /* C++ compatible function declaration macros. - Copyright (C) 2010-2012 Free Software Foundation, Inc. + Copyright (C) 2010-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/src/libs/gnulib/build-aux/snippet/warn-on-use.h b/src/libs/gnulib/build-aux/snippet/warn-on-use.h index 51e69bbd..1736a1bd 100644 --- a/src/libs/gnulib/build-aux/snippet/warn-on-use.h +++ b/src/libs/gnulib/build-aux/snippet/warn-on-use.h @@ -1,5 +1,5 @@ /* A C macro for emitting warnings if a function is used. - Copyright (C) 2010-2012 Free Software Foundation, Inc. + Copyright (C) 2010-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/src/libs/gnulib/config.h.in b/src/libs/gnulib/config.h.in index 32cb86b1..8d3f3b31 100644 --- a/src/libs/gnulib/config.h.in +++ b/src/libs/gnulib/config.h.in @@ -300,6 +300,37 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on OS X. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, + regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ +#ifdef __hpux +# define _XOPEN_SOURCE 500 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + /* Version number of package */ #undef VERSION @@ -314,6 +345,9 @@ /* Define to 1 if on MINIX. */ #undef _MINIX +/* Define to 1 to make NetBSD features available. MINIX 3 needs this. */ +#undef _NETBSD_SOURCE + /* The _Noreturn keyword of C11. */ #if ! (defined _Noreturn \ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) @@ -335,35 +369,6 @@ /* Define to 1 if you need to in order for 'stat' and other things to work. */ #undef _POSIX_SOURCE -/* Define to 500 only on HP-UX. */ -#undef _XOPEN_SOURCE - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif -/* Enable general extensions on Mac OS X. */ -#ifndef _DARWIN_C_SOURCE -# undef _DARWIN_C_SOURCE -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# undef _POSIX_PTHREAD_SEMANTICS -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# undef _TANDEM_SOURCE -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ -#endif - - /* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'. _GL_EXTERN_INLINE is a portable alternative to 'extern inline'. _GL_INLINE_HEADER_BEGIN contains useful stuff to put diff --git a/src/libs/gnulib/configure b/src/libs/gnulib/configure index 6a1df05f..9d9698b0 100755 --- a/src/libs/gnulib/configure +++ b/src/libs/gnulib/configure @@ -4995,8 +4995,6 @@ done - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes @@ -5015,15 +5013,10 @@ $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h - fi - - case "$host_os" in - hpux*) -$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h +$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h - ;; - esac + fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 diff --git a/src/libs/gnulib/lib/Makefile.am b/src/libs/gnulib/lib/Makefile.am index 14127a7d..e4f588c0 100644 --- a/src/libs/gnulib/lib/Makefile.am +++ b/src/libs/gnulib/lib/Makefile.am @@ -1,6 +1,6 @@ ## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. -# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. -# Reproduce by: gnulib-tool --import --dir=src/libs/gnulib/ --local-dir=~/git/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth +# Reproduce by: gnulib-tool --import --dir=src/libs/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects diff --git a/src/libs/gnulib/lib/Makefile.in b/src/libs/gnulib/lib/Makefile.in index 6cee0d49..f32024c4 100644 --- a/src/libs/gnulib/lib/Makefile.in +++ b/src/libs/gnulib/lib/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. -# Reproduce by: gnulib-tool --import --dir=src/libs/gnulib/ --local-dir=~/git/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth +# Reproduce by: gnulib-tool --import --dir=src/libs/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth diff --git a/src/libs/gnulib/lib/config.charset b/src/libs/gnulib/lib/config.charset index 0a3b343a..a991419c 100644 --- a/src/libs/gnulib/lib/config.charset +++ b/src/libs/gnulib/lib/config.charset @@ -1,7 +1,7 @@ #! /bin/sh # Output a system dependent table of character encoding aliases. # -# Copyright (C) 2000-2004, 2006-2012 Free Software Foundation, Inc. +# Copyright (C) 2000-2004, 2006-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/intprops.h b/src/libs/gnulib/lib/intprops.h index 2485c78d..b473052d 100644 --- a/src/libs/gnulib/lib/intprops.h +++ b/src/libs/gnulib/lib/intprops.h @@ -1,6 +1,6 @@ /* intprops.h -- properties of integer types - Copyright (C) 2001-2005, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2001-2005, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/inttypes.in.h b/src/libs/gnulib/lib/inttypes.in.h index b9da2b5b..1893f556 100644 --- a/src/libs/gnulib/lib/inttypes.in.h +++ b/src/libs/gnulib/lib/inttypes.in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2006-2012 Free Software Foundation, Inc. +/* Copyright (C) 2006-2013 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Derek Price. This file is part of gnulib. diff --git a/src/libs/gnulib/lib/localcharset.c b/src/libs/gnulib/lib/localcharset.c index 8d16c87a..953cc1e7 100644 --- a/src/libs/gnulib/lib/localcharset.c +++ b/src/libs/gnulib/lib/localcharset.c @@ -1,6 +1,6 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2006, 2008-2012 Free Software Foundation, Inc. + Copyright (C) 2000-2006, 2008-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/localcharset.h b/src/libs/gnulib/lib/localcharset.h index 39dc5939..c2098298 100644 --- a/src/libs/gnulib/lib/localcharset.h +++ b/src/libs/gnulib/lib/localcharset.h @@ -1,5 +1,5 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2003, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2000-2003, 2009-2013 Free Software Foundation, Inc. This file is part of the GNU CHARSET Library. This program is free software; you can redistribute it and/or modify diff --git a/src/libs/gnulib/lib/ref-add.sin b/src/libs/gnulib/lib/ref-add.sin index 4ec043f8..112bcdc6 100644 --- a/src/libs/gnulib/lib/ref-add.sin +++ b/src/libs/gnulib/lib/ref-add.sin @@ -1,6 +1,6 @@ # Add this package to a list of references stored in a text file. # -# Copyright (C) 2000, 2009-2012 Free Software Foundation, Inc. +# Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/ref-del.sin b/src/libs/gnulib/lib/ref-del.sin index eb038811..6f738684 100644 --- a/src/libs/gnulib/lib/ref-del.sin +++ b/src/libs/gnulib/lib/ref-del.sin @@ -1,6 +1,6 @@ # Remove this package from a list of references stored in a text file. # -# Copyright (C) 2000, 2009-2012 Free Software Foundation, Inc. +# Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/stdbool.in.h b/src/libs/gnulib/lib/stdbool.in.h index 1261936a..0c871ecc 100644 --- a/src/libs/gnulib/lib/stdbool.in.h +++ b/src/libs/gnulib/lib/stdbool.in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2003, 2006-2012 Free Software Foundation, Inc. +/* Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify diff --git a/src/libs/gnulib/lib/stddef.in.h b/src/libs/gnulib/lib/stddef.in.h index 17fcaea2..40f0536a 100644 --- a/src/libs/gnulib/lib/stddef.in.h +++ b/src/libs/gnulib/lib/stddef.in.h @@ -1,6 +1,6 @@ /* A substitute for POSIX 2008 , for platforms that have issues. - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/stdint.in.h b/src/libs/gnulib/lib/stdint.in.h index e2a0eb19..2db8b2e3 100644 --- a/src/libs/gnulib/lib/stdint.in.h +++ b/src/libs/gnulib/lib/stdint.in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2002, 2004-2012 Free Software Foundation, Inc. +/* Copyright (C) 2001-2002, 2004-2013 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. This file is part of gnulib. @@ -39,7 +39,7 @@ Ideally we should test __BIONIC__ here, but it is only defined after has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ \ - && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ + && defined _SYS_TYPES_H_ && !defined __need_size_t # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else diff --git a/src/libs/gnulib/lib/streq.h b/src/libs/gnulib/lib/streq.h index b312f7f9..12c1867c 100644 --- a/src/libs/gnulib/lib/streq.h +++ b/src/libs/gnulib/lib/streq.h @@ -1,5 +1,5 @@ /* Optimized string comparison. - Copyright (C) 2001-2002, 2007, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2007, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/src/libs/gnulib/lib/unitypes.in.h b/src/libs/gnulib/lib/unitypes.in.h index e642b7a3..06eef05c 100644 --- a/src/libs/gnulib/lib/unitypes.in.h +++ b/src/libs/gnulib/lib/unitypes.in.h @@ -1,5 +1,5 @@ /* Elementary types and macros for the GNU UniString library. - Copyright (C) 2002, 2005-2006, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2002, 2005-2006, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/src/libs/gnulib/lib/uniwidth.in.h b/src/libs/gnulib/lib/uniwidth.in.h index b90ce198..8931cc9b 100644 --- a/src/libs/gnulib/lib/uniwidth.in.h +++ b/src/libs/gnulib/lib/uniwidth.in.h @@ -1,5 +1,5 @@ /* Display width functions. - Copyright (C) 2001-2002, 2005, 2007, 2009-2012 Free Software Foundation, + Copyright (C) 2001-2002, 2005, 2007, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it diff --git a/src/libs/gnulib/lib/uniwidth/cjk.h b/src/libs/gnulib/lib/uniwidth/cjk.h index d75c94f1..11b14dfe 100644 --- a/src/libs/gnulib/lib/uniwidth/cjk.h +++ b/src/libs/gnulib/lib/uniwidth/cjk.h @@ -1,5 +1,5 @@ /* Test for CJK encoding. - Copyright (C) 2001-2002, 2005-2007, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2005-2007, 2009-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software: you can redistribute it and/or modify it diff --git a/src/libs/gnulib/lib/uniwidth/width.c b/src/libs/gnulib/lib/uniwidth/width.c index b6e2c334..173d0872 100644 --- a/src/libs/gnulib/lib/uniwidth/width.c +++ b/src/libs/gnulib/lib/uniwidth/width.c @@ -1,5 +1,5 @@ /* Determine display width of Unicode character. - Copyright (C) 2001-2002, 2006-2012 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2006-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software: you can redistribute it and/or modify it diff --git a/src/libs/gnulib/lib/verify.h b/src/libs/gnulib/lib/verify.h index 0c320b19..cb8e90b5 100644 --- a/src/libs/gnulib/lib/verify.h +++ b/src/libs/gnulib/lib/verify.h @@ -1,6 +1,6 @@ /* Compile-time assert-like macros. - Copyright (C) 2005-2006, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/wchar.in.h b/src/libs/gnulib/lib/wchar.in.h index f9bc30c0..b6e43627 100644 --- a/src/libs/gnulib/lib/wchar.in.h +++ b/src/libs/gnulib/lib/wchar.in.h @@ -1,6 +1,6 @@ /* A substitute for ISO C99 , for platforms that have issues. - Copyright (C) 2007-2012 Free Software Foundation, Inc. + Copyright (C) 2007-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/wctype.in.h b/src/libs/gnulib/lib/wctype.in.h index 3c98fa3e..0cd02d5a 100644 --- a/src/libs/gnulib/lib/wctype.in.h +++ b/src/libs/gnulib/lib/wctype.in.h @@ -1,6 +1,6 @@ /* A substitute for ISO C99 , for platforms that lack it. - Copyright (C) 2006-2012 Free Software Foundation, Inc. + Copyright (C) 2006-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/lib/wcwidth.c b/src/libs/gnulib/lib/wcwidth.c index 44503b04..253fcaa6 100644 --- a/src/libs/gnulib/lib/wcwidth.c +++ b/src/libs/gnulib/lib/wcwidth.c @@ -1,5 +1,5 @@ /* Determine the number of screen columns needed for a character. - Copyright (C) 2006-2007, 2010-2012 Free Software Foundation, Inc. + Copyright (C) 2006-2007, 2010-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/libs/gnulib/m4/00gnulib.m4 b/src/libs/gnulib/m4/00gnulib.m4 index d978cb89..d4ad759f 100644 --- a/src/libs/gnulib/m4/00gnulib.m4 +++ b/src/libs/gnulib/m4/00gnulib.m4 @@ -1,5 +1,5 @@ # 00gnulib.m4 serial 2 -dnl Copyright (C) 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/codeset.m4 b/src/libs/gnulib/m4/codeset.m4 index cf53d241..c2761be2 100644 --- a/src/libs/gnulib/m4/codeset.m4 +++ b/src/libs/gnulib/m4/codeset.m4 @@ -1,5 +1,5 @@ # codeset.m4 serial 5 (gettext-0.18.2) -dnl Copyright (C) 2000-2002, 2006, 2008-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2000-2002, 2006, 2008-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/configmake.m4 b/src/libs/gnulib/m4/configmake.m4 index 8c82371e..823ffc0d 100644 --- a/src/libs/gnulib/m4/configmake.m4 +++ b/src/libs/gnulib/m4/configmake.m4 @@ -1,5 +1,5 @@ # configmake.m4 serial 1 -dnl Copyright (C) 2010-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/extensions.m4 b/src/libs/gnulib/m4/extensions.m4 index 6d17d8a7..33daf385 100644 --- a/src/libs/gnulib/m4/extensions.m4 +++ b/src/libs/gnulib/m4/extensions.m4 @@ -1,7 +1,7 @@ -# serial 12 -*- Autoconf -*- +# serial 13 -*- Autoconf -*- # Enable extensions on systems that normally disable them. -# Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc. +# Copyright (C) 2003, 2006-2013 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. @@ -30,6 +30,7 @@ # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. +# # Remember that #undef in AH_VERBATIM gets replaced with #define by # AC_DEFINE. The goal here is to define all known feature-enabling # macros, then, if reports of conflicts are made, disable macros that @@ -38,8 +39,6 @@ AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl AC_BEFORE([$0], [AC_RUN_IFELSE])dnl - AC_REQUIRE([AC_CANONICAL_HOST]) - AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) if test "$MINIX" = yes; then AC_DEFINE([_POSIX_SOURCE], [1], @@ -50,24 +49,18 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl except with this defined.]) AC_DEFINE([_MINIX], [1], [Define to 1 if on MINIX.]) + AC_DEFINE([_NETBSD_SOURCE], [1], + [Define to 1 to make NetBSD features available. MINIX 3 needs this.]) fi - dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, - dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already - dnl provided. - case "$host_os" in - hpux*) - AC_DEFINE([_XOPEN_SOURCE], [500], - [Define to 500 only on HP-UX.]) - ;; - esac - - AH_VERBATIM([__EXTENSIONS__], +dnl Use a different key than __EXTENSIONS__, as that name broke existing +dnl configure.ac when using autoheader 2.62. + AH_VERBATIM([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif -/* Enable general extensions on Mac OS X. */ +/* Enable general extensions on OS X. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif @@ -75,6 +68,11 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif +/* HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, + regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ +#ifdef __hpux +# define _XOPEN_SOURCE 500 +#endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS diff --git a/src/libs/gnulib/m4/extern-inline.m4 b/src/libs/gnulib/m4/extern-inline.m4 index 0a9fc9a7..5880d4f4 100644 --- a/src/libs/gnulib/m4/extern-inline.m4 +++ b/src/libs/gnulib/m4/extern-inline.m4 @@ -1,6 +1,6 @@ dnl 'extern inline' a la ISO C99. -dnl Copyright 2012 Free Software Foundation, Inc. +dnl Copyright 2012-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/fcntl-o.m4 b/src/libs/gnulib/m4/fcntl-o.m4 index 740e78b6..87cc4bd2 100644 --- a/src/libs/gnulib/m4/fcntl-o.m4 +++ b/src/libs/gnulib/m4/fcntl-o.m4 @@ -1,5 +1,5 @@ # fcntl-o.m4 serial 4 -dnl Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/glibc21.m4 b/src/libs/gnulib/m4/glibc21.m4 index c938fb1a..613fb2a4 100644 --- a/src/libs/gnulib/m4/glibc21.m4 +++ b/src/libs/gnulib/m4/glibc21.m4 @@ -1,5 +1,5 @@ # glibc21.m4 serial 5 -dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2012 Free Software Foundation, +dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2013 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, diff --git a/src/libs/gnulib/m4/gnulib-cache.m4 b/src/libs/gnulib/m4/gnulib-cache.m4 index bdd5c598..fa5b6275 100644 --- a/src/libs/gnulib/m4/gnulib-cache.m4 +++ b/src/libs/gnulib/m4/gnulib-cache.m4 @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,10 +27,10 @@ # Specification in the form of a command-line invocation: -# gnulib-tool --import --dir=src/libs/gnulib/ --local-dir=~/git/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth +# gnulib-tool --import --dir=src/libs/gnulib --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl wcwidth # Specification in the form of a few gnulib-tool.m4 macro invocations: -gl_LOCAL_DIR([../../../~/git/gnulib]) +gl_LOCAL_DIR([]) gl_MODULES([ wcwidth ]) diff --git a/src/libs/gnulib/m4/gnulib-common.m4 b/src/libs/gnulib/m4/gnulib-common.m4 index f3ba8d56..0ae5a9ec 100644 --- a/src/libs/gnulib/m4/gnulib-common.m4 +++ b/src/libs/gnulib/m4/gnulib-common.m4 @@ -1,5 +1,5 @@ # gnulib-common.m4 serial 33 -dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/gnulib-comp.m4 b/src/libs/gnulib/m4/gnulib-comp.m4 index e9556ede..70212866 100644 --- a/src/libs/gnulib/m4/gnulib-comp.m4 +++ b/src/libs/gnulib/m4/gnulib-comp.m4 @@ -1,5 +1,5 @@ # DO NOT EDIT! GENERATED AUTOMATICALLY! -# Copyright (C) 2002-2012 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ # other built files. -# This macro should be invoked from src/libs/gnulib//configure.ac, in the section +# This macro should be invoked from src/libs/gnulib/configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([gl_EARLY], @@ -60,7 +60,7 @@ AC_DEFUN([gl_EARLY], # Code from module wcwidth: ]) -# This macro should be invoked from src/libs/gnulib//configure.ac, in the section +# This macro should be invoked from src/libs/gnulib/configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ diff --git a/src/libs/gnulib/m4/gnulib-tool.m4 b/src/libs/gnulib/m4/gnulib-tool.m4 index a09ffc1d..f3dea1a9 100644 --- a/src/libs/gnulib/m4/gnulib-tool.m4 +++ b/src/libs/gnulib/m4/gnulib-tool.m4 @@ -1,5 +1,5 @@ # gnulib-tool.m4 serial 2 -dnl Copyright (C) 2004-2005, 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2004-2005, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/include_next.m4 b/src/libs/gnulib/m4/include_next.m4 index a60a2614..108d9456 100644 --- a/src/libs/gnulib/m4/include_next.m4 +++ b/src/libs/gnulib/m4/include_next.m4 @@ -1,5 +1,5 @@ # include_next.m4 serial 23 -dnl Copyright (C) 2006-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/inttypes-pri.m4 b/src/libs/gnulib/m4/inttypes-pri.m4 index 977206fa..e5a1e057 100644 --- a/src/libs/gnulib/m4/inttypes-pri.m4 +++ b/src/libs/gnulib/m4/inttypes-pri.m4 @@ -1,5 +1,5 @@ # inttypes-pri.m4 serial 7 (gettext-0.18.2) -dnl Copyright (C) 1997-2002, 2006, 2008-2012 Free Software Foundation, Inc. +dnl Copyright (C) 1997-2002, 2006, 2008-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/inttypes.m4 b/src/libs/gnulib/m4/inttypes.m4 index eec4f41d..3b483d39 100644 --- a/src/libs/gnulib/m4/inttypes.m4 +++ b/src/libs/gnulib/m4/inttypes.m4 @@ -1,5 +1,5 @@ # inttypes.m4 serial 26 -dnl Copyright (C) 2006-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/libunistring-base.m4 b/src/libs/gnulib/m4/libunistring-base.m4 index d91c42b9..d105c721 100644 --- a/src/libs/gnulib/m4/libunistring-base.m4 +++ b/src/libs/gnulib/m4/libunistring-base.m4 @@ -1,5 +1,5 @@ # libunistring-base.m4 serial 5 -dnl Copyright (C) 2010-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/localcharset.m4 b/src/libs/gnulib/m4/localcharset.m4 index 8010379b..2e93e581 100644 --- a/src/libs/gnulib/m4/localcharset.m4 +++ b/src/libs/gnulib/m4/localcharset.m4 @@ -1,5 +1,5 @@ # localcharset.m4 serial 7 -dnl Copyright (C) 2002, 2004, 2006, 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2002, 2004, 2006, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/longlong.m4 b/src/libs/gnulib/m4/longlong.m4 index b9c65c75..3af6ab5a 100644 --- a/src/libs/gnulib/m4/longlong.m4 +++ b/src/libs/gnulib/m4/longlong.m4 @@ -1,5 +1,5 @@ # longlong.m4 serial 17 -dnl Copyright (C) 1999-2007, 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 1999-2007, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/multiarch.m4 b/src/libs/gnulib/m4/multiarch.m4 index 0c288b8d..552ec7e7 100644 --- a/src/libs/gnulib/m4/multiarch.m4 +++ b/src/libs/gnulib/m4/multiarch.m4 @@ -1,5 +1,5 @@ # multiarch.m4 serial 7 -dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2008-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/onceonly.m4 b/src/libs/gnulib/m4/onceonly.m4 index 275d73c4..0a875a3d 100644 --- a/src/libs/gnulib/m4/onceonly.m4 +++ b/src/libs/gnulib/m4/onceonly.m4 @@ -1,5 +1,5 @@ # onceonly.m4 serial 9 -dnl Copyright (C) 2002-2003, 2005-2006, 2008-2012 Free Software Foundation, +dnl Copyright (C) 2002-2003, 2005-2006, 2008-2013 Free Software Foundation, dnl Inc. dnl dnl This file is free software; you can redistribute it and/or modify diff --git a/src/libs/gnulib/m4/stdbool.m4 b/src/libs/gnulib/m4/stdbool.m4 index eabfa645..80d5559a 100644 --- a/src/libs/gnulib/m4/stdbool.m4 +++ b/src/libs/gnulib/m4/stdbool.m4 @@ -1,6 +1,6 @@ # Check for stdbool.h that conforms to C99. -dnl Copyright (C) 2002-2006, 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/stddef_h.m4 b/src/libs/gnulib/m4/stddef_h.m4 index cc116096..5da8ab1e 100644 --- a/src/libs/gnulib/m4/stddef_h.m4 +++ b/src/libs/gnulib/m4/stddef_h.m4 @@ -1,6 +1,6 @@ dnl A placeholder for POSIX 2008 , for platforms that have issues. # stddef_h.m4 serial 4 -dnl Copyright (C) 2009-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2009-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/stdint.m4 b/src/libs/gnulib/m4/stdint.m4 index 28d342ea..27cdcdb9 100644 --- a/src/libs/gnulib/m4/stdint.m4 +++ b/src/libs/gnulib/m4/stdint.m4 @@ -1,5 +1,5 @@ # stdint.m4 serial 43 -dnl Copyright (C) 2001-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2001-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/warn-on-use.m4 b/src/libs/gnulib/m4/warn-on-use.m4 index a77802eb..e43beebd 100644 --- a/src/libs/gnulib/m4/warn-on-use.m4 +++ b/src/libs/gnulib/m4/warn-on-use.m4 @@ -1,5 +1,5 @@ # warn-on-use.m4 serial 5 -dnl Copyright (C) 2010-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/wchar_h.m4 b/src/libs/gnulib/m4/wchar_h.m4 index c7a8b2d7..bedb15a4 100644 --- a/src/libs/gnulib/m4/wchar_h.m4 +++ b/src/libs/gnulib/m4/wchar_h.m4 @@ -1,6 +1,6 @@ dnl A placeholder for ISO C99 , for platforms that have issues. -dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/wchar_t.m4 b/src/libs/gnulib/m4/wchar_t.m4 index 534735d8..e1e1e699 100644 --- a/src/libs/gnulib/m4/wchar_t.m4 +++ b/src/libs/gnulib/m4/wchar_t.m4 @@ -1,5 +1,5 @@ # wchar_t.m4 serial 4 (gettext-0.18.2) -dnl Copyright (C) 2002-2003, 2008-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2002-2003, 2008-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/wctype_h.m4 b/src/libs/gnulib/m4/wctype_h.m4 index 885e6fcb..82ada0ee 100644 --- a/src/libs/gnulib/m4/wctype_h.m4 +++ b/src/libs/gnulib/m4/wctype_h.m4 @@ -2,7 +2,7 @@ dnl A placeholder for ISO C99 , for platforms that lack it. -dnl Copyright (C) 2006-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/wcwidth.m4 b/src/libs/gnulib/m4/wcwidth.m4 index 5f40bcc2..740f81ee 100644 --- a/src/libs/gnulib/m4/wcwidth.m4 +++ b/src/libs/gnulib/m4/wcwidth.m4 @@ -1,5 +1,5 @@ # wcwidth.m4 serial 23 -dnl Copyright (C) 2006-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/src/libs/gnulib/m4/wint_t.m4 b/src/libs/gnulib/m4/wint_t.m4 index 3260cce3..d7cd3db9 100644 --- a/src/libs/gnulib/m4/wint_t.m4 +++ b/src/libs/gnulib/m4/wint_t.m4 @@ -1,5 +1,5 @@ # wint_t.m4 serial 5 (gettext-0.18.2) -dnl Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc. +dnl Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. -- cgit v1.2.1