m4-patches
[Top][All Lists]
Advanced

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

[PATCH 2/7] maint: fix syntax-check issues


From: Eric Blake
Subject: [PATCH 2/7] maint: fix syntax-check issues
Date: Sat, 8 May 2021 06:28:17 -0500

* src/Makefile.am (m4_LDADD): Rename...
(LDADD): ...to this, and use spelling that satisfies syntax-check.
* po/POTFILES.in: Update to satisfy syntax-check.
* cfg.mk (old_NEWS_hash): Update with 'make update-NEWS-hash'.
---
 cfg.mk          |  2 +-
 po/POTFILES.in  | 11 +++--------
 src/Makefile.am |  4 ++--
 3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index e5d48a4f..1cf3bd41 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -34,7 +34,7 @@ local-checks-to-skip += sc_cast_of_x_alloc_return_value
 config_h_header = "m4\.h"

 # Hash of NEWS contents, to ensure we don't add entries to wrong section.
-old_NEWS_hash = a62c5bc1fcd5ea1646a5d1d93a30103c
+old_NEWS_hash = 27c0634856d318a3666782fdec30937d

 # Indent only with spaces.
 sc_prohibit_tab_based_indentation:
diff --git a/po/POTFILES.in b/po/POTFILES.in
index bf4ea6cb..38e13219 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -21,6 +21,7 @@ lib/clean-temp.c
 lib/closein.c
 lib/closeout.c
 lib/c-stack.c
+lib/clean-temp-simple.c
 lib/error.c
 lib/execute.c
 lib/getopt.c
@@ -28,6 +29,7 @@ lib/obstack.c
 lib/openat-die.c
 lib/os2-spawn.c
 lib/quotearg.c
+lib/regcomp.c
 lib/siglist.h
 lib/spawn-pipe.c
 lib/strsignal.c
@@ -35,15 +37,8 @@ lib/verror.c
 lib/version-etc.c
 lib/wait-process.c
 lib/xalloc-die.c
-src/builtin.c
-src/debug.c
-src/eval.c
-src/input.c
+lib/xprintf.c
 src/format.c
 src/freeze.c
 src/m4.c
-src/m4.h
-src/macro.c
 src/output.c
-src/path.c
-src/symtab.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 26ad0b0d..49a17436 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,8 +28,8 @@ bin_PROGRAMS = m4
 noinst_HEADERS = m4.h
 m4_SOURCES = m4.c builtin.c debug.c eval.c format.c freeze.c input.c \
 macro.c output.c path.c symtab.c
-m4_LDADD = ../lib/libm4.a $(LIBM4_LIBDEPS) \
+LDADD = ../lib/libm4.a $(LIBM4_LIBDEPS) \
   $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIB_HARD_LOCALE) \
   $(LIB_MBRTOWC) $(LIB_POSIX_SPAWN) $(LIB_SETLOCALE) $(LIB_SETLOCALE_NULL) \
   $(LIBCSTACK) $(LIBICONV) $(LIBINTL) $(LIBTHREAD) $(LIBUNISTRING) \
-  @INTL_MACOSX_LIBS@
+  $(INTL_MACOSX_LIBS)
-- 
2.31.1




reply via email to

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