568362d70c
Fix the check for rlim_t correctly. I wish I had known that we had
...
created an rlim_t check in acinclude.m4. :-)
Submitted by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85476 13f79535-47bb-0310-9956-ffa450edef68
2000-06-08 21:32:13 +00:00
9b90f11c5f
Cleanup APR header files a bit. Basically, this splits ap_table_t related
...
functions into their own header file, away from apr_pools.h. At the same
time as I was doing this, I removed a couple of definitions that aren't
used anywhere anymore, like ap_child_info_t.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85473 13f79535-47bb-0310-9956-ffa450edef68
2000-06-08 19:29:40 +00:00
cc8eeb2d84
Remove all occurances of gettimeofday. Replace it with ap_now which
...
provides the same function but works cross-paltform.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85463 13f79535-47bb-0310-9956-ffa450edef68
2000-06-08 00:28:35 +00:00
8e71dbb527
Make Apache and APR use the same flags to specify maintainer mode. I
...
chose to use --with-maintainer-mode, because that flag can be passed down
using AC_CONFIG_SUBDIRS. I couldn't find any easy way to pass environment
variables to configure scripts called from within Apache's configure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85262 13f79535-47bb-0310-9956-ffa450edef68
2000-05-19 23:13:31 +00:00
2c8f922f53
use helpers/PrintPath instead of which to find the location of
...
the perl interpreter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85183 13f79535-47bb-0310-9956-ffa450edef68
2000-05-11 03:20:15 +00:00
c445556372
Replace hsregex with PCRE. The PCRE library is always used in 2.0,
...
regardless of what system we are on. Currently, we are using the POSIX
wrappers that PCRE provides.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85153 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 23:17:54 +00:00
c3b24299af
Make apxs mostly work for 2.0. It doesn't add the module to the config
...
file yet, but that should be trivial to add back in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85150 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 20:10:33 +00:00
afb48ffe10
Configure creates config.nice now containing your configure options.
...
Syntax: ./config.nice [--more-options]
Obtained from: PHP
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85127 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 02:02:54 +00:00
a7315d1bd1
Blurf. Move the preload down a bit to
...
ensure that the location of config.guess is set :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85126 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 00:48:54 +00:00
56faece2ad
And preload from the top.
...
Next on the list: using hints.m4 to set whether to use HSregex and
to select the "default" mpm for each OS type.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85125 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 00:09:05 +00:00
6a0e55e698
Add VPATH support to Apache:
...
os/$(OS_DIR) is now equivalent to the old $(OS_DIR)
Necessary include paths are added only in VPATH mode.
Dependencies are stored in the build directory now.
They contain paths which depend on the current build,
and therefore they are not general.
Fixed two dependencies in main/Makefile.in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85113 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 18:27:18 +00:00
99fa11cb5f
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths everywhere
(fixes Tru64 support)
* Get rid of LTLIBRARY_SHARED_NAME rule in library.mk
(fixes Irix support, untested)
* VPATH does not contain variables anymore
(fixes UnixWare support)
* Remove inclusion of program.mk in support/Makefile.in
(PROGRAM_NAME is empty => breaks Irix and others)
* Call REENTRANCY_FLAGS earlier, so that flags are passed to header checks
(might fix OpenBSD pthread.h-detection, untested)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85102 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 00:06:07 +00:00
eb3fe5cf4f
Add the support directory back into the build process.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85053 13f79535-47bb-0310-9956-ffa450edef68
2000-04-27 04:21:21 +00:00
88e2d0cc0b
Fix the progname stuff to work the same way the rest of the configure
...
scheme works.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85050 13f79535-47bb-0310-9956-ffa450edef68
2000-04-26 21:08:26 +00:00
c5fa06cca7
Define HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
...
at configure time. Some of the modules use these.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85046 13f79535-47bb-0310-9956-ffa450edef68
2000-04-26 14:50:33 +00:00
432068735d
If a developer uses --with-program-name=foo, the config files are renamed
...
to match the name of the executable. In this example, httpd.conf will be
renamed to foo.conf.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85041 13f79535-47bb-0310-9956-ffa450edef68
2000-04-25 23:20:36 +00:00
ce2268f43d
Allow the Apache-2.0 executable name to be specified with the
...
--with-program-name command line argument to configure. This does not
change the name of the config files or anything else, yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85035 13f79535-47bb-0310-9956-ffa450edef68
2000-04-25 21:29:27 +00:00
20325a811b
Fix minor configuration & platform dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84962 13f79535-47bb-0310-9956-ffa450edef68
2000-04-14 14:32:20 +00:00
62c2756b58
In my libnsl, there's gethostname but not gethostbyname
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84944 13f79535-47bb-0310-9956-ffa450edef68
2000-04-11 13:47:20 +00:00
689a3da99b
Recognize an EBCDIC platform during configuration and turn on
...
CHARSET_EBCDIC.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84935 13f79535-47bb-0310-9956-ffa450edef68
2000-04-07 02:45:11 +00:00
b04191cbb3
In mpmt_pthread.c, include <netinet/tcp.h> only if
...
the system actually has it. (This was intended to be committed
with the mpmt_pthread.c change.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84931 13f79535-47bb-0310-9956-ffa450edef68
2000-04-06 02:02:39 +00:00
6352ccc914
Under OS/2 (well actually EMX gcc) libraries don't have a 'lib' prefix. In
...
main code libtool handles it. This deals with APR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84905 13f79535-47bb-0310-9956-ffa450edef68
2000-04-04 13:31:13 +00:00
98ebd36301
Eliminate src/apaci, and replace with a header file containing paths:
...
include/ap_config_path.h.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84871 13f79535-47bb-0310-9956-ffa450edef68
2000-03-31 02:38:33 +00:00
6680bb4b6d
Fix the generation of the apaci script, so it has valid permissions after
...
running config.status
Submitted by: Brian Martin <bmartin@penguincomputing.com >
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84868 13f79535-47bb-0310-9956-ffa450edef68
2000-03-30 21:50:20 +00:00
f4dc950437
Strict prototypes are no use until someone rewrites the config API.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84791 13f79535-47bb-0310-9956-ffa450edef68
2000-03-18 11:09:52 +00:00
6929a75fd3
Oops, EXTRA_CFLAGS wasn't getting set.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84691 13f79535-47bb-0310-9956-ffa450edef68
2000-03-02 02:12:49 +00:00
b19a48bc44
A little CFLAGS reformation. Additions to Apache's CFLAGS should be
...
using EXTRA_CFLAGS instead, so we don't affect packages that Apache
configures.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84690 13f79535-47bb-0310-9956-ffa450edef68
2000-03-02 02:01:03 +00:00
8901d28816
Fix prefix handling. Before this patch, when using --prefix on the
...
configure line, the binary ignored it when setting HTTPD_ROOT. This
patch fixes that problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84595 13f79535-47bb-0310-9956-ffa450edef68
2000-02-09 01:33:24 +00:00
afb25f19b3
Remove vestiges of automake.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84484 13f79535-47bb-0310-9956-ffa450edef68
2000-01-17 20:34:44 +00:00
ab6abdbd53
Move threads/reentrancy m4 macros into threads.m4. All results are now
...
cached and can be made easily available to Apache and APR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84475 13f79535-47bb-0310-9956-ffa450edef68
2000-01-16 20:00:51 +00:00
e959e6b340
Rewrite pthreads check to be more tool-independent, and propagate flags
...
to APR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84474 13f79535-47bb-0310-9956-ffa450edef68
2000-01-16 18:24:39 +00:00
bbe1a3601e
These changes are committed together, because they depend on each other.
...
- shared modules can be built in the tree
- added support for --with-layout, uses APACI's config.layout
- working 'make install'
- working 'make depend'
- working Pthreads checks
- buildconf replaced
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84423 13f79535-47bb-0310-9956-ffa450edef68
2000-01-11 13:11:13 +00:00
191c4462f1
Submitted by: Sascha Schumann <sascha@schumann.cx>
...
Reviewed by: Rasmus Lerdorf
- INADDR_NONE is not defined. Supply a replacement
- APACHE_MODULE() used a non-portable shell construct
- inet_addr() needs -lnsl -lsocket. Neccessary checks added
- For POSIX conformance, _POSIX_PTHREAD_SEMANTICS is
required. This fixes i.e. sigwait() problems.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84367 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 18:40:27 +00:00
ef6a9f850c
Finish the MPM decision logic. This moves the threads checking stuff into
...
the mpm directory where it belongs. It also adds logic so that if threads
aren't detected, we automatically choose to use the prefork mpm. Lastly,
I also cleaned up a variable name to make it more consistent with the other
variables used in our configure script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84365 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 18:31:10 +00:00
84f9b5d2c6
First stab at logic to determine which threading library to use. This also
...
gets rid of the hack of always putting -pthread in the CFLAGS variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84363 13f79535-47bb-0310-9956-ffa450edef68
1999-12-23 21:01:31 +00:00
53e662b1f2
Remove a bunch of functions that are being replaced by functions in APR.
...
Also finished porting Apache to use APR in most cases.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84355 13f79535-47bb-0310-9956-ffa450edef68
1999-12-21 21:41:53 +00:00
135f1dd2b8
Speed up building, by making --disable-shared the default until we put
...
proper DSO support into the autoconf configuration scripts.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84333 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 05:03:01 +00:00
f1451acffb
Make building a little easier by not requiring a separate make of APR.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84330 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 04:15:08 +00:00
8c0183b985
Eliminate the .h.stub files; AC_DEFINE can generate the necessary
...
#defines in the config header for us.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84329 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 03:09:50 +00:00
d90986d3cd
Make Apache's configure script run APR's.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84325 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 01:54:39 +00:00
876b8f3508
autoconf: Start adding support for selecting modules on the
...
./configure line. This commit only supports mod_env and mod_log_config.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84225 13f79535-47bb-0310-9956-ffa450edef68
1999-12-05 10:33:41 +00:00
869a58d8f7
autoconf: Generate modules.c based on configuration. This is the first
...
step to supporting selection of modules, and it seems to make --with-mpm
actually work now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84223 13f79535-47bb-0310-9956-ffa450edef68
1999-12-05 08:54:39 +00:00
6fc9499b65
Fix a couple of comments
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84203 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 04:57:07 +00:00
b1cb0fb04a
Place ap_config_auto.h in src/include. It didn't seem to work earlier,
...
but it does now. *shrug*
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84202 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 04:25:01 +00:00
04c494c2b5
Eliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.h
...
is used instead, and autoconf's configure script will check for
everything else.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84200 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 01:16:23 +00:00
3cfe8158af
Deal with times() properly in autoconf. This also changes NO_TIMES to
...
!HAVE_TIMES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84193 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 03:52:57 +00:00
8906cb9e2c
Some extra autoconf macros that might help us compile on "a POSIXized
...
ISC UNIX" or MINIX if someone ever tries to do it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84191 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 03:07:32 +00:00
ed08c67f3a
Fix a thinko. Apache's configure.in shouldn't attempt to create APR's
...
Makefile.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84190 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 02:40:56 +00:00
c6b9cc45c1
The second part of the big autoconf patch, which actually adds autoconf
...
building to the tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84187 13f79535-47bb-0310-9956-ffa450edef68
1999-11-29 23:47:33 +00:00