local $mp2cfg ;
local $ccdebug ;
local $addcflags;

# 
# /*
#  * *********** WARNING **************
#  * This file generated by Embperl::WrapXS/2.0.0
#  * Any changes made here will be lost
#  * ***********************************
#  * 1. /usr/lib/perl5/site_perl/5.16.0/ExtUtils/XSBuilder/WrapXS.pm:52
#  * 2. /usr/lib/perl5/site_perl/5.16.0/ExtUtils/XSBuilder/WrapXS.pm:2068
#  * 3. xsbuilder/xs_generate.pl:6
#  */
# 


use ExtUtils::MakeMaker ();

local $MMARGS ;

if (-f '../../../mmargs.pl')
    {
    do '../../../mmargs.pl' ;
    die $@ if ($@) ;
    }

$MMARGS ||= {} ;


ExtUtils::MakeMaker::WriteMakefile(
    'NAME'    => 'Embperl::Req::Param',
    'VERSION' => '0.01',
    'TYPEMAPS' => ['../../../typemap'],
'depend'  => {
  'Param.c' => ''
}
,
    
    %$MMARGS,
);





sub MY::top_targets
	{
	my ($txt) = shift -> MM::top_targets (@_) ;
        $txt =~ s/config\s+pm_to_blib\s+subdirs\s+linkext/\$(O_FILES) subdirs/ ; 
	return $txt ;
	}


sub MY::cflags 
	{
	my $self = shift ;
        
        my $txt = $self -> MM::cflags (@_) ;

        if ($mp2cfg)
            { # with Apache 2, make sure we have the same defines as mod_perl
            $txt =~ s/-O\d//g if ($ccdebug =~ /-O\d/) ;
            $txt =~ /CCFLAGS\s*=(.*?)\n/s ;
	    my $flags = $mp2cfg->{MODPERL_CCOPTS} || $1 ;
            $txt =~ s/CCFLAGS\s*=(.*?)\n/CCFLAGS = $ccdebug $flags $addcflags\n/s ;
            }
        else
            {
            $txt =~ s/-O\d//g if ($ccdebug =~ /-O\d/) ;
	    $txt =~ s/CCFLAGS\s*=/CCFLAGS = $ccdebug $addcflags/ ;
            }

        
        return $txt ;
	}

