Author: stevehay Date: Sun Aug 6 10:21:34 2023 New Revision: 1911480 URL: http://svn.apache.org/viewvc?rev=1911480&view=rev Log: Avoid a "Subroutine set_version redefined" warning when this is used within the mod_perl build
(Apache::Test also has set_version() in its Makefile.PLs. Cf. r1911479.) Modified: perl/Apache-SizeLimit/trunk/Makefile.PL Modified: perl/Apache-SizeLimit/trunk/Makefile.PL URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?rev=1911480&r1=1911479&r2=1911480&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/Makefile.PL (original) +++ perl/Apache-SizeLimit/trunk/Makefile.PL Sun Aug 6 10:21:34 2023 @@ -35,7 +35,7 @@ unless ( $ARGV[0] eq '--dist' || $ENV{MO my $HAS_APACHE_TEST = check_for_apache_test(); my $VERSION; -set_version(); +set_apache_sizelimit_version(); my %common_opts = ( VERSION => $VERSION, @@ -95,7 +95,7 @@ sub check_for_apache_test { return 1; } -sub set_version { +sub set_apache_sizelimit_version { # We cannot require Apache::SizeLimit or Apache2::SizeLimit to access their # $VERSIONs because they depend on Apache::Constants / Apache2::Const and at # least the latter cannot be loaded in a command-line script (at least not