httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: cvs commit: apache/src CHANGES Configuration.tmpl Makefile.tmpl
Date Tue, 30 Jul 1996 18:49:30 GMT
Jim Jagielski wrote:
> 
> In the meantime, how does something like this appear:

I think it is the wrong approach to make each individual end user figure out
what -Ds are needed ... we should encourage a system which means that we end
up with an entry in conf.h which corresponds to their OS, and it seems to me
that this doesn't.

Cheers,

Ben.

> 
> Index: apache/src/Configuration.tmpl
> ===================================================================
> RCS file: /export/home/cvs/apache/src/Configuration.tmpl,v
> retrieving revision 1.24
> diff -c -r1.24 Configuration.tmpl
> *** Configuration.tmpl	1996/07/30 18:24:50	1.24
> --- Configuration.tmpl	1996/07/30 19:03:00
> ***************
> *** 39,59 ****
>   # If you find that your OS can't cope with mmap (compiles OKAY but refuses
>   # to run and moans "httpd: Could not mmap memory" .. or similar) try
>   # disabling use of shared memory for process management (scoreboard with
> ! # -DNO_MMAP
>   
>   # Status Instrumentation
>   # In order for the status module to obtain full statistics Apache must
>   # be modified to keep track of various information.  This is not
> ! # turned on by default. In order to enable full status details add -DSTATUS 
> ! # to the end of the CFLAGS line below.
>   
>   # Using SOCKS
>   # Apache can be compiled to work over a SOCKS firewall by 
> ! # adding the following string to your CFLAGS define:
> ! #
> ! #  -Dconnect=Rconnect -Dselect=Rselect -Dgethostbyname=Rgethostbyname
>   #
> ! # and by adding the following to the EXTRA_LIBS define:
>   #
>   #  -L/usr/local/lib -lsocks
>   #
> --- 39,61 ----
>   # If you find that your OS can't cope with mmap (compiles OKAY but refuses
>   # to run and moans "httpd: Could not mmap memory" .. or similar) try
>   # disabling use of shared memory for process management (scoreboard with
> ! # -DNO_MMAP) by uncommenting the line below:
> ! #NOMMAPFLAG= -DNO_MMAP
>   
>   # Status Instrumentation
>   # In order for the status module to obtain full statistics Apache must
>   # be modified to keep track of various information.  This is not
> ! # turned on by default. In order to enable full status details uncomment
> ! # the line below:
> ! #STATFLAG= -DSTATUS
>   
>   # Using SOCKS
>   # Apache can be compiled to work over a SOCKS firewall by 
> ! # uncommenting the line below:
> ! #SOCKSFLAG=  -Dconnect=Rconnect -Dselect=Rselect -Dgethostbyname=Rgethostbyname
> ! 
>   #
> ! # Also add the following to the EXTRA_LIBS define:
>   #
>   #  -L/usr/local/lib -lsocks
>   #
> ***************
> *** 65,79 ****
>   #  defaults in.  Note that this config file does not include DBM auth by
>   #  default --- configure it in below if you need it].
>   
> ! CFLAGS= -O2
> ! 
> ! # Place here any flags you may need upon linking, such as a flag to
> ! # prevent dynamic linking (if desired)
> ! LFLAGS= 
> ! 
> ! # Place here any extra libraries you may need to link to. 
> ! # -lndbm is commonly required for DBM auth, if that is configured in.
> ! EXTRA_LIBS=
>   
>   # Apache requires a POSIX regex implementation. Some/most platforms provide
>   # this capability, but for those that don't, Apache provides, simply for
> --- 67,74 ----
>   #  defaults in.  Note that this config file does not include DBM auth by
>   #  default --- configure it in below if you need it].
>   
> ! # What level of optimization?
> ! OPTMFLAG= -O2
>   
>   # Apache requires a POSIX regex implementation. Some/most platforms provide
>   # this capability, but for those that don't, Apache provides, simply for
> ***************
> *** 81,95 ****
>   # Apache code and the Apache team does not support or guarantee the code.
>   # If you want to use the supplied regex package, uncomment the following
>   # line (or set it equal to the regex lib on your system). ALSO: If
> ! # using this _regex_ package, be sure to #define USE_HS_POSIX in conf.h
> ! # for your platform.
>   #REGLIBS=regex/libregex.a
>   
>   # Default to using ranlib on libraries (for regex). Set this to something else
>   # if ranlib kills your system (usually by setting it again in the OS specific
>   # section below)
>   RANLIB=ranlib
>   
>   # AUX_CFLAGS are system-specific control flags.
>   # NOTE: IF YOU DO NOT CHOOSE ONE OF THESE, EDIT httpd.h AND CHOOSE
>   # SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
> --- 76,102 ----
>   # Apache code and the Apache team does not support or guarantee the code.
>   # If you want to use the supplied regex package, uncomment the following
>   # line (or set it equal to the regex lib on your system). ALSO: If
> ! # using this _regex_ package, be sure to also uncomment REGFLAGS as well
>   #REGLIBS=regex/libregex.a
> + #REGFLAGS= -DUSE_HS_REGEX
>   
>   # Default to using ranlib on libraries (for regex). Set this to something else
>   # if ranlib kills your system (usually by setting it again in the OS specific
>   # section below)
>   RANLIB=ranlib
>   
> + # Place here any flags you may need upon linking, such as a flag to
> + # prevent dynamic linking (if desired)
> + LFLAGS= 
> + 
> + # Place here any extra libraries you may need to link to. 
> + # -lndbm is commonly required for DBM auth, if that is configured in.
> + EXTRA_LIBS=
> + 
> + # Build CFLAGS
> + CFLAGS= $(OPTMFLAG) $(NOMMAPFLAG) $(STATFLAG) $(SOCKSFLAG) $(REGFLAGS)
> + 
> + #
>   # AUX_CFLAGS are system-specific control flags.
>   # NOTE: IF YOU DO NOT CHOOSE ONE OF THESE, EDIT httpd.h AND CHOOSE
>   # SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
> Index: apache/src/README
> ===================================================================
> RCS file: /export/home/cvs/apache/src/README,v
> retrieving revision 1.12
> diff -c -r1.12 README
> *** README	1996/07/30 18:24:51	1.12
> --- README	1996/07/30 19:03:00
> ***************
> *** 209,218 ****
>        USE_LONGJMP:
>         use the longjmp() call instead of siglongjmp()
>   
> -      USE_HS_REGEX:
> -       Define this (and adjust Configuration as required) if you want
> -       or need to use H. Spencer's POSIX/regex package which is
> -       included.
>   --
>   
>     NO_*:
> --- 209,214 ----
> 
> -- 
> Jim Jagielski  << jim@jaguNET.com >>   |   "There is a time for laughing,
>   **  jaguNET Access Services  **      |    and a time for not laughing,
>       Email: info@jaguNET.com          |    and this is not one of them"
> ++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.            Apache Group member (http://www.apache.org)

Mime
View raw message