i believe the APACHE_SRC is the location
of the actual source tree.
the perl code is taking this APACHE_SRC variable
and stripping the /src from the end to get the
directory APACHE_ROOT. The APACHE_ROOT
is the directory that you unpacked the archive into. It contains
some config info and stuff that is not a part of the source 'proper'.
i.e. on my system
APACHE_SRC is /usr/local/src/apache_1.3.3/src
APACHE_ROOT is /usr/local/src/apache_1.3.3
hope this helps,
cliff rayman
genwax.com
"William P. McGonigle" wrote:
> Can someone explain what APACHE_ROOT is meant to be? I'm assuming it's somehow
> different thatn APACHE_SRC (which I'm defining).
>
> I found this in Makefile.PL:
>
> ($APACHE_ROOT = $APACHE_SRC) =~ s,/src/?$,,;
> last if $NO_HTTPD; # or $USE_APACI;
>
> But although I code alot of perl, I'm abyssmal at trying to figure out these
> constructs, and my books are at home...
>
> Anyway, it's getting set to blank when I run Makefile.PL.
>
> Thanks,
> -Bill