From 2751429ce2f3b7a6d2547abc36bed93fd075ece4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 29 Nov 2011 10:49:27 +0000 Subject: [PATCH] Update to latest gnulib (RHBZ#756981). --- .gnulib | 2 +- configure.ac | 3 +++ m4/.gitignore | 41 ++++++++++++++++++++++++++--------------- 3 files changed, 30 insertions(+), 16 deletions(-) diff --git a/.gnulib b/.gnulib index 0f247f9..2ae12d7 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit 0f247f994ecf88c40563c2d264536a1aa7634b33 +Subproject commit 2ae12d77e599965beb1483c10edb1f2f290bafc1 diff --git a/configure.ac b/configure.ac index 004efaa..ba1b887 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,9 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wpacked" # Allow attribute((packed)) on structs nw="$nw -Wlong-long" # Allow long long since it's required # by xstrtoll. + nw="$nw -Wsuggest-attribute=pure" # Don't suggest pure functions. +# nw="$nw -Wsuggest-attribute=const" # Don't suggest const functions. +# nw="$nw -Wunsuffixed-float-constants" # Don't care about these. gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) diff --git a/m4/.gitignore b/m4/.gitignore index d68684b..c25720c 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -2,8 +2,9 @@ /alloca.m4 /arpa_inet_h.m4 /byteswap.m4 -/close-stream.m4 +/close.m4 /closeout.m4 +/close-stream.m4 /codeset.m4 /dos.m4 /dup2.m4 @@ -12,35 +13,39 @@ /errno_h.m4 /error.m4 /exitfail.m4 +/exponentd.m4 /extensions.m4 -/fcntl-o.m4 -/fcntl.m4 /fcntl_h.m4 +/fcntl.m4 +/fcntl-o.m4 +/fdopen.m4 /float_h.m4 /fpending.m4 /fpieee.m4 +/fstat.m4 /getcwd.m4 /getdtablesize.m4 /getopt.m4 /getpagesize.m4 /gettext.m4 -/glibc2.m4 /glibc21.m4 -/gnu-make.m4 +/glibc2.m4 /gnulib-common.m4 /gnulib-comp.m4 /gnulib-tool.m4 +/gnu-make.m4 /iconv.m4 /include_next.m4 /inline.m4 /intdiv0.m4 -/intl.m4 /intldir.m4 +/intl.m4 /intlmacosx.m4 /intmax_t.m4 -/inttypes-pri.m4 -/inttypes.m4 /inttypes_h.m4 +/inttypes.m4 +/inttypes-pri.m4 +/largefile.m4 /lcmessage.m4 /lib-ld.m4 /lib-link.m4 @@ -52,40 +57,46 @@ /lock.m4 /longlong.m4 /lstat.m4 -/malloc.m4 /malloca.m4 +/malloc.m4 /manywarnings.m4 +/math_h.m4 /mbrtowc.m4 /mbsinit.m4 /mbstate_t.m4 /memchr.m4 /mmap-anon.m4 /mode_t.m4 +/msvc-inval.m4 +/msvc-nothrow.m4 /multiarch.m4 /netinet_in_h.m4 /nls.m4 +/nocrash.m4 /onceonly.m4 /open.m4 /pathmax.m4 /po.m4 -/printf-posix.m4 /printf.m4 +/printf-posix.m4 /progtest.m4 /putenv.m4 /quotearg.m4 +/raise.m4 /rawmemchr.m4 /read.m4 /safe-read.m4 /safe-write.m4 /setenv.m4 +/signal_h.m4 /size_max.m4 /sockpfaf.m4 /ssize_t.m4 /stat.m4 /stdbool.m4 /stddef_h.m4 -/stdint.m4 /stdint_h.m4 +/stdint.m4 /stdio_h.m4 /stdlib_h.m4 /strchrnul.m4 @@ -93,10 +104,10 @@ /string_h.m4 /strndup.m4 /strnlen.m4 -/strtol.m4 /strtoll.m4 -/strtoul.m4 +/strtol.m4 /strtoull.m4 +/strtoul.m4 /symlink.m4 /sys_socket_h.m4 /sys_stat_h.m4 @@ -107,10 +118,10 @@ /vasnprintf.m4 /vasprintf.m4 /visibility.m4 -/warn-on-use.m4 /warnings.m4 -/wchar.m4 +/warn-on-use.m4 /wchar_h.m4 +/wchar.m4 /wchar_t.m4 /wctob.m4 /wctype.m4 -- 1.8.3.1