cvs commit: modperl-2.0/src/modules/perl modperl_config.h

2001-10-11 Thread dougm

dougm   01/10/11 08:38:23

  Modified:src/modules/perl modperl_config.h
  Log:
  add MP_dTHX macro
  
  Revision  ChangesPath
  1.28  +10 -0 modperl-2.0/src/modules/perl/modperl_config.h
  
  Index: modperl_config.h
  ===
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_config.h,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- modperl_config.h  2001/08/08 16:20:31 1.27
  +++ modperl_config.h  2001/10/11 15:38:23 1.28
  @@ -59,6 +59,16 @@
   #   define MP_dSCFG_dTHX dTHXa(scfg-perl)
   #endif
   
  +/* hopefully this macro will not need to be used often */
  +#ifdef USE_ITHREADS
  +#   define MP_dTHX \
  +modperl_interp_t *interp = \
  +   modperl_interp_select(r, r-connection, r-server); \
  +dTHXa(interp-perl)
  +#else
  +#   define MP_dTHX dNOOP
  +#endif
  +
   int modperl_config_apply_PerlModule(server_rec *s,
   modperl_config_srv_t *scfg,
   PerlInterpreter *perl, apr_pool_t *p);
  
  
  



Re: perl.apache.org / apache.perl.org

2001-10-11 Thread brian moseley

On Sun, 7 Oct 2001, Stas Bekman wrote:

 can you please post the URL again? thanks!

http://thisishomemade.com/for/modperl/site/

like he said before, it's really just a reorganization of
the available information, rather than a complete site
architecture with fancy rollover navigation, huge menu bars,
swooshes and swirls. what with mp2 and what not, it may be
that this design's time has passed.




Re: perl.apache.org / apache.perl.org

2001-10-11 Thread brian moseley

On Sun, 7 Oct 2001, Stas Bekman wrote:

 We have had two new designs worked out long time ago,
 but one has been picked by take23.org and the other
 wasn't applied. (hi brian)

:(

sorry! i have this tendency to bite off more than i can
chew. i have 10 projects and none of them will ever be
finished.

 What I want to say, is that it's not a point of where to
 host the site.  The point is that we need someone to do
 the job of re-doing and making it easy to maintain the
 site, to keep it nice.

jim's design is still available if somebody wants to use it.




cvs commit: modperl-2.0/lib/Apache Build.pm

2001-10-11 Thread dougm

dougm   01/10/11 12:32:43

  Modified:lib/Apache Build.pm
  Log:
  fixup ldopts for hpux
  
  Revision  ChangesPath
  1.48  +8 -0  modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- Build.pm  2001/09/13 02:01:31 1.47
  +++ Build.pm  2001/10/11 19:32:43 1.48
  @@ -127,6 +127,14 @@
   my $ldopts = ExtUtils::Embed::ldopts();
   chomp $ldopts;
   
  +if ($^O eq 'hpux' and $Config{ld} eq 'ld') {
  +while ($ldopts =~ s/-Wl,(\S+)/$1/) {
  +my $cp = $1;
  +(my $repl = $cp) =~ s/,/ /g;
  +$ldopts =~ s/\Q$cp/$repl/;
  +}
  +}
  +
   if ($self-{MP_USE_GTOP}) {
   $ldopts .= $self-gtop_ldopts;
   }
  
  
  



cvs commit: modperl-2.0 Makefile.PL

2001-10-11 Thread dougm

dougm   01/10/11 12:48:08

  Modified:.Makefile.PL
  Log:
  add os specific sanity checks starting with hpux
  
  Revision  ChangesPath
  1.43  +19 -0 modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- Makefile.PL   2001/10/11 03:29:32 1.42
  +++ Makefile.PL   2001/10/11 19:48:08 1.43
  @@ -181,6 +181,7 @@
   
   $build-lib_check('gdbm');
   malloc_check();
  +os_check();
   }
   
   sub malloc_check {
  @@ -200,6 +201,24 @@
   }
   }
   
  +sub os_check {
  +my $check = \{os_check_$^O};
  +return unless defined $check;
  +$check-()
  +}
  +
  +sub os_check_hpux {
  +my $ccflags = $build-perl_config('ccflags');
  +
  +if ($build-{MP_USE_DSO} and $Config{ld} eq 'ld') {
  +unless ($ccflags =~ /\+z/i) {
  +$build-phat_warn(EOF);
  +mod_perl is unlikely to link with your libperl, suggestions:
  +*) Rebuild Perl with Configure -Accflags=+Z ...
  +EOF
  +}
  +}
  +}
   
   # by default only Makefile.PL's in the first level sub-dirs are
   # discovered. If you want to reach a Makefile.PL's in some remote
  
  
  



Re: perl.apache.org / apache.perl.org

2001-10-11 Thread Nathan Torkington

Stas Bekman writes:
 Everything is under CVS, and if somebody wants to come and give a
 hand to redo the site, there is no problem to give a cvs access to
 this person.

I'll chew on a new layout and give you something by the end of the
week.  Thanks,

Nat




cvs commit: modperl-2.0/lib/Apache Build.pm

2001-10-11 Thread dougm

dougm   01/10/11 17:23:51

  Modified:lib/Apache Build.pm
  Log:
  fixup hpux cflags
  
  Revision  ChangesPath
  1.49  +16 -1 modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- Build.pm  2001/10/11 19:32:43 1.48
  +++ Build.pm  2001/10/12 00:23:50 1.49
  @@ -178,10 +178,25 @@
   $ccopts;
   }
   
  +sub ccopts_hpux {
  +my $cflags = shift;
  +#return if $Config{cc} eq 'gcc'; #XXX?
  +return if $$cflags =~ /(-Ae|\+e)/;
  +$$cflags .=  -Ae;
  +}
  +
   sub ccopts {
   my($self) = @_;
  +
  +my $cflags = $self-strip_lfs(ExtUtils::Embed::ccopts()) .
  +  $self-ap_ccopts;
  +
  +my $fixup = \{ccopts_$^O};
  +if (defined $fixup) {
  +$fixup-(\$cflags);
  +}
   
  -$self-strip_lfs(ExtUtils::Embed::ccopts()) . $self-ap_ccopts;
  +$cflags;
   }
   
   sub perl_config {