Apache-RandomImage

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

use strict;
use warnings;
use Module::Build;

# Adapted from http://search.cpan.org/src/PAULDOOM/Apache-AppSamurai-1.01/Build.PL
# Thx pauldoom!
#
# Decide right now if we are shooting for a mod_perl 1.x
# or mod_perl 2.x install.  Defaults to mod_perl 2.x.
# This is to have a proper set of requirements in place
# so CPAN and others will behave.
my @modperlreq = ();
if (eval{require mod_perl2;}) {
    push(@modperlreq, 'mod_perl2', 1.9922);
    print STDERR "mod_perl 2 detected: Setting requirements accordingly\n";
} elsif (eval{require mod_perl;}) {
    push(@modperlreq, 'mod_perl', 1.07);
    print STDERR "mod_perl 1 detected: Setting requirements accordingly\n";



( run in 1.216 second using v1.01-cache-2.11-cpan-de7293f3b23 )