]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: enable sc_bindtextdomain.
authorGary V. Vaughan <gary@gnu.org>
Wed, 26 Oct 2011 12:03:37 +0000 (19:03 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 12:22:35 +0000 (19:22 +0700)
* 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>
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index a31f7932f9e2a516040e03f0af1515ef2fc10027..c0f58ac5bced0fe08fc89f58ffebfd73c41b2640 100644 (file)
--- 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 = \