You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Jim Jagielski <ji...@hyperreal.com> on 1996/07/30 20:24:54 UTC
cvs commit: apache/src Configuration.tmpl README conf.h
jim 96/07/30 11:24:53
Modified: src Configuration.tmpl README conf.h
Log:
more cleanup for regex selection
Revision Changes Path
1.24 +3 -1 apache/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apache/src/Configuration.tmpl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C3 -r1.23 -r1.24
*** Configuration.tmpl 1996/07/29 22:52:00 1.23
--- Configuration.tmpl 1996/07/30 18:24:50 1.24
***************
*** 80,86 ****
# convenience, a regex implementation. The regex code is NOT official
# 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)
#REGLIBS=regex/libregex.a
# Default to using ranlib on libraries (for regex). Set this to something else
--- 80,88 ----
# convenience, a regex implementation. The regex code is NOT official
# 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
1.12 +10 -0 apache/src/README
Index: README
===================================================================
RCS file: /export/home/cvs/apache/src/README,v
retrieving revision 1.11
retrieving revision 1.12
diff -C3 -r1.11 -r1.12
*** README 1996/07/29 23:26:44 1.11
--- README 1996/07/30 18:24:51 1.12
***************
*** 186,191 ****
--- 186,196 ----
HAVE_SYS_SELECT_H:
Define if the OS has the <sys/select.h> header file.
+
+ HAVE_SYS_RESOURCE_H:
+ Define if the OS has and supports the getrlimit/setrlimit
+ family. Apache uses this to determine if RLIMIT_CPU|VMEM|DATA|RLIMIT
+ is found and used.
--
USE_*:
***************
*** 203,208 ****
--- 208,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_*:
1.29 +5 -0 apache/src/conf.h
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache/src/conf.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -C3 -r1.28 -r1.29
*** conf.h 1996/07/27 21:39:45 1.28
--- conf.h 1996/07/30 18:24:51 1.29
***************
*** 396,402 ****
--- 396,407 ----
#ifndef QNX
#include <memory.h>
#endif
+
+ #ifdef USE_HS_REGEX
#include "regex/regex.h"
+ #else
+ #include <regex.h>
+ #endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
Re: cvs commit: apache/src Configuration.tmpl README conf.h
Posted by Alexei Kosut <ak...@organic.com>.
On Tue, 30 Jul 1996, Jim Jagielski wrote:
> # convenience, a regex implementation. The regex code is NOT official
> # 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
IMHO, Ttis is *really* yucky. A user should never have to edit any of the
source files, unless they have a really obsure OS (and I don't consider,
for example, IRIX or SunOS 4.1 to be obsure). Why not just tell them to
add "-Iregex" to CFLAGS and then always include <regex.h>? Or, even
better, add a
#REG_INC=-Iregex
and then add $(REG_INC) to the .o.c and http_brintf.c entries in
Makefile.
Either way, the user only has to edit Configuration.
-- Alexei Kosut <ak...@organic.com> The Apache HTTP Server
http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/