perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@opengroup.org>
Subject Re: cvs commit: modperl/src/modules/perl Tie.xs
Date Tue, 09 Jun 1998 13:50:39 GMT
rse@hyperreal.org wrote:

> rse         98/06/09 06:37:27
> 
>   Modified:    src/modules/perl Tie.xs
>   Log:
>   Under APACI the APACHE_SRC dir is not in the include path (no -I for this) and
>   thus Tie.xs only compiled when PERL_SSI was active (where -I$(SRCDIR) is
>   needed for mod_include - which cannot do it differenly). OTOH we can change
>   this to a local variant because all other sources are already this way:
>   
>   Apache.xs:#include "mod_perl.h"
>   Constants.xs:#include "mod_perl.h"
>   Makefile:$(OBJS): mod_perl.h $(INCDIR)/httpd.h $(INCDIR)/http_config.h
>   ModuleConfig.xs:#include "mod_perl.h"
>   mod_perl.c:#include "mod_perl.h"
>   mod_perl.h:} mod_perl_handler;
>   mod_perl.h:SV *mod_perl_resolve_handler(request_rec *r, SV *sv,
>   mod_perl_handler *h);
>   mod_perl.h:mod_perl_handler *mod_perl_new_handler(request_rec *r, SV *sv);
>   perl_config.c:#include "mod_perl.h"
>   perl_util.c:#include "mod_perl.h"
>   perlio.c:#include "mod_perl.h"
>   
>   So we break nothing and only gain a working APACI variant when
>   we subst modules/perl/mod_perl.h --> mod_perl.h for Tie.xs.

Looks good.  It was originally modules/perl/mod_perl.h when Apache::Tie
was outside the distribution, and Makefile.PL's INC was
Apache::src->new->inc 

-Doug

Mime
View raw message