summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2021-05-07 16:30:59 -0500
committerEric Blake <eblake@redhat.com>2021-05-07 16:37:26 -0500
commit87b04d1aabf6d490e7bba0f48ae050c6df4d6c4a (patch)
tree6437f81a7f589f015ee0bf6a98b5886f1e0cc9c4
parent96dafd68e44588509399d609d027381dee220cb6 (diff)
downloadm4-87b04d1aabf6d490e7bba0f48ae050c6df4d6c4a.tar.gz
maint: fix syntax-check issues
* 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'.
-rw-r--r--cfg.mk2
-rw-r--r--po/POTFILES.in11
-rw-r--r--src/Makefile.am4
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)