Initialized merge tracking via "svnmerge" with revisions "1-1151159" from 
https://svn.eu.apache.org/repos/asf/perl/modperl/branches/httpd24


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1151791 13f79535-47bb-0310-9956-ffa450edef68
Avoid -Wall warning when mg_flags isn't used.



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1213838 13f79535-47bb-0310-9956-ffa450edef68
When generating XS code, include var = var; declarations on the arguments,
since we don't know if they will be used, and we want to keep -Wall builds
succeeding.



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1213841 13f79535-47bb-0310-9956-ffa450edef68
Silence a compiler warning when MP_TRACE is not enabled



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1213902 13f79535-47bb-0310-9956-ffa450edef68
Adjust for latest ExtUtils::MakeMaker internal change. We must call init_tools when
it is available.

Reference: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/f4904b4ce499b7f0c420efae69f44e19fe7dd12f



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1221285 13f79535-47bb-0310-9956-ffa450edef68
Apache 2.4 and onwards doesn't require linking the MPM module directly in
the httpd binary anymore. APXS lost the MPM_NAME query, so we can't assume
a given MPM anymore. Introduce a fake MPM 'dynamic' to represent this. 

Borrowed from the 2.4 branch



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1221359 13f79535-47bb-0310-9956-ffa450edef68
Discover apr-2-config from Apache 2.4 onwards.



git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1222775 13f79535-47bb-0310-9956-ffa450edef68
Fix a small bug in a debugging message in modperl_module.c. It tried to
print a modperl_mgv_t* as %s.


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1241435 13f79535-47bb-0310-9956-ffa450edef68
reverting change 1145161

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1241873 13f79535-47bb-0310-9956-ffa450edef68
Correct the initialization of the build config in ModPerl::MM, simply borrowing the style of ModPerl::BuildMM to do so.


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1243923 13f79535-47bb-0310-9956-ffa450edef68
Fix 2 SV REFCNT bugs:

- modperl_perl_core_global_init(), the aliasing GV references the aliased
  CV. Thus, it should increment the REFCNT.
- new_constsub() in modperl_const.c, same story.

The bug has been there for years. Only starting with perl 5.14 it became
visible by messages like this in the error_log:

  Attempt to free unreferenced scalar: SV 0x7fc218, 
      Perl interpreter: 0x7cfdb0 during global destruction.


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1244184 13f79535-47bb-0310-9956-ffa450edef68
avoid hard-wired $(MAKE) options

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1245946 13f79535-47bb-0310-9956-ffa450edef68
pass MP_APXS and MP_AP_PREFIX to submodule Makefile.PLs as environment variables

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1290839 13f79535-47bb-0310-9956-ffa450edef68
Ensure that MP_APXS is set when building on Win32 with MP_AP_PREFIX,
otherwise the bundled Reload and SizeLimit builds will fail to find a
properly configured Test environment.

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1291667 13f79535-47bb-0310-9956-ffa450edef68
Fix a race condition in our tipool management.
See http://www.gossamer-threads.com/lists/modperl/dev/104026
Patch submitted by: SalusaSecondus <salusa@nationstates.net>


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1299429 13f79535-47bb-0310-9956-ffa450edef68
Do not stringify $@ upon exception propagation.

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1299669 13f79535-47bb-0310-9956-ffa450edef68
fix a few false positive warnings when compiled with -Werror=format-security (reported by Niko Tyni)

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1301966 13f79535-47bb-0310-9956-ffa450edef68
Pool cleanup functions must not longjmp. Catch these exceptions and turn
them into warnings.

Affected methods:
  APR::Pool->cleanup_register
  Apache2::ServerUtil->server_shutdown_cleanup_register


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1302389 13f79535-47bb-0310-9956-ffa450edef68
Adopt modperl_pcw.c changes from httpd24 branch.


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1302431 13f79535-47bb-0310-9956-ffa450edef68
add another pool cleanup exception test

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1302463 13f79535-47bb-0310-9956-ffa450edef68