]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid some autoreconf -Wall warnings.
authorEric Blake <ebb9@byu.net>
Sat, 5 Apr 2008 13:09:46 +0000 (07:09 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 5 Apr 2008 15:24:18 +0000 (09:24 -0600)
* configure.ac: Use proper quoting, to be a good example.
(PACKAGE_NAME): Remove setting covered by autoconf.
(AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
* doc/Makefile.am (TEXI2DVI): Remove settings covered by
automake.
(html, autoconf_1.html, standards_1.html): Likewise.
(TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
* Makefile.am (html): Likewise.
* doc/autoconf.texi (Quoting and Parameters): Add missing section
name.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
warning about our override, until Automake is fixed.
* README-hacking: Document minimum requirements for bootstrap.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
Makefile.am
README-hacking
configure.ac
doc/.gitignore
doc/Makefile.am
doc/autoconf.texi
tests/Makefile.am

index df454bc0b634e7b34d8a1409e874116c3fc5d4c9..b4ceb28c5c9643b9b513288be045c1f4e11bed8d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-04-05  Eric Blake  <ebb9@byu.net>
+
+       Avoid some autoreconf -Wall warnings.
+       * configure.ac: Use proper quoting, to be a good example.
+       (PACKAGE_NAME): Remove setting covered by autoconf.
+       (AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
+       * doc/Makefile.am (TEXI2DVI): Remove settings covered by
+       automake.
+       (html, autoconf_1.html, standards_1.html): Likewise.
+       (TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
+       * Makefile.am (html): Likewise.
+       * doc/autoconf.texi (Quoting and Parameters): Add missing section
+       name.
+       * tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
+       warning about our override, until Automake is fixed.
+       * README-hacking: Document minimum requirements for bootstrap.
+
 2008-04-03  Eric Blake  <ebb9@byu.net>
 
        Fix version number generation in man pages.
index 5a9f5f73076e847ac4e889104b391b3329a316c3..9e3cd4ecec0db1a10c170f390f0f70cea9400be8 100644 (file)
@@ -31,16 +31,6 @@ EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
 
 MAINTAINERCLEANFILES = $(srcdir)/INSTALL
 
-## -------------------- ##
-## Forwarding targets.  ##
-## -------------------- ##
-
-html:
-       cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
-
-.PHONY: html
-
-
 ## --------- ##
 ## INSTALL.  ##
 ## --------- ##
index f42d49b36735aee3878ab58ccd10d5f27d2ecd16..626c63118d903991255fdf540844478f0c18c607 100644 (file)
@@ -11,12 +11,12 @@ requirements on anyone wishing to build from the just-checked-out sources.
 For example, you have to use the latest stable versions of the maintainer
 tools we depend upon, including:
 
-- Autoconf <http://www.gnu.org/software/autoconf/>
-- Automake <http://www.gnu.org/software/automake/>
-- Help2man <http://www.gnu.org/software/help2man/>
-- M4 <http://www.gnu.org/software/m4/>
-- Perl <http://www.cpan.org/>
-- Texinfo <http://www.gnu.org/software/texinfo/>
+- Autoconf 2.60+ <http://www.gnu.org/software/autoconf/>
+- Automake 1.10+ <http://www.gnu.org/software/automake/>
+- Help2man 1.29+ <http://www.gnu.org/software/help2man/>
+- M4 1.4.5+ <http://www.gnu.org/software/m4/>
+- Perl 5.005_03+ <http://www.cpan.org/>
+- Texinfo 4.8+ <http://www.gnu.org/software/texinfo/>
 
 The following are useful as well, if you want to be able to run commands
 like "make dist" or "make distcheck":
index 13e48ab7f49c5eded507b54733630b140e08236b..f06559e57e48800498136b76ad204aef4582b845 100644 (file)
@@ -23,12 +23,11 @@ AC_PREREQ([2.60])
 AC_INIT([GNU Autoconf],
        m4_esyscmd([build-aux/git-version-gen .tarball-version]),
        [bug-autoconf@gnu.org])
-AC_SUBST([PACKAGE_NAME])dnl
 AC_CONFIG_SRCDIR([ChangeLog])
 
 AC_CONFIG_AUX_DIR([build-aux])
 
-AM_INIT_AUTOMAKE([1.7.9 dist-bzip2 readme-alpha no-texinfo.tex])
+AM_INIT_AUTOMAKE([1.10 dist-bzip2 readme-alpha no-texinfo.tex])
 
 # We use `/bin/sh -n script' to check that there are no syntax errors
 # in the scripts.  Although incredible, there are /bin/sh that go into
@@ -53,7 +52,7 @@ AM_INIT_AUTOMAKE([1.7.9 dist-bzip2 readme-alpha no-texinfo.tex])
 # So before using `/bin/sh -n' to check our scripts, we first check
 # that `/bin/sh -n' is known to not have these problems.
 
-AC_CACHE_CHECK([whether /bin/sh -n is known to work], ac_cv_sh_n_works,
+AC_CACHE_CHECK([whether /bin/sh -n is known to work], [ac_cv_sh_n_works],
 [if (
     unset BASH_VERSION ZSH_VERSION
     /bin/sh -c '
@@ -67,7 +66,7 @@ then ac_cv_sh_n_works=yes
 else ac_cv_sh_n_works=no
 fi
 ])
-AC_SUBST(ac_cv_sh_n_works)
+AC_SUBST([ac_cv_sh_n_works])
 
 # Initialize the test suite.
 AC_CONFIG_TESTDIR([tests])
@@ -89,8 +88,8 @@ AC_PROG_GNU_M4
 ## Man pages.  ##
 ## ----------- ##
 
-AC_CONFIG_FILES(man/Makefile)
-AM_MISSING_PROG(HELP2MAN, help2man)
+AC_CONFIG_FILES([man/Makefile])
+AM_MISSING_PROG([HELP2MAN], [help2man])
 
 
 ## ------ ##
@@ -98,7 +97,7 @@ AM_MISSING_PROG(HELP2MAN, help2man)
 ## ------ ##
 
 # We use an absolute name for perl so the #! line in autoscan will work.
-AC_PATH_PROG([PERL], perl, no)
+AC_PATH_PROG([PERL], [perl], [no])
 AC_SUBST([PERL])dnl
 if test "$PERL" = no; then
   AC_MSG_ERROR([perl is not found])
index ddccc90104b1196ec854b8fb26759d8fd1add28f..0a1e04a368eb95a7a69635a2b82ff029b6bdd6b5 100644 (file)
@@ -2,35 +2,36 @@
 *.ACs
 *.AT
 *.ATs
+*.aux
 *.cp
 *.cps
 *.cv
 *.cvs
+*.dvi
 *.ev
 *.evs
 *.fn
 *.fns
+*.html
+*.htp
+*.info
+*.ky
+*.log
 *.MS
 *.MSs
 *.ov
 *.ovs
+*.pdf
+*.pg
 *.pr
 *.prs
+*.ps
+*.tmp
+*.toc
+*.tp
 *.vr
 *.vrs
-*.ky
-*.aux
-*.dvi
-*.info
-*.log
 Makefile
-autoconf
-*.pdf
-*.pg
-*.ps
 stamp-vti
 standards
-*.tmp
-*.toc
-*.tp
 version.texi
index c404dfdc790821159b3fedec74d705224a487351..0744add6a29df01ef77a57ad2704efd636884fac 100644 (file)
@@ -1,6 +1,7 @@
 # Make Autoconf documentation.
 
-# Copyright (C) 2000, 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2007, 2008 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
@@ -16,8 +17,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 AM_MAKEINFOFLAGS = --no-split
-TEXI2DVI = texi2dvi --batch
-TEXI2HTML = texi2html
 TEXI2HTML_FLAGS = -split_chapter
 TEXINFO_TEX = ../build-aux/texinfo.tex
 
@@ -29,21 +28,4 @@ standards_TEXINFOS = make-stds.texi
 # not know.
 CLEANFILES = autoconf.ACs  autoconf.cvs  autoconf.MSs  autoconf.prs \
             autoconf.ATs  autoconf.evs  autoconf.fns  autoconf.ovs \
-            autoconf.tmp \
-            autoconf*.html standards*.html
-
-
-## ----------------------------- ##
-## Other documentation formats.  ##
-## ----------------------------- ##
-
-html: autoconf_1.html standards_1.html
-
-autoconf_1.html: autoconf.texi install.texi
-       $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/autoconf.texi
-
-standards_1.html: standards.texi make-stds.texi
-       $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/standards.texi
-
-
-.PHONY: html
+            autoconf.tmp
index 672e1a5051cbdfaf86558ec261e27af94e867bfd..c22b822372e435f506793a699714eb4e518dbbb6 100644 (file)
@@ -9346,7 +9346,7 @@ car([[[a]]])
 @end example
 
 @node Quoting and Parameters
-@subsection
+@subsection Quoting and Parameters
 
 When M4 encounters @samp{$} within a macro definition, followed
 immediately by a character it recognizes (@samp{0}@dots{}@samp{9},
index 1613f02da1d212109666390e90879ea1dee406a8..01acf3aca564880c9355ca0d306e8b9819a51009 100644 (file)
@@ -126,7 +126,10 @@ atconfig: $(top_builddir)/config.status
 # The rule in clean-local tests for existence of $(TESTSUITE), and
 # if found, attempts to run it.  But the distclean-generic rule may
 # be running in parallel, and it removes $(DISTCLEANFILES) which
-# includes $(TESTSUITE).
+# includes $(TESTSUITE).  This is the Automake rule, plus our
+# dependency, and we silence the warning from 'automake -Wall'.
+# TODO - fix this if newer automake accomodates the dependency.
+AUTOMAKE_OPTIONS = -Wno-override
 distclean-generic: clean-local
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)