maint.mk: syntax-check: prohibit HAVE_<header>_H that are always true
authorJim Meyering <meyering@redhat.com>
Fri, 9 Apr 2010 17:07:57 +0000 (19:07 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Apr 2010 12:06:50 +0000 (14:06 +0200)
commite98ea566d814c4e7df9f8988a01e4f970a427745
tree8c8d35e5c41a6663f8972f553336fb06f44e63ba
parent8ca073ee3bf9c2ecd10dbfbf39d67b3a25a2a3fd
maint.mk: syntax-check: prohibit HAVE_<header>_H that are always true

Derive the list of guaranteed header names from gnulib/lib/*.in.h,
and use that to create a regexp used to detect all #if HAVE_..._H uses.
* top/maint.mk (sc_prohibit_always_true_header_tests): New rule.
(gl_assured_headers_, az_, AZ_): Define.
(gl_header_upper_case_or_, gl_have_header_regex_): Define.
ChangeLog
top/maint.mk