allow PERL_DISABLE_PMC to be defined from anywhere blead
authorDaniel Dragan <bulk88@hotmail.com>
Sun, 23 Nov 2014 21:14:40 +0000 (16:14 -0500)
committerTony Cook <tony@develop-help.com>
Thu, 27 Nov 2014 04:46:27 +0000 (15:46 +1100)
commitebfad2b9fea703468a88acb6a1afbb759366ffd5
tree294ea272542016ed9a57987d575880565c0638b3
parent3d50e539516253e2d26166a3eca071cba7bd72b8
allow PERL_DISABLE_PMC to be defined from anywhere

I enable PERL_DISABLE_PMC in a .h, not in CCFLAGS. CCFLAGS on Unix
typically has no -Ds in it, build options go into config.h, not
Config.pm's CCFLAGS. This change allows PERL_DISABLE_PMC option to pass
tests regardless of where it is defined. cpan/parent/t/parent-pmc.t is not
fixed by this patch.
t/comp/require.t
t/run/switchM.t