autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] maint: fix 'make syntax-check' findings


From: Eric Blake
Subject: [PATCH 2/2] maint: fix 'make syntax-check' findings
Date: Wed, 1 Jan 2014 16:33:41 -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 <address@hidden>
---
 bin/local.mk      | 2 +-
 lib/autoconf/c.m4 | 2 +-
 lib/local.mk      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/local.mk b/bin/local.mk
index 0edfbbe..b599a2b 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 ecbc270..f0f6667 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 03838de..b6956c3 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
-- 
1.8.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]