dougm       01/10/20 11:30:40

  Modified:    lib/ModPerl BuildOptions.pm
               pod      modperl_dev.pod
  Log:
  default to building mod_perl as a dso
  
  Revision  Changes    Path
  1.10      +4 -1      modperl-2.0/lib/ModPerl/BuildOptions.pm
  
  Index: BuildOptions.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- BuildOptions.pm   2001/09/08 18:00:49     1.9
  +++ BuildOptions.pm   2001/10/20 18:30:39     1.10
  @@ -23,6 +23,8 @@
       if ($build->{MP_DEBUG} and $build->{MP_USE_GTOP}) {
           $build->{MP_USE_GTOP} = 0 unless $build->find_dlfile('gtop');
       }
  +
  +    $build->{MP_USE_DSO} = 1 unless $build->{MP_USE_STATIC};
   }
   
   sub parse {
  @@ -151,7 +153,8 @@
   MAINTAINER   Maintainer mode: DEBUG=1 -DAP_DEBUG -Wall ...
   CCOPTS               Add to compiler flags
   TRACE                Turn on tracing
  -USE_DSO              Build mod_perl as a dso
  +USE_DSO              Build mod_perl as a dso
  +USE_STATIC   Build mod_perl static
   INST_APACHE2 Install *.pm relative to Apache2/ directory
   PROMPT_DEFAULT       Accept default value for all would-be prompts
   OPTIONS_FILE Read options from given file
  
  
  
  1.43      +6 -2      modperl-2.0/pod/modperl_dev.pod
  
  Index: modperl_dev.pod
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/pod/modperl_dev.pod,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- modperl_dev.pod   2001/10/19 02:17:10     1.42
  +++ modperl_dev.pod   2001/10/20 18:30:40     1.43
  @@ -66,7 +66,7 @@
   =head2 Create the build environment
   
     % cd modperl-2.0
  -  % perl Makefile.PL MP_GENERATE_XS=1 MP_USE_DSO=1 \
  +  % perl Makefile.PL MP_GENERATE_XS=1 \
       MP_APXS=$apache_prefix/bin/apxs && make
   
   I<options> an optional list of (key,value) pairs.
  @@ -85,7 +85,11 @@
   
   =item MP_USE_DSO
   
  -Build mod_perl as a DSO
  +Build mod_perl as a DSO (default)
  +
  +=item MP_USE_STATIC
  +
  +Build mod_perl static
   
   =item MP_STATIC_EXTS
   
  
  
  


Reply via email to