]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
m4: get rid of "# serial" lines
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 16:49:25 +0000 (18:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 17:02:52 +0000 (19:02 +0200)
The "#serial" lines are only considered by aclocal for the system-wide
third-party '.m4' files, not for the Automake-provided ones.  So they
serve no real purpose in the Automake '.m4' files.

In addition, now that we use git and topic branches, and that we are also
writing the Automake-NG fork, the "#serial" lines are becoming more and
more unreliable (e.g., different version of the same file in different
branches can easily end up having the same serial numbers).

So let's just nuke all the "#serial" lines.  See also automake bug#11932.

* m4/*.m4: All "# serial" lines removed.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
37 files changed:
NEWS
m4/amversion.m4
m4/ar-lib.m4
m4/as.m4
m4/auxdir.m4
m4/ccstdc.m4
m4/cond-if.m4
m4/cond.m4
m4/depend.m4
m4/depout.m4
m4/dmalloc.m4
m4/gcj.m4
m4/header.m4
m4/init.m4
m4/install-sh.m4
m4/lead-dot.m4
m4/lex.m4
m4/lispdir.m4
m4/maintainer.m4
m4/make.m4
m4/minuso.m4
m4/missing.m4
m4/mkdirp.m4
m4/obsol-gt.m4
m4/obsol-lt.m4
m4/obsolete.m4
m4/options.m4
m4/protos.m4
m4/python.m4
m4/runlog.m4
m4/sanity.m4
m4/silent.m4
m4/strip.m4
m4/substnot.m4
m4/tar.m4
m4/upc.m4
m4/vala.m4

diff --git a/NEWS b/NEWS
index a18e36e283e9d00461e20c042f24056f066cec07..77344f8885563ae1ee528a8f7067574c5915a3f3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -66,6 +66,12 @@ New in 1.12.3:
     giving more useful warnings than a bare "command not found" from a
     make recipe would.
 
+* M4 files:
+
+  - The '.m4' files provided by Automake does not define serial numbers
+    anymore.  This should cause no difference in the behaviour of aclocal
+    though.
+
 * Automake Testsuite:
 
   - Some testsuite weaknesses and spurious failures have been fixed.
index 3182ffb2e20348bdec87d60ea693ceaa0da38c7f..4dbc326cff820d15190b1c564b3ad87617a7c276 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 # AM_AUTOMAKE_VERSION(VERSION)
 # ----------------------------
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
index 470def48c57bc57404ebffce45d919ce46255052..b6b6b0f76c95e9c4e8bf27ad6f418684ad963e14 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 1
-
 # AM_PROG_AR([ACT-IF-FAIL])
 # -------------------------
 # Try to determine the archiver interface, and trigger the ar-lib wrapper
index fa6d3c8e64f6b64589472b0d63129ad58ced0376..27b322016c0356f6c03303d01bff22020c2df64b 100644 (file)
--- a/m4/as.m4
+++ b/m4/as.m4
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
-
 # AM_PROG_AS
 # ----------
 AC_DEFUN([AM_PROG_AS],
index 3dda02b260a016d59985b2341c0c301cc40b983a..9cd72c3e8bdd2d20ec4ab37cc741740d3b40d67a 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
index d57f0554a3b6958e5371043b845a49112ff0b4ae..66060d9bdcb6eda6547af21650c1b98c8aeedc42 100644 (file)
@@ -9,8 +9,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
-
 # This was merged into AC_PROG_CC in Autoconf.
 
 AU_DEFUN([AM_PROG_CC_STDC],
index 80e687b177c849707fbbbed1628205c54423c684..38f5ec979441df44e67277cab00878c520e9de73 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # _AM_COND_IF
 # _AM_COND_ELSE
 # _AM_COND_ENDIF
@@ -17,7 +15,6 @@ m4_define([_AM_COND_IF])
 m4_define([_AM_COND_ELSE])
 m4_define([_AM_COND_ENDIF])
 
-
 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
 # ---------------------------------------
 # If the shell condition COND is true, execute IF-TRUE, otherwise execute
index 03644abe02442cd3a721ca5985b903c11fa49dcb..9ea857e55e1e895f7d62465dff8161d60631a956 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 10
-
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
 # -------------------------------------
 # Define a conditional.
index cee31991b0dcd2addc104f42f4bda2542fae2af0..cd930617377b017dd34aa09a7777d3b7893e6ada 100644 (file)
@@ -5,7 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 17
 
 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
 # written in clear, in which case automake, when reading aclocal.m4,
index 749e592dfbf550590d41ab61ff3475607c78d54a..f592b00197e515bbaed78214fa34f0986a5a48f6 100644 (file)
@@ -6,7 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
 
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
 # ------------------------------
index be1a5b3c91b40a1e41a18d2042dbfd3276f821f0..f9d600f5bda0da4bb6ad8ac9356b1158ee3162ec 100644 (file)
@@ -9,8 +9,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 AC_DEFUN([AM_WITH_DMALLOC],
 [AC_MSG_CHECKING([if malloc debugging is wanted])
 AC_ARG_WITH([dmalloc],
index e7cdd694cc89265df9490611649ff3a8f201f47c..fd2a5df3de6fc90714b2077484224b79860ef477 100644 (file)
--- a/m4/gcj.m4
+++ b/m4/gcj.m4
@@ -7,8 +7,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 AC_DEFUN([AM_PROG_GCJ],
 [AC_CHECK_TOOLS([GCJ], [gcj], [gcj])
 test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH])
index 2555b96799243058e662a3f0cd9402c16da42336..e649ba479871fce55cde7cee80ca51748639cf31 100644 (file)
@@ -5,7 +5,5 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 # AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
index cf47e76d2d41953ff4bd08314e32c18d92089932..5e1bbe3b199168d61367912438cad4a6f9af830e 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 19
-
 # This macro actually does too much.  Some checks are only needed if
 # your package does certain things.  But this isn't really a big deal.
 
index 8061e7e122830092d759eec744799a3a7981902a..f51c02757345acea5f17a0f332160420fc3b3535 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
-
 # AM_PROG_INSTALL_SH
 # ------------------
 # Define $install_sh.
index 8a86805398bcc1c21ff6be31f2662c4c26b2be67..633694fdd140252c460daba1a61399ebdffa181f 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # Check whether the underlying file-system supports filenames
 # with a leading dot.  For instance MS-DOS doesn't.
 AC_DEFUN([AM_SET_LEADING_DOT],
index 4cda8a9f419984f0302b896795c1d9ab047baf92..6eb4a9142f2fe626b17642f9ac64f463563f438e 100644 (file)
--- a/m4/lex.m4
+++ b/m4/lex.m4
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 # AM_PROG_LEX
 # -----------
 # Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
index 2dd6a0f5cbe3560a1e2959c61a0acf89c48914b7..6dca47e8aa6a468c34731c932466095c51e2a713 100644 (file)
@@ -9,8 +9,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 11
-
 # AM_PATH_LISPDIR
 # ---------------
 AC_DEFUN([AM_PATH_LISPDIR],
index a8f39a3439db0c41fc53cf84d3d6f47cdb82858d..604eb8963f732ac84b7ba461489728973ea4c909 100644 (file)
@@ -7,8 +7,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 7
-
 # AM_MAINTAINER_MODE([DEFAULT-MODE])
 # ----------------------------------
 # Control maintainer-specific portions of Makefiles.
index c4ba1a6d0345e6f0dd952783f5efe6e6c394219b..245c2e6761e2f84eafd15e0eee4b9b36781c8de1 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
-
 # AM_MAKE_INCLUDE()
 # -----------------
 # Check to see how make treats includes.
index 7787ddf4bb60b44564c0f5de95f5390204f966d9..50af200cbee7ee167fc6b7592d254eaa84798205 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 # AM_PROG_CC_C_O
 # --------------
 # Like AC_PROG_CC_C_O, but changed for automake.
index e12480334cdff081a564d6ee4291300a6a625760..6c2a55d10b67a7a32fd794fca91b6ecd71e1f3c8 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 7
-
 # AM_MISSING_PROG(NAME, PROGRAM)
 # ------------------------------
 AC_DEFUN([AM_MISSING_PROG],
@@ -15,7 +13,6 @@ AC_DEFUN([AM_MISSING_PROG],
 $1=${$1-"${am_missing_run}$2"}
 AC_SUBST($1)])
 
-
 # AM_MISSING_HAS_RUN
 # ------------------
 # Define MISSING if not defined so far and test if it supports --run.
index d362b0b9556fca30d47b10c0a213ea037c6ea29b..9155ace20df8236cdcfd8b135e2a616659ac36ba 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # AM_PROG_MKDIR_P
 # ---------------
 # Check for 'mkdir -p'.
index bd2400d73720da2b4693512322f1c8a4bd2e611b..66721d321a9af6a348d724fb2b0b05e02f9c51ad 100644 (file)
@@ -6,7 +6,5 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # See comment in obsolete.m4.
 AU_DEFUN([ud_GNU_GETTEXT], [AM_GNU_GETTEXT])
index af8fb1b982e3d2d109ebb72d59011b9fa6d5ff37..1fcc2118440ca4de27bd200ca0feb132b9e6eeb8 100644 (file)
@@ -6,7 +6,5 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # See comment in obsolete.m4.
 AU_DEFUN([gm_PROG_LIBTOOL], [AM_PROG_LIBTOOL])
index 9a26cacc63e44ec79ddeded166cdd7521f25dc99..c77c45233e340ae54dd146ee11fe4656d73c9b3b 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # Obsolete Automake macros.
 
 # We put here only the macros whose substitution is not an Automake
index 76ad6428ca33f2d85fe0f9f69ec74b9b29c611e1..ebf3cf00d078140758c67537c0e46a5f706eb120 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
 AC_DEFUN([_AM_MANGLE_OPTION],
index 942154b588fa683ff0d0aac623f5e2f2fbaa15f0..c8c7adc2c9cc776b4bdf2233c0ce4a02feed1be2 100644 (file)
@@ -7,8 +7,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 AC_DEFUN([AM_C_PROTOTYPES],
          [AC_FATAL([automatic de-ANSI-fication support has been removed])])
 
index 35488868ebf5d88c4015c0affaa8245abbf4ca4b..a2478181ff919ef158e63e395803bd8829e8ea0d 100644 (file)
@@ -9,7 +9,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 9
 
 # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 # ---------------------------------------------------------------------------
index 6d127a830582aa2f6c7e222e931e4ff4f4d197bf..d983b718e666ad7cef6bab43ea638b4ad1f987e6 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 1
-
 # AM_RUN_LOG(COMMAND)
 # -------------------
 # Run COMMAND, save the exit status in ac_status, and log it.
index c90bc9809ac6cd28692ffe6d5cab2c1bda37063a..0415711b8fb55435ca5602376b9e244c994fe1a2 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 9
-
 # AM_SANITY_CHECK
 # ---------------
 AC_DEFUN([AM_SANITY_CHECK],
index d499ecb65c84910912f9ff70db0bf1fc3a657a63..6746c6fa6ab882ff3c54aaee4ad069d7e3bb2ff1 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # AM_SILENT_RULES([DEFAULT])
 # --------------------------
 # Enable less verbose build rules; with the default set to DEFAULT
index 42833ca094f63176ad8a4a3069ff37a0128d7679..d66f3f2e484f48bfe236790df1775071909da318 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
-
 # AM_PROG_INSTALL_STRIP
 # ---------------------
 # One issue with vendor 'install' (even GNU) is that you can't
index 64d91ff3e725074e16b01e46d2bf1f5bea2d03a7..1830e796dd568ae3559008638aee6340e0731b9c 100644 (file)
@@ -5,8 +5,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # _AM_SUBST_NOTMAKE(VARIABLE)
 # ---------------------------
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
index 244c7295a201835c3137540c04fd296694ed71a9..d3e23dd43ae0f462656463282333479de50d7b00 100644 (file)
--- a/m4/tar.m4
+++ b/m4/tar.m4
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
-
 # _AM_PROG_TAR(FORMAT)
 # --------------------
 # Check how to create a tarball in format FORMAT.
index 9ba1025eac9d35d7459a0ef580ec955a50f83b75..0df8197b65c261b229251fa7210d035055d4aece 100644 (file)
--- a/m4/upc.m4
+++ b/m4/upc.m4
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 1
-
 AC_DEFUN([AM_PROG_UPC],
 [dnl We need OBJEXT and EXEEXT, but Autoconf doesn't offer any public
 dnl macro to compute them.  Use AC_PROG_CC instead.
index cc6ba53ccddecad34f765801de1cd95d75cb1a9d..5dad452bf5c011e0c7a213cf0800173c08096021 100644 (file)
@@ -6,8 +6,6 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 6
-
 # Check whether the Vala compiler exists in $PATH. If it is found, the
 # variable VALAC is set. Optionally a minimum release number of the
 # compiler can be requested.