wsanchez    99/11/16 18:25:08

  Modified:    .        configure
               src      CHANGES
  Log:
  Add --with-port option.
  Submitted by: Ian Kallen <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.105     +11 -2     apache-1.3/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/apache-1.3/configure,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- configure 1999/10/05 14:46:02     1.104
  +++ configure 1999/11/17 02:24:55     1.105
  @@ -414,6 +414,7 @@
               echo " --enable-shared=NAME   enable  build of Module named 
'NAME' as a DSO"
               echo " --disable-shared=NAME  disable build of Module named 
'NAME' as a DSO"
               echo " --with-perl=FILE       path to the optional Perl 
interpreter"
  +            echo " --with-port=PORT       set the port number for httpd.conf"
               echo " --without-support      disable the build and installation 
of support tools"
               echo " --without-confadjust   disable the user/situation 
adjustments in config"
               echo " --without-execstrip    disable the stripping of 
executables on installation"
  @@ -902,6 +903,10 @@
           --with-perl=*)
               PERL="$apc_optarg"
               ;;
  +        --with-port=*)
  +            echo "Using port $apc_optarg"
  +            port="$apc_optarg"
  +            ;;
           --without-support)
               support=0
               ;;
  @@ -1085,7 +1090,11 @@
   ##
   conf_user="nobody"
   conf_group="\\\\#-1"
  -conf_port="80"
  +if [ "x$port" != "x" ]; then
  +    conf_port=$port
  +else
  +    conf_port="80"
  +fi
   conf_serveradmin="[EMAIL PROTECTED]"
   conf_servername="new.host.name"
   if [ "x$confadjust" = "x1" ]; then
  @@ -1103,7 +1112,7 @@
               fi
           done
       fi
  -    if [ "x`$aux/getuid.sh`" != "x0" ]; then
  +    if [ "x`$aux/getuid.sh`" != "x0" -a "x$port" = "x" ]; then
           conf_port="8080"
       fi
       conf_serveradmin="`$aux/buildinfo.sh -n [EMAIL PROTECTED]"
  
  
  
  1.1444    +2 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1443
  retrieving revision 1.1444
  diff -u -r1.1443 -r1.1444
  --- CHANGES   1999/10/27 09:13:09     1.1443
  +++ CHANGES   1999/11/17 02:24:59     1.1444
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3.10
     
  +  *) Add --with-port option to APACI. [Ian Kallen <[EMAIL PROTECTED]>]
  +
     *) Fixed QUERY_STRING handling for `RewriteRule ... [P]'
        in per-directory context.
        [Martin Zeh <[EMAIL PROTECTED]>] PR#5073
  
  
  

Reply via email to