From MAILER-DAEMON Thu Nov 15 00:45:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TYsGR-00071i-U0
	for mharc-m4-commit@gnu.org; Thu, 15 Nov 2012 00:45:23 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58198)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TYoQw-0007mu-TU
	for m4-commit@gnu.org; Wed, 14 Nov 2012 20:40:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TYoQt-0006I8-RX
	for m4-commit@gnu.org; Wed, 14 Nov 2012 20:39:58 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:48464)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TYoQt-0006Hy-Mf
	for m4-commit@gnu.org; Wed, 14 Nov 2012 20:39:55 -0500
Received: from eggert by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TYoQt-00061J-6a
	for m4-commit@gnu.org; Thu, 15 Nov 2012 01:39:55 +0000
Date: Thu, 15 Nov 2012 01:39:55 +0000
Message-Id: <E1TYoQt-00061J-6a@vcs.savannah.gnu.org>
From: "Paul Eggert" <eggert@cs.ucla.edu>
To: m4-commit@gnu.org
Subject: [SCM] GNU M4 source repository branch, branch-1.4,
	updated. v1.4.16-20-gd401771
X-Git-Refname: refs/heads/branch-1.4
X-Git-Reftype: branch
X-Git-Oldrev: 118378c9d104bf6b1f18931896f6cccc62a79591
X-Git-Newrev: d4017710b79aef691f1eb04f438ec7fe1b5cfc50
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-Mailman-Approved-At: Thu, 15 Nov 2012 00:45:23 -0500
X-BeenThere: m4-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: m4-patches@gnu.org
List-Id: git commit notices for  GNU m4 <m4-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/m4-commit>,
	<mailto:m4-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/m4-commit>
List-Post: <mailto:m4-commit@gnu.org>
List-Help: <mailto:m4-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/m4-commit>,
	<mailto:m4-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Nov 2012 01:40:02 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=d4017710b79aef691f1eb04f438ec7fe1b5cfc50

The branch, branch-1.4 has been updated
       via  d4017710b79aef691f1eb04f438ec7fe1b5cfc50 (commit)
      from  118378c9d104bf6b1f18931896f6cccc62a79591 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d4017710b79aef691f1eb04f438ec7fe1b5cfc50
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Nov 14 17:39:28 2012 -0800

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    8 ++++++++
 doc/m4.texinfo |   41 ++++++++++++++++++++++++++++++++---------
 2 files changed, 40 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b195961..b369e83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+	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.
+
 2012-09-21  Eric Blake  <eblake@redhat.com>
 
 	maint: drop more CVS cruft
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index f29d541..aff888b 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -349,19 +349,42 @@ debugging their @code{m4} scripts than doing real work.  Beware that
 
 @cindex history of @code{m4}
 @cindex GNU M4, history of
-@code{GPM} was an important ancestor of @code{m4}.  See
-C. Strachey: ``A General Purpose Macro generator'', Computer Journal
-8,3 (1965), pp.@: 225 ff.  @code{GPM} is also succinctly described into
-David Gries classic ``Compiler Construction for Digital Computers''.
-
-The classic B. Kernighan and P.J. Plauger: ``Software Tools'',
-Addison-Wesley, Inc.@: (1976) describes and implements a Unix
+Macro languages were invented early in the history of computing.  In the
+1950s Alan Perlis suggested that the macro language be independent of the
+language being processed.  Techniques such as conditional and recursive
+macros, and using macros to define other macros, were described by Doug
+McIlroy of Bell Labs in ``Macro Instruction Extensions of Compiler
+Languages'', @emph{Communications of the ACM} 3, 4 (1960), 214--20,
+@url{http://dx.doi.org/10.1145/367177.367223}.
+
+An important precursor of @code{m4} was GPM; see C. Strachey,
+@c The title uses lower case and has no space between "macro" and "generator".
+``A general purpose macrogenerator'', @emph{Computer Journal} 8, 3
+(1965), 225--41, @url{http://dx.doi.org/10.1093/comjnl/8.3.225}.  GPM is
+also succinctly described in David Gries's book @emph{Compiler
+Construction for Digital Computers}, Wiley (1971).  Strachey was a
+brilliant programmer: GPM fit into 250 machine instructions!
+
+Inspired by GPM while visiting Strachey's Lab in 1968, McIlroy wrote a
+model preprocessor in that fit into a page of Snobol 3 code, and McIlroy
+and Robert Morris developed a series of further models at Bell Labs.
+Andrew D. Hall followed up with M6, a general purpose macro processor
+used to port the Fortran source code of the Altran computer algebra
+system; see Hall's ``The M6 Macro Processor'', Computing Science
+Technical Report #2, Bell Labs (1972),
+@url{http://cm.bell-labs.com/cm/cs/cstr/2.pdf}.  M6's source code
+consisted of about 600 Fortran statements.  Its name was the first of
+the @code{m4} line.
+
+The Brian Kernighan and P.J. Plauger book @emph{Software Tools},
+Addison-Wesley (1976), describes and implements a Unix
 macro-processor language, which inspired Dennis Ritchie to write
 @code{m3}, a macro processor for the AP-3 minicomputer.
 
 Kernighan and Ritchie then joined forces to develop the original
-@code{m4}, as described in ``The M4 Macro Processor'', Bell
-Laboratories (1977).  It had only 21 builtin macros.
+@code{m4}, described in ``The M4 Macro Processor'', Bell Laboratories
+(1977), @url{http://wolfram.schneider.org/bsd/7thEdManVol2/m4/m4.pdf}.
+It had only 21 builtin macros.
 
 While @code{GPM} was more @emph{pure}, @code{m4} is meant to deal with
 the true intricacies of real life: macros can be recognized without


hooks/post-receive
-- 
GNU M4 source repository


From MAILER-DAEMON Mon Nov 19 17:20:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TaZhV-00029q-O5
	for mharc-m4-commit@gnu.org; Mon, 19 Nov 2012 17:20:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54419)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TaZhR-00028V-7o
	for m4-commit@gnu.org; Mon, 19 Nov 2012 17:20:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TaZhN-0001rQ-MQ
	for m4-commit@gnu.org; Mon, 19 Nov 2012 17:20:17 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:55529)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TaZhN-0001rH-JY
	for m4-commit@gnu.org; Mon, 19 Nov 2012 17:20:13 -0500
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TaZhK-0000X0-28
	for m4-commit@gnu.org; Mon, 19 Nov 2012 22:20:12 +0000
Date: Mon, 19 Nov 2012 22:20:10 +0000
Message-Id: <E1TaZhK-0000X0-28@vcs.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: m4-commit@gnu.org
Subject: [SCM] GNU M4 source repository branch, branch-1.4,
	updated. v1.4.16-21-ge0c743b
X-Git-Refname: refs/heads/branch-1.4
X-Git-Reftype: branch
X-Git-Oldrev: d4017710b79aef691f1eb04f438ec7fe1b5cfc50
X-Git-Newrev: e0c743b759a8f2dcc2dbabef3d7016fcda701a3e
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: m4-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: m4-patches@gnu.org
List-Id: git commit notices for  GNU m4 <m4-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/m4-commit>,
	<mailto:m4-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/m4-commit>
List-Post: <mailto:m4-commit@gnu.org>
List-Help: <mailto:m4-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/m4-commit>,
	<mailto:m4-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Nov 2012 22:20:20 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=e0c743b759a8f2dcc2dbabef3d7016fcda701a3e

The branch, branch-1.4 has been updated
       via  e0c743b759a8f2dcc2dbabef3d7016fcda701a3e (commit)
      from  d4017710b79aef691f1eb04f438ec7fe1b5cfc50 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e0c743b759a8f2dcc2dbabef3d7016fcda701a3e
Author: Eric Blake <eblake@redhat.com>
Date:   Mon Nov 19 14:17:53 2012 -0700

    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>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    7 +++++++
 configure.ac |   23 ++++++++++++++++++++++-
 gnulib       |    2 +-
 3 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b369e83..c415f70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-19  Eric Blake  <eblake@redhat.com>
+
+	build: avoid problematic gcc 4.4 warnings
+	* configure.ac (nw): Disable gcc warnings that cause build
+	failures under RHEL 6.3.
+	* gnulib: Update to latest.
+
 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
 
 	doc: improve prehistory discussion
diff --git a/configure.ac b/configure.ac
index e986de2..2d7ceef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,7 @@ if test "$gl_gcc_warnings" = yes; then
     [M4_cv_gcc_pragma_push_works=no])
     CFLAGS=$save_CFLAGS])
 
+  # This, $nw, is the list of warnings we disable.
   nw=
   nw="$nw -Waggregate-return"       # K&R is anachronistic
   nw="$nw -Wtraditional-conversion" # K&R is anachronistic
@@ -87,7 +88,27 @@ if test "$gl_gcc_warnings" = yes; then
   nw="$nw -Wsign-conversion"        # Too many warnings for now
   nw="$nw -Wcast-qual"              # Too many warnings for now
   nw="$nw -Wswitch-enum"            # Too many warnings for now
-  # This, $nw, is the list of warnings we disable.
+  # gcc 4.4.6 complains enum-compare is C++ only; gcc 4.7.0 implies it in -Wall
+  nw="$nw -Wenum-compare"
+
+  # Gnulib uses '#pragma GCC diagnostic push' to silence some
+  # warnings, but older gcc doesn't support this.
+  AC_CACHE_CHECK([whether pragma GCC diagnostic push works],
+    [M4_cv_gcc_pragma_push_works], [
+    save_CFLAGS=$CFLAGS
+    CFLAGS='-Wunknown-pragmas -Werror'
+    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+      #pragma GCC diagnostic push
+      #pragma GCC diagnostic pop
+    ]])],
+    [M4_cv_gcc_pragma_push_works=yes],
+    [M4_cv_gcc_pragma_push_works=no])
+    CFLAGS=$save_CFLAGS])
+  if test $M4_cv_gcc_pragma_push_works = no; then
+    nw="$nw -Wmissing-prototypes"
+    nw="$nw -Wmissing-declarations"
+    nw="$nw -Wunreachable-code"
+  fi
 
   gl_MANYWARN_ALL_GCC([ws])
   gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
diff --git a/gnulib b/gnulib
index 3a9002d..fd9f1ac 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 3a9002d3cc63da7110f133b1040d2d2b0aad8305
+Subproject commit fd9f1acededd74f8cd095e657528aa8fad183536


hooks/post-receive
-- 
GNU M4 source repository


