update-copyright-env := UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
old_NEWS_hash := 558e27e5f41f842ed035bd42ed52706d
manual_title = Portable Dynamic Shared Object Management
ifeq ($(RELEASE_TYPE),stable) announcement_Cc_ = autotools-announce@gnu.org else announcement_Cc_ = autotools-announce@gnu.org, $(PACKAGE_BUGREPORT) endif
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/
local-checks-to-fix = \ sc_require_config_h \ sc_require_config_h_first
local-checks-to-skip = \ $(local-checks-to-fix) \ sc_GPL_version \ sc_cast_of_x_alloc_return_value \ sc_prohibit_always-defined_macros \ sc_prohibit_always_true_header_tests \ sc_prohibit_strncpy \ sc_trailing_blank \ sc_unmarked_diagnostics
sc_libtool_m4_cc_basename: @sed -n '/case \$$cc_basename in/,/esac/ { \ /^[ ][a-zA-Z][a-zA-Z0-9+][^][ ])/p; \ }' '$(srcdir)/$(macro_dir)/libtool.m4' | grep . && { \ msg="\$$cc_basename matches should include a trailing '*'." \ $(_sc_say_and_exit) } || :
exclude_file_name_regexp--sc_old_style_quoting = (^bootstrap|^cfg.mk|.texi)$$ sc_old_style_quoting: @prohibit="^[^`][^=]`[^'`][a-zA-Z0-9][^'`]'[^`][^\`]$$" \ halt="quote 'like this' not `like this' in comments and output" \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_Xsed_without_X = ^cfg.mk$$ sc_prohibit_Xsed_without_X: @files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$files"; then \ grep -nE '\$$Xsed' $$files | grep -vE '(func_echo_all|\$$ECHO) \*"X' && { \ msg="occurrences of '\$$Xsed' without '\$$ECHO "\""X' on the same line" \ $(_sc_say_and_exit) } || :; \ else :; \ fi || :
sc_prohibit_bare_basename: @prohibit='|[ ]*\$$(base|dir)name' \ halt='use '\''|$$SED "$$basename"'\'' instead of '\''|$$basename'\' \ $(_sc_search_regexp)
sc_prohibit_basename_with_dollar_sed: @prohibit='(base|dir)name="?(\$$SED|sed)[ "]' \ halt='use '\''basename='\''s|^.*/||'\'' instead of '\''basename="$$SED...' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_bracket_as_test = ^cfg.mk$$ sc_prohibit_bracket_as_test: @prohibit='if[ ]+[' \ halt="use 'if test' instead of 'if ['" \ $(_sc_search_regexp)
"bar"
"exclude_file_name_regexp--sc_prohibit_nested_quotes = ^cfg.mk$$
sc_prohibit_nested_quotes:
@prohibit='"[^"]*
[^"]*"[^"
]".[^
"]*"' \
halt='found nested double quotes' \
$(_sc_search_regexp_or_exclude)
sc_prohibit_sed_s_comma: @explicit='($$SED|sed)[ ]+(-e[ ]+)?['\''"]?s,' \ implicit='['\''";][ ]s,[^,],[^,],g?['\''";]' \ literal='^[ ]s,[^,],[^,],g?['\''";]?$$' \ prohibit='('$$implicit'|'$$explicit'|'$$literal')' \ halt='found use of comma separator in sed substitution' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_set_dummy_without_shift = ^cfg.mk$$ sc_prohibit_set_dummy_without_shift: @files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$files"; then \ grep -nE '(set dummy|shift)' $$files | \ sed -n '/set[ ][ ]dummy/{ \ /set.dummy.;.shift/d; \ N; \ /\n.*shift/D; \ p; \ }' | grep -n . && { \ msg="use 'shift' after 'set dummy'" \ $(_sc_say_and_exit) } || :; \ else :; \ fi || :
exclude_file_name_regexp--sc_prohibit_set_minus_minus = ^cfg.mk$$ sc_prohibit_set_minus_minus: @prohibit='set[ ]+--[ ]+' \ halt="use 'set dummy ...' instead of 'set -- ...'" \ $(_sc_search_regexp)
sc_prohibit_space_semicolon: @prohibit='[^ ][ ]+;[ ]((do|done|elif|else|then)[ ])?$$' \ halt='found spurious whitespace before trailing semi-colon' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_test_X = ^cfg.mk$$ sc_prohibit_test_X: @prohibit='test[ ]+(![ ])?(-.[ ]+)?[Xx]["'\'']' \ halt='use '\''test "X..."'\'' instead of '\''test X"'\' \ $(_sc_search_regexp)
sc_prohibit_test_binary_operators: @prohibit='if[ ]+["'\'']?\$$[^ ]+[ ]+(=|-[lg][te]|-eq|-ne)' \ halt="Use 'if test \$$something =' instead of 'if \$$something ='" \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_test_dollar = ^cfg.mk$$ sc_prohibit_test_dollar: @prohibit='test[ ]+(![ ])?(-.[ ]+)?X?\$$[^?#]' \ halt='use '\''test "$$..."'\'' instead of '\''test $$'\' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_prohibit_test_minus_e = ^cfg.mk$$ sc_prohibit_test_minus_e: @prohibit='test[ ]+(![ ])?-e' \ halt="use 'test -f' instead of 'test -e'" \ $(_sc_search_regexp)
sc_prohibit_test_unary_operators: @prohibit='if[ ]+-[a-z]' \ halt="use 'if test -X' instead of 'if -X'" \ $(_sc_search_regexp)
sc_prohibit_test_const_follows_var: @var='[ ]+"[^$$"]\$$[0-9A-Za-z_][^"]"' \ op='[ ]+(!?=|-[lgn][et]|-eq)' \ const='[ ]+[^-$$][^$$; ]' \ prohibit='test'$$var$$op$$const'[ ](&&||||;|\?$$)' \ halt='use '\''test a = "$$b"'\'' instead of '\''test "x$$b" = xa'\' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_require_function_nl_brace = (^HACKING|.[ch]|.texi)$$ sc_require_function_nl_brace: @for file in $$($(VC_LIST_EXCEPT)); do \ sed -n '/^func_[^ ][ ](/{ \ N; \ /^func_[^ ]* ()\n{$$/d; \ p; \ }' $$file | grep -E . && { \ msg="found malformed function_definition in $$file" \ $(_sc_say_and_exit) } || :; \ done
sc_trailing_blank-non-rfc3676: @prohibit='([^-][^-][ ][ ]|^[ ][ ])$$' \ halt='found trailing blank(s)' \ $(_sc_search_regexp)
define _sc_search_regexp_or_exclude files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$files"; then \ grep -nE "$$prohibit" $$files | grep -v '## exclude from $@' \ && { msg="$$halt" $(_sc_say_and_exit) } || :; \ else :; \ fi || :; endef
exclude_file_name_regexp--sc_useless_braces_in_variable_derefs = /cvsu$$ sc_useless_braces_in_variable_derefs: @prohibit='\$${[0-9A-Za-z_]+}[^0-9A-Za-z_]' \ halt='found spurious braces around variable dereference' \ $(_sc_search_regexp)
sc_useless_quotes_in_assignment: @prohibit='^[ ][A-Za-z_][A-Za-z0-9_]="[^ !#&();<>?@~^{|}]"$$' \ halt='found spurious quotes around assignment value' \ $(_sc_search_regexp_or_exclude)
exclude_file_name_regexp--sc_useless_quotes_in_case = ^cfg.mk$$ sc_useless_quotes_in_case: @prohibit='case "[^ "]"[ ][ ]in' \ halt='found spurious quotes around case argument' \ $(_sc_search_regexp)
exclude_file_name_regexp--sc_error_message_uppercase = \ ^$(_build-aux)/cvsu$$ exclude_file_name_regexp--sc_prohibit_strcmp = \ ^doc/libtool.texi$$ exclude_file_name_regexp--sc_prohibit_test_minus_ao = \ ^m4/libtool.m4$$ exclude_file_name_regexp--sc_space_tab = .diff$$ exclude_file_name_regexp--sc_trailing_blank-non-rfc3676 = .diff$$