]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
maint: fix 'make syntax-check' findings
authorEric Blake <eblake@redhat.com>
Wed, 1 Jan 2014 23:32:04 +0000 (16:32 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 1 Jan 2014 23:32:04 +0000 (16:32 -0700)
Fix syntax check warnings that are unrelated to the new copyright
year.

* lib/local.mk (lib/autoscan/autoscan.list): Reduce indent, to
avoid mix of tab and 8 spaces.
* bin/local.mk (bin/autoconf.in): Likewise.
* lib/autoconf/c.m4 (_AC_CXX_CXX98_TEST_BODY): Use consistent case
in message.

Signed-off-by: Eric Blake <eblake@redhat.com>
bin/local.mk
lib/autoconf/c.m4
lib/local.mk

index 0edfbbe0bdc6b6d8e9e6476da89b6f8a944d51e1..b599a2b708b04fe6fe1f1dc3f37a8534925aa40b 100644 (file)
@@ -46,7 +46,7 @@ MOSTLYCLEANFILES += $(bin_SCRIPTS) bin/autoconf.in bin/*.tmp
 # installation below the same $(prefix); work around this with --melt.
 bin/autoconf.in: $(srcdir)/bin/autoconf.as $(m4sh_m4f_dependencies)
        $(MY_AUTOM4TE) --language M4sh --cache '' \
-                      --melt $(srcdir)/bin/autoconf.as -o $@
+         --melt $(srcdir)/bin/autoconf.as -o $@
 
 ## All the scripts depend on Makefile so that they are rebuilt when the
 ## prefix etc. changes.  It took quite a while to have the rule correct,
index ecbc270fbbc2032d053a5816a535011ecaa5bbf9..f0f666781ea737636b104764ee0bbc689d7ec87c 100644 (file)
@@ -2235,7 +2235,7 @@ try {
   testvec.push_back("foo");
   testvec.push_back("bar");
   if (testvec.size() != 3) {
-    throw std::runtime_error("Vector size is not 1");
+    throw std::runtime_error("vector size is not 1");
   }
 
   // Dump vector into stringstream and obtain string.
index 03838deb70d6137524cad2412758c496873b861e..b6956c3eb92c1ccb8522842f2a4dce1d77e074f6 100644 (file)
@@ -124,7 +124,7 @@ lib/autoscan/autoscan.list: $(srcdir)/lib/autoscan/autoscan.pre
        ( \
          sed -n '/^[^#]/p' $(srcdir)/lib/autoscan/autoscan.pre; \
          $(MY_AUTOM4TE) --cache '' -M -l autoconf-without-aclocal-m4 \
-                        -t'AN_OUTPUT:$$1: $$2          $$3' \
+           -t'AN_OUTPUT:$$1: $$2               $$3' \
        ) | LC_ALL=C sort >>$@
 
 lib/autoscan/autoscan.list: $(autoconf_m4f_dependencies) Makefile