summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2011-10-26 19:03:37 +0700
committerGary V. Vaughan <gary@gnu.org>2011-11-17 19:22:35 +0700
commitedc6becf8856b21c8ce9e2f1b73ac58e67b361f4 (patch)
tree6ace75c89e1b7eed2a2404561f4c971110aa7568
parentd7919d50d00fa45768d80cbd39fb89e9e3be6344 (diff)
downloadlibtool-edc6becf8856b21c8ce9e2f1b73ac58e67b361f4.tar.gz
syntax-check: enable sc_bindtextdomain.
* cfg.mk (local-checks-to-skip): Remove sc_bindtextdomain list of disabled checks. (exclude_file_name_regexp--sc_bindtextdomain): Don't check demo programs for use of bindtextdomain. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r--cfg.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index a31f7932..c0f58ac5 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -46,14 +46,12 @@ local-checks-to-fix = \
local-checks-to-skip = \
$(local-checks-to-fix) \
sc_GPL_version \
- sc_bindtextdomain \
sc_cast_of_x_alloc_return_value \
sc_program_name \
sc_trailing_blank \
sc_unmarked_diagnostics
# GPL_version: checks for GPLv3, which we don't use
-# bindtextdomain: libtool isn't internationalized
# cast_of_x_alloc_return_value:
# We support C++ compilation which does require casting here.
# program_name: libtool has no programs!
@@ -66,6 +64,7 @@ sc_trailing_blank-non-rfc3676:
$(_sc_search_regexp)
# List syntax-check exempted files.
+exclude_file_name_regexp--sc_bindtextdomain = ^tests/.*demo[0-9]*/.*\.c$$
exclude_file_name_regexp--sc_error_message_uppercase = \
^$(_build-aux)/cvsu$$
exclude_file_name_regexp--sc_prohibit_strcmp = \