~ubuntu-branches/ubuntu/oneiric/libapreq2/oneiric

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-10-31 02:40:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061031024032-0uz12ks05bi4iqfl
Tags: 2.08-4
Fix typo; libapreq2 recommended libapreq2-mod-apreq2, which is obviously
wrong. Change to libapache2-mod-apreq2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
unless (exists $args{"disable-perl-glue"}) {
36
36
    $opts .= "--enable-perl-glue ";
37
 
    test_prereq "mod_perl";
 
37
    test_prereq "mod_perl2";
38
38
    test_prereq "Apache::Test";
39
39
    test_prereq "ExtUtils::MakeMaker";
40
40
    test_prereq "ExtUtils::XSBuilder";
55
55
 
56
56
if (WIN32) {
57
57
    require File::Basename;
 
58
    require File::Spec;
58
59
    unless ($args{'with-apache2'}) {
59
60
        my @candidates = qw(with-apache2-apxs with-apache2-httpd
60
61
                            with-apr-config with-apu-config);
76
77
            }
77
78
        }
78
79
    }
 
80
    unless (defined $args{'with-apache2-apxs'}) {
 
81
      $args{'with-apache2-apxs'} =
 
82
          File::Spec->catfile($args{'with-apache2'}, 'bin', 'apxs.bat');
 
83
    }
79
84
    my @opts = map{qq/--$_="$args{$_}"/} keys %args;
80
85
    push @opts, (split ' ', $opts);
81
86
    my @args = (PERL_PATH, 'win32/Configure.pl', @opts);