dougm       01/09/08 11:00:49

  Modified:    lib/ModPerl BuildOptions.pm
  Log:
  make sure path to APXS is absolute
  Submitted by: Philippe M . Chiasson <[EMAIL PROTECTED]>
  Reviewed by:  dougm
  
  Revision  Changes    Path
  1.9       +7 -0      modperl-2.0/lib/ModPerl/BuildOptions.pm
  
  Index: BuildOptions.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BuildOptions.pm   2001/04/27 21:07:53     1.8
  +++ BuildOptions.pm   2001/09/08 18:00:49     1.9
  @@ -8,6 +8,8 @@
   use constant VERBOSE => 1;
   use constant UNKNOWN_FATAL => 2;
   
  +use File::Spec;
  +
   sub init {
       my($self, $build) = @_;
   
  @@ -54,6 +56,11 @@
                   my $usage = usage();
                   die "Unknown Option: $key\nUsage:\n$usage";
               }
  +                     
  +            if($key eq 'MP_APXS') {
  +                $val = File::Spec->canonpath(File::Spec->rel2abs($val));
  +            }
  +
               if ($self->{$key}) {
                   $self->{$key} .= ' ';
               }
  
  
  

Reply via email to