From: Eric Blake Date: Wed, 1 Jan 2014 23:32:04 +0000 (-0700) Subject: maint: fix 'make syntax-check' findings X-Git-Tag: v2.69b~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29943c7e4a16f3d43dccbb8b697e31667baef4e9;p=thirdparty%2Fautoconf.git maint: fix 'make syntax-check' findings 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 --- diff --git a/bin/local.mk b/bin/local.mk index 0edfbbe0..b599a2b7 100644 --- a/bin/local.mk +++ b/bin/local.mk @@ -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, diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index ecbc270f..f0f66678 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -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. diff --git a/lib/local.mk b/lib/local.mk index 03838deb..b6956c3e 100644 --- a/lib/local.mk +++ b/lib/local.mk @@ -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