diff options
author | Jim Meyering <meyering@redhat.com> | 2010-04-05 20:56:19 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-06 08:24:41 +0200 |
commit | edfad78619d52479e02228a5789a2e98d7b0f9f6 (patch) | |
tree | 5c63b338c51d9f4c8283194ebb11e3a873dc9ee3 /cfg.mk | |
parent | 61af16213a488af3a8e994399ebd0859d390edb6 (diff) | |
download | gzip-edfad78619d52479e02228a5789a2e98d7b0f9f6.tar.gz |
build: update gnulib submodule to latest, and adapt
* cfg.mk: Update to use new _sc_search_regexp interface. Run this:
perl -pi -e 's/\b_prohibit_regexp\b/_sc_search_regexp/;'
-e 's/\bmsg=/halt=/; s/\bre=/prohibit=/;' cfg.mk
and then adjust backslashes so they still line up.
* cfg.mk (local-checks-to-skip): Add new sc_texinfo_acronym, to skip it.
* msdos/tailor.c (fcalloc): Mark a diagnostic for translation, to
placate stricter syntax-check, even though no one uses this file.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -28,6 +28,7 @@ local-checks-to-skip = \ sc_prohibit_atoi_atof \ sc_prohibit_stat_st_blocks \ sc_space_tab \ + sc_texinfo_acronym \ sc_useless_cpp_parens @@ -42,9 +43,9 @@ old_NEWS_hash = e35901d8427a032d2b88a3195ed24a8f sc_obs_header_regex = \ \<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\> sc_prohibit_obsolete_HAVE_HEADER_H: - @re='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \ - msg='remove the above obsolete #if...HAVE_HEADER_H test(s)' \ - $(_prohibit_regexp) + @prohibit='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \ + halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \ + $(_sc_search_regexp) update-copyright-env = \ UPDATE_COPYRIGHT_USE_INTERVALS=1 \ @@ -52,14 +53,14 @@ update-copyright-env = \ # Indent only with spaces. sc_prohibit_tab_based_indentation: - @re='^ * ' \ - msg='TAB in indentation; use only spaces' \ - $(_prohibit_regexp) + @prohibit='^ * ' \ + halt='TAB in indentation; use only spaces' \ + $(_sc_search_regexp) # Don't use "indent-tabs-mode: nil" anymore. No longer needed. sc_prohibit_emacs__indent_tabs_mode__setting: - @re='^( *[*#] *)?indent-tabs-mode:' \ - msg='use of emacs indent-tabs-mode: setting' \ - $(_prohibit_regexp) + @prohibit='^( *[*#] *)?indent-tabs-mode:' \ + halt='use of emacs indent-tabs-mode: setting' \ + $(_sc_search_regexp) include $(srcdir)/dist-check.mk |