mod_perl
view release on metacpan or search on metacpan
lib/Apache2/Build.pm view on Meta::CPAN
use Config;
use Cwd ();
use File::Spec::Functions qw(catfile catdir canonpath rel2abs devnull
catpath splitpath);
use File::Basename;
use ExtUtils::Embed ();
use File::Copy ();
BEGIN { # check for a sane ExtUtils::Embed
unless ($ENV{MP_USE_MY_EXTUTILS_EMBED}) {
my ($version, $path)=(ExtUtils::Embed->VERSION,
$INC{q{ExtUtils/Embed.pm}});
my $msg=<<"EOF";
I have found ExtUtils::Embed $version at
$path
This is probably not the right one for this perl version. Please make sure
there is only one version of this module installed and that it is the one
that comes with this perl version.
If you insist on using the ExtUtils::Embed as is set the environment
variable MP_USE_MY_EXTUTILS_EMBED=1 and try again.
EOF
if (eval {require Module::CoreList}) {
my $req=$Module::CoreList::version{$]}->{q/ExtUtils::Embed/};
die "Please repair your Module::CoreList" unless $req;
unless ($version eq $req) {
$msg.=("Details: expecting ExtUtils::Embed $req ".
"(according to Module::CoreList)\n\n");
die $msg;
}
src/modules/perl/modperl_perl_unembed.h view on Meta::CPAN
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MODPERL_PERL_UNEMBED_H
#define MODPERL_PERL_UNEMBED_H
#ifdef PERL_CORE
# ifndef croak
# define croak Perl_croak_nocontext
# endif
#endif
/* avoiding namespace collisions */
/* from XSUB.h */
src/modules/perl/modperl_perl_unembed.h view on Meta::CPAN
#undef read
#undef free
/* modperl_perl.c */
#ifdef WIN32
# undef getpid
# undef getenv
#endif
#undef list
#endif /* MODPERL_PERL_UNEMBED_H */
/*
* Local Variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
*/
( run in 0.706 second using v1.01-cache-2.11-cpan-71847e10f99 )