maint: reflect recent copyright assignment

* AUTHORS: Add Raphael Poss.

Signed-off-by: Eric Blake <eblake@redhat.com>
build: pull in various gnulib fixes

* m4/gnulib-cache.m4: Reflect spawn-pipe module name change.
* modules/gnu.c (includes): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
maint: document use of copyright ranges

* README: Copy coreutils wording for allowing copyright year
ranges.
* cfg.mk (UPDATE_COPYRIGHT_USE_INTERVALS): Now that GNU Coding
Standards permit it, prefer shorthand copyright.
* NEWS: 1.4.16 will be in 2011.
* doc/m4.texinfo (History): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
maint: update copyright year.

* all files: Run 'make update-copyright' to add 2013 to list of
copyright years.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
maint: reflect recent copyright assignments

* AUTHORS: Update.

Signed-off-by: Eric Blake <eblake@redhat.com>
maint: prefer STREQ/STRNEQ to strcmp contortions.

* m4/m4private (STRNEQ): New macro.
* m4/path.c (m4_load_filename): Use it.
* src/freeze.c (produce_frozen_state): Likewise.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
maint: update http git cloning instructions

* HACKING: Git http doesn't like the redirect at git.sv.gnu.org.
* THANKS: Update.
Reported by Mike Dupont.

Signed-off-by: Eric Blake <eblake@redhat.com>
maint: speed up normal configure.

* configure.ac (gl_ASSERT_NO_GNULIB_POSIXCHECK): Speed up normal
configure runs (and document how to rerun GNULIB_POSIXCHECK).
* HACKING: Document GNULIB_POSIXCHECK.

Signed-off-by: Eric Blake <eblake@redhat.com>
gnulib: import fclose module.

* ltdl/m4/gnulib-cache.m4: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
gnulib: use manywarnings module.

* ltdl/m4/gnulib-cache.m4: Import manywarnings. Regenerate.
* configure.ac: Support --enable-gcc-warnings configure option.
* Makeflie.am (AM_CFLAGS): Honor --enable-gcc-warnings setting.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
index: fix another regression from faulty strstr

* doc/m4.texinfo (Index macro): Test for the bug.
* THANKS: Update.
Reported by Mike Stump, with additional analysis from Ralf
Wildenhues and Jim Meyering.

Signed-off-by: Eric Blake <eblake@redhat.com>
gnulib: remove obsolete strtol module.

* ltdl/m4/gnulib-cache.m4: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
gnulib: improve SIGPIPE emulation on mingw

On mingw, even doing 'm4 --help | sed 1q' would result in
warnings about EINVAL, because mingw has odd pipe behavior
and doesn't fail with EPIPE when no one is reading the
other end.  Gnulib works around most of this.
* m4/gnulib-cache.m4: Import sigpipe module.

Signed-off-by: Eric Blake <eblake@redhat.com>
build: deal with newer glibc vs. FORTIFY_SOURCE

Recent glibc (for whatever stupid reason) decided to issue a #warning
when FORTIFY_SOURCE is requested but not possible, due to compilation
without optimization.  But when debugging sources, we don't want our
use of -Werror to kill compilation just because glibc wants to be
chatty; when debugging, we don't care about source fortification.
* configure.ac (FORTIFY_SOURCE): Make conditional on optimization.

Signed-off-by: Eric Blake <eblake@redhat.com>
doc: fix misuse of @xref

Texinfo states that @xref must start a sentence.
* doc/m4.texinfo (Inhibiting Invocation): Reword.

Signed-off-by: Eric Blake <eblake@redhat.com>
build: mark several pure functions

Found by using gcc 4.7.0's -Wsuggest-attribute=pure.
* m4/system_.h (M4_GNUC_PURE): New macro.
* m4/builtin.c (m4_builtin_find_by_name, m4_builtin_find_by_func):
Mark pure.

Signed-off-by: Eric Blake <eblake@redhat.com>
build: add more compiler checking

Enable a bit more gcc warning coverage.
* configure.ac (nw): Turn on some warnings that no longer trigger
a gcc warning, or where we reduce the scope of unwarned code.

Signed-off-by: Eric Blake <eblake@redhat.com>
maint: drop CVS cruft

These days, no one is complaining about using git as the primary
interface.  Anyone still using CVS can maintain their own ignore files.
* bootstrap.conf (vc_ignore): Drop .cvsignore.

Signed-off-by: Eric Blake <eblake@redhat.com>
doc: improve prehistory discussion

* doc/m4.texinfo (History): Describe M6 and related processors.
From a suggestion by Doug McIlroy in
<http://lists.gnu.org/archive/html/m4-discuss/2012-05/msg00004.html>.
Also, improve citation quality by giving URLs and so forth.
build: avoid problematic gcc 4.4 warnings

Warnings that make sense under newer gcc can cause spurious
failures under older gcc; it's nice to allow out-of-the-box
development on stable releases while still getting the benefit
of improved warning detection in bleeding-edge setups.
* configure.ac (nw): Disable gcc warnings that cause build
failures under RHEL 6.3.
* gnulib: Update to latest.

Signed-off-by: Eric Blake <eblake@redhat.com>