perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@locus.apache.org
Subject cvs commit: modperl Makefile.PL
Date Tue, 07 Mar 2000 03:12:37 GMT
dougm       00/03/06 19:12:37

  Modified:    .        Makefile.PL
  Log:
  fix Makefile.PL if $USE_APXS && $PERL_DEBUG
  
  Revision  Changes    Path
  1.144     +26 -25    modperl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.143
  retrieving revision 1.144
  diff -u -r1.143 -r1.144
  --- Makefile.PL	2000/03/06 19:53:51	1.143
  +++ Makefile.PL	2000/03/07 03:12:36	1.144
  @@ -452,6 +452,31 @@
   
   }
   
  +	if($PERL_EXTRA_CFLAGS) {
  +	    $PERL_EXTRA_CFLAGS = join(" ", split(",",  $PERL_EXTRA_CFLAGS));
  +	    $PERL_EXTRA_CFLAGS =~ s/\s+/ /g;
  +	}
  +
  +	if($PERL_DEBUG) {
  +	    my $lib = "$Config{archlibexp}/CORE/libperld$Config{lib_ext}";
  +	    if (-e $lib) {
  +		$LIBPERL = "-lperld";
  +		$libperl = " -- $LIBPERL";
  +	    }
  +	    $PERL_EXTRA_CFLAGS .= " -g";
  +	    $PERL_TRACE=1;
  +	    $PERL_DESTRUCT_LEVEL=2;
  +	    print "DEBUG mode...\n";
  +	    print "...adding `-g' to EXTRA_CFLAGS\n";
  +	    print "...turning on PERL_TRACE\n";
  +	    print "...setting PERL_DESTRUCT_LEVEL=2\n";
  +	    print "...linking against libperld\n" if $libperl;
  +	    sleep(1);
  +	}
  +
  +	$PERL_EXTRA_CFLAGS .= " -DPERL_DESTRUCT_LEVEL=$PERL_DESTRUCT_LEVEL"
  +	    if $PERL_DESTRUCT_LEVEL;
  +
   for $adir (sort {$modified{$b} <=> $modified{$a}} @adirs) {
       $conf = "$adir/$Configuration";
       $httpd_h = asrc($adir)."/httpd.h";
  @@ -541,32 +566,8 @@
   	}
   
   	($APACHE_ROOT = $APACHE_SRC) =~ s,/src/?$,,;
  -	last if $NO_HTTPD; # or $USE_APACI;
   
  -	if($PERL_EXTRA_CFLAGS) {
  -	    $PERL_EXTRA_CFLAGS = join(" ", split(",",  $PERL_EXTRA_CFLAGS));
  -	    $PERL_EXTRA_CFLAGS =~ s/\s+/ /g;
  -	}
  -
  -	if($PERL_DEBUG) {
  -	    my $lib = "$Config{archlibexp}/CORE/libperld$Config{lib_ext}";
  -	    if (-e $lib) {
  -		$LIBPERL = "-lperld";
  -		$libperl = " -- $LIBPERL";
  -	    }
  -	    $PERL_EXTRA_CFLAGS .= " -g";
  -	    $PERL_TRACE=1;
  -	    $PERL_DESTRUCT_LEVEL=2;
  -	    print "DEBUG mode...\n";
  -	    print "...adding `-g' to EXTRA_CFLAGS\n";
  -	    print "...turning on PERL_TRACE\n";
  -	    print "...setting PERL_DESTRUCT_LEVEL=2\n";
  -	    print "...linking against libperld\n" if $libperl;
  -	    sleep(1);
  -	}
  -
  -	$PERL_EXTRA_CFLAGS .= " -DPERL_DESTRUCT_LEVEL=$PERL_DESTRUCT_LEVEL"
  -	    if $PERL_DESTRUCT_LEVEL;
  +	last if $NO_HTTPD; # or $USE_APACI;
   
   	unless(-e "src/Configuration" and (-M "src/Configuration" < -M $conf) and not $USE_APACI)
{
   	    unless(-e $conf) {
  
  
  

Mime
View raw message