There is no more need to use set_program_name in tools (getprogname
is enough for most of the cases).
* cfg.mk (local-checks-to-skip): Remove sc_program_name.
* top/maint.mk (sc_program_name): Remove.
+2016-08-18 Pino Toscano <ptoscano@redhat.com>
+
+ main.mk: remove sc_program_name, since there is no more need to
+ use set_program_name in tools (getprogname is enough for most
+ of the cases).
+ * cfg.mk (local-checks-to-skip): Remove sc_program_name.
+ * top/maint.mk (sc_program_name): Remove.
+
2016-08-18 Pino Toscano <ptoscano@redhat.com>
Port tests away from progname, since modules that need the
sc_makefile_at_at_check \
sc_makefile_path_separator_check \
sc_obsolete_symbols \
- sc_program_name \
sc_prohibit_HAVE_MBRTOWC \
sc_prohibit_S_IS_definition \
sc_prohibit_always_true_header_tests \
halt='found unexpected prefix in a ChangeLog' \
$(_sc_search_regexp)
-# Ensure that each .c file containing a "main" function also
-# calls set_program_name.
-sc_program_name:
- @require='set_program_name *\(.*\);' \
- in_vc_files='\.c$$' \
- containing='\<main *(' \
- halt='the above files do not call set_program_name' \
- $(_sc_search_regexp)
-
# Ensure that each .c file containing a "main" function also
# calls bindtextdomain.
sc_bindtextdomain: