Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

Makefile.PL patch

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


stas at stason

Feb 8, 2001, 11:43 PM

Post #1 of 6 (1350 views)
Permalink
Makefile.PL patch

This patch attempts to improve Apache::MyConfig. It:

* adds other configuration arguments for a later reuse. Please see if I've
missed some possible arguments. I wish there was a way to ask MakeMaker to
return all the arguments passed to Makefile.PL... @ARGV is not good since
it's being mangled. Hmm, may be catching it at the beginning of
Makefile.PL? Since otherwise one has to hardcode all the possible args.

* makes addition of new (hardcoded) arguments easier (no explicit hash
definition)

_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas [at] stason http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Attachments: Makefile.PL.diff (1.39 KB)


dougm at covalent

Apr 17, 2001, 3:37 PM

Post #2 of 6 (1328 views)
Permalink
Re: Makefile.PL patch [In reply to]

thanks stas, applied.

On Fri, 9 Feb 2001, Stas Bekman wrote:

> This patch attempts to improve Apache::MyConfig. It:
>
> * adds other configuration arguments for a later reuse. Please see if I've
> missed some possible arguments. I wish there was a way to ask MakeMaker to
> return all the arguments passed to Makefile.PL... @ARGV is not good since
> it's being mangled. Hmm, may be catching it at the beginning of
> Makefile.PL? Since otherwise one has to hardcode all the possible args.
>
> * makes addition of new (hardcoded) arguments easier (no explicit hash
> definition)
>
> _____________________________________________________________________
> Stas Bekman JAm_pH -- Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide http://perl.apache.org/guide
> mailto:stas [at] stason http://apachetoday.com http://logilune.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


gyoung at laserlink

Apr 24, 2001, 6:58 AM

Post #3 of 6 (1314 views)
Permalink
RE: Makefile.PL patch [In reply to]

Hi Stas...

I was just looking over apaci/modperl.config and saw that it includes a
bunch of stuff not in MyConfig.pm. I'm not even sure of the status of some
of these arguments (like PERL_STASH_POST_DATA is pretty much deprecated but
I have no idea about XS_IMPORT), but PERL_SECTIONS and PERL_SSI at least
ought to be there...

anyway, here's a list of stuff...

DO_INTERNAL_REDIRECT
PERL_DEFAULT_OPMASK
PERL_DSO_UNLOAD
PERL_MARK_WHERE
PERL_ORALL_OPMASK
PERL_RUN_XS
PERL_SAFE_STARTUP
PERL_SECTIONS
PERL_SSI
PERL_STARTUP_DONE_CHECK
PERL_STASH_POST_DATA
PERL_THREADS
XS_IMPORT

--Geoff

> -----Original Message-----
> From: Stas Bekman [mailto:stas [at] stason]
> Sent: Friday, February 09, 2001 1:43 AM
> To: modperl-2.0 dev-list
> Subject: Makefile.PL patch
>
>
> This patch attempts to improve Apache::MyConfig. It:
>
> * adds other configuration arguments for a later reuse.
> Please see if I've
> missed some possible arguments. I wish there was a way to ask
> MakeMaker to
> return all the arguments passed to Makefile.PL... @ARGV is
> not good since
> it's being mangled. Hmm, may be catching it at the beginning of
> Makefile.PL? Since otherwise one has to hardcode all the
> possible args.
>
> * makes addition of new (hardcoded) arguments easier (no explicit hash
> definition)
>
> _____________________________________________________________________
> Stas Bekman JAm_pH -- Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide http://perl.apache.org/guide
> mailto:stas [at] stason http://apachetoday.com http://logilune.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


stas at stason

Apr 24, 2001, 7:44 AM

Post #4 of 6 (1336 views)
Permalink
RE: Makefile.PL patch [In reply to]

On Tue, 24 Apr 2001, Geoffrey Young wrote:

> Hi Stas...
>
> I was just looking over apaci/modperl.config and saw that it includes a
> bunch of stuff not in MyConfig.pm. I'm not even sure of the status of some
> of these arguments (like PERL_STASH_POST_DATA is pretty much deprecated but
> I have no idea about XS_IMPORT), but PERL_SECTIONS and PERL_SSI at least
> ought to be there...
>
> anyway, here's a list of stuff...
>
> DO_INTERNAL_REDIRECT
> PERL_DEFAULT_OPMASK
> PERL_DSO_UNLOAD
> PERL_MARK_WHERE
> PERL_ORALL_OPMASK
> PERL_RUN_XS
> PERL_SAFE_STARTUP
> PERL_SECTIONS
> PERL_SSI
> PERL_STARTUP_DONE_CHECK
> PERL_STASH_POST_DATA
> PERL_THREADS
> XS_IMPORT

yup, when I've submitted the patch, I've asked whether there is something
else that should be added (see below). There was no follow-up...

Doug? Should we add all these?

If we could just get @ARGV, that would be the simplest and no hardcoded
data...

Thanks a bunch, Geoff

> > -----Original Message-----
> > From: Stas Bekman [mailto:stas [at] stason]
> > Sent: Friday, February 09, 2001 1:43 AM
> > To: modperl-2.0 dev-list
> > Subject: Makefile.PL patch
> >
> >
> > This patch attempts to improve Apache::MyConfig. It:
> >
> > * adds other configuration arguments for a later reuse.
> > Please see if I've
> > missed some possible arguments. I wish there was a way to ask
> > MakeMaker to
> > return all the arguments passed to Makefile.PL... @ARGV is
> > not good since
> > it's being mangled. Hmm, may be catching it at the beginning of
> > Makefile.PL? Since otherwise one has to hardcode all the
> > possible args.

_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas [at] stason http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


dougm at covalent

Apr 24, 2001, 9:02 PM

Post #5 of 6 (1315 views)
Permalink
RE: Makefile.PL patch [In reply to]

On Tue, 24 Apr 2001, Geoffrey Young wrote:

> Hi Stas...
>
> I was just looking over apaci/modperl.config and saw that it includes a
> bunch of stuff not in MyConfig.pm. I'm not even sure of the status of some
> of these arguments (like PERL_STASH_POST_DATA is pretty much deprecated but
> I have no idea about XS_IMPORT), but PERL_SECTIONS and PERL_SSI at least
> ought to be there...
>
> anyway, here's a list of stuff...
>
> DO_INTERNAL_REDIRECT
> PERL_DEFAULT_OPMASK
> PERL_DSO_UNLOAD
> PERL_MARK_WHERE
> PERL_ORALL_OPMASK
> PERL_RUN_XS
> PERL_SAFE_STARTUP
> PERL_SECTIONS
> PERL_SSI
> PERL_STARTUP_DONE_CHECK
> PERL_STASH_POST_DATA
> PERL_THREADS
> XS_IMPORT

gosh. i think PERL_SECTIONS and PERL_SSI should be there, i don't think
any others are useful in MyConfig.pm



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


dougm at covalent

Apr 24, 2001, 9:04 PM

Post #6 of 6 (1331 views)
Permalink
RE: Makefile.PL patch [In reply to]

On Tue, 24 Apr 2001, Stas Bekman wrote:

> Doug? Should we add all these?
>
> If we could just get @ARGV, that would be the simplest and no hardcoded
> data...

we should continue to filter out the junk, and just add PERL_SSI and
PERL_SECTIONS. easy to see why 2.0 uses a MP_ prefix for all
Makefile.PL options to avoid this mess :)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.