summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-11 21:07:08 +0100
committerJim Meyering <meyering@redhat.com>2009-11-11 22:18:37 +0100
commit242183ade35ec89c28710574f77037ce8fea84ad (patch)
tree6aea299e964ab59a8a84c5c1d52ad524fbd9437a /cfg.mk
parentc9893c55535136d90433b4f9abbc5e7c1e6a303e (diff)
downloaddiffutils-242183ade35ec89c28710574f77037ce8fea84ad.tar.gz
maint/sc: enable two config.h-checking rules
* cfg.mk (local-checks-to-skip): Remove sc_require_config_h and sc_require_config_h_first. (config_h_header): Define.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index f369dfa..edae034 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -37,8 +37,6 @@ local-checks-to-skip = \
sc_m4_quote_check \
sc_program_name \
sc_prohibit_HAVE_MBRTOWC \
- sc_require_config_h \
- sc_require_config_h_first \
sc_space_tab \
sc_unmarked_diagnostics
@@ -49,3 +47,7 @@ bootstrap-tools = autoconf,automake,gnulib
export VERBOSE = yes
old_NEWS_hash = 3858c8843f15220aae3332950af98018
+
+# Tell maint.mk's syntax-check rules that diff gets config.h directly or
+# via diff.h or system.h.
+config_h_header = (<config\.h>|"(diff|system)\.h")