From: Karl Williamson Date: Thu, 15 Aug 2019 03:38:54 +0000 (-0600) Subject: parts/apicheck.pl: Use the passed NEED_foo macros X-Git-Tag: v5.31.5~169 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/0daa4ae5b127cadabbc1092d988ce1b1f74b4f71 parts/apicheck.pl: Use the passed NEED_foo macros These no longer need to be hardcoded in two places when adding new ones. (cherry picked from commit 867650c3a523c9e8f5014ba02ef52e88692a5302) Signed-off-by: Nicolas R --- diff --git a/dist/Devel-PPPort/parts/apicheck.pl b/dist/Devel-PPPort/parts/apicheck.pl index 65b8217..268ada4 100644 --- a/dist/Devel-PPPort/parts/apicheck.pl +++ b/dist/Devel-PPPort/parts/apicheck.pl @@ -148,7 +148,6 @@ my $sep = '~'; # Things to not try to check. (The component after $sep is empty.) my %ignore = map { ("$_$sep" => 1) } keys %{&known_but_hard_to_test_for()}; -# XXX The NEED_foo lines should be autogenerated print OUT <