137a2183964e2033c5c844d43e6ed371387f2b7b 1652982 |
|
19-Jan-2015 |
rjung |
Fix detection of old Solaris versions.
Autotools need double square brackets. |
426d34b4cbd143e567835107b272fb6dd660af55 1652929 |
|
19-Jan-2015 |
ylavic |
Fix --enable-v4-mapped configuration on *BSD. PR 53824.
Submitted by: olli hauer <ohauer gmx.de>
Committed by: ylavic |
265e9c84e4ee23f41ac25622f8b8b3f481bbf281 1614821 |
|
31-Jul-2014 |
jorton |
* configure.in, acinclude.m4: Move systemd check to APACHE_CHECK_SYSTEMD
and use pkg-config where available. |
9a5b8adcc3bf39b6064e5d56000e47f81e8eb302 1613029 |
|
24-Jul-2014 |
rjung |
Fix syntax error introduced in r1612921. |
7b4064fe3f1bec89f6285d8e4e88133a1dd90226 1612921 |
|
23-Jul-2014 |
rjung |
Check for correct minimum PCRE version in configure,
do not check in source code. |
2ecbbcc65e007c80e2abc72fb8112ac0cd22947d 1585590 |
|
07-Apr-2014 |
breser |
Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in
the default includes path. |
810f9d974c8d0f272b4457e6b2f9c261e117a2f3 1579259 |
|
19-Mar-2014 |
jim |
Check if PCRE_DUPNAMES exists at configure time |
a7b478e2cc3402adc3e43d960e8e552b229593f8 1553134 |
|
23-Dec-2013 |
jim |
Allow user to explicitly determine whether or not BSD syntax
makefiles should be created... The default is NO unless we
are on a *BSD* system, in which case we actually see if
'make' is gmake or not. |
80dc1611735b38f7971e2d0e372282fc623c53a4 1552779 |
|
20-Dec-2013 |
jim |
For *bsd* systems, see if we are using BSD make and,
if so, then use that format for include/ifdef/else/endif |
d522f82d7ada07a0cedb8dc6b71eacf3477d7188 1551685 |
|
17-Dec-2013 |
trawick |
FreeBSD: Disable IPv4-mapped listening sockets by default for versions
5+ instead of just for FreeBSD 5.
PR: 53824 |
5a65270617de7ed4d14b193fdd6deb2d4890e1a6 1528034 |
|
01-Oct-2013 |
jorton |
Don't link support/* against systemd libs.
* Makefile.in: Link httpd using $(HTTPD_LIBS).
* configure.in: Add systemd to HTTPD_LIBS rather than LIBS. Add PCRE
libs to HTTPD_LIBS. |
9591ec71b8911ecefbf6571333ff78fcb6efffa5 1528032 |
|
01-Oct-2013 |
jorton |
* configure.in: Simplify/fix systemd detection: move later to fix
autoconf warnings; define HAVE_SYSTEMD rather than using CPPFLAGS.
* server/listen.c: Use HAVE_SYSTEMD for systemd #define.
* modules/arch/unix/config5.m4: Update systemd headers check. |
77e0c54d01cb01e700e939a78afa49a7aa1e2275 1511033 |
|
06-Aug-2013 |
pquerna |
Add support for systemd socket activation to listener sockets. |
31eaa741ef2bdc0cdfea9fb7c83ebb14277c9f67 1503680 |
|
16-Jul-2013 |
jim |
maintainer-mode should auto-enable mod_bucketeer |
f58fcd9d79be417ef351cac4e4c0ab264c5521e0 1496429 |
|
25-Jun-2013 |
trawick |
core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization
on Linux kernel versions 3.x and above.
PR: 55121
Submitted by: Bradley Heilbrun <apache heilbrun.org>
Reviewed by: trawick |
c12917da693bae4028a1d5a5e8224bceed8c739d 1442307 |
|
04-Feb-2013 |
sf |
Avoid valgrind warnings in mod_ssl random number generator
We intentionally add uninitialized stack memory. To avoid warnings,
make valgrind believe that the memory is defined.
Add configure option to enable valgrind support |
93539f32899ac52ab885aa4f4ef831fd86be3b77 1397716 |
|
12-Oct-2012 |
trawick |
follow-up to r1389481: find/use getloadavg() prototype on Solaris |
fc1459657a1fde206a847f9028930725d715f8b4 1397687 |
|
12-Oct-2012 |
trawick |
configure: Fix processing of --disable-FEATURE for various features. |
89da6eb70c41422a20e5f871dbf5950140d128ab 1389481 |
|
24-Sep-2012 |
jim |
Would be nice to have some sort of canonical definition
of server loading for Apache. So create a struct that
holds some useful data. The hope is that for those
platforms that lack getloadavg(), people will write
replacements. |
91ea8a85362a63522578e4d59fc6bfe37bc8df17 1389060 |
|
23-Sep-2012 |
trawick |
consolidate hints/instructions about using APR (and maybe APR-util) with httpd |
708fec3f1a67942d7ee00b8c57fb0aa4fb40dde2 1385216 |
|
16-Sep-2012 |
kbrand |
Spin off module-specific build options into separate build vars.
[second try, supersedes r1385214]
Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,
which are available to modules for customization on a per-subdir
basis (by adding definitions to modules.mk). Reduces the risk
of side-effects when a module needs to add CFLAGS, LDFLAGS etc.
and these would be added to the global settings (ALL_CFLAGS etc.).
Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,
mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx
build variables.
Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead
of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce
ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where
they appear at the proper position in the build commands.
Consistently use "--with-xxx=PATH" in configure help strings which
are used to specify a path to the installation directory of an
auxiliary package. |
c256e9afd101e8c501964bc5a64e6c357dbf8d4b 1385215 |
|
16-Sep-2012 |
kbrand |
revert r1385214, as I inadvertently left out acinclude.m4. |
7b89b40f0ba56c00f9fa6fa2078fde0ffc52732e 1385214 |
|
16-Sep-2012 |
kbrand |
Spin off module-specific build options into separate build vars.
Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,
which are available to modules for customization on a per-subdir
basis (by adding definitions to modules.mk). Reduces the risk
of side-effects when a module needs to add CFLAGS, LDFLAGS etc.
and these would be added to the global settings (ALL_CFLAGS etc.).
Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,
mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx
build variables.
Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead
of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce
ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where
they appear at the proper position in the build commands.
Consistently use "--with-xxx=PATH" in configure help strings which
are used to specify a path to the installation directory of an
auxiliary package. |
048ce59a4ab575634803bfbe65d47d4e366c2196 1363033 |
|
18-Jul-2012 |
trawick |
fix APREQ declarations for MinGW builds |
91e4a387d4b6021b2c396c4095deada9042adf96 1347998 |
|
08-Jun-2012 |
jorton |
* configure.in: Enforce 1.4.0 as minimum APR version requirement.
PR: 52748 |
897a5f151d16df5495c22befcfe7d7e0d70fab4f 1345147 |
|
01-Jun-2012 |
jorton |
* configure.in: Correct handling of --with-suexec-logfile in r1341905,
thanks to rpluem. |
50f8c80eb4d3989ebf3f1341aeef4d2d302af162 1343109 |
|
27-May-2012 |
sf |
Make ap_regcomp() return AP_REG_ESPACE if out of memory. Make ap_pregcomp()
abort if out of memory.
This raises the minimum PCRE requirement to version 6.0, released in 2005. |
7b395e4e878c28a4784919cfd2e704ddd14a3390 1342065 |
|
23-May-2012 |
jorton |
suexec: Support use of setgid/setuid capability bits on Linux, a
weaker set of privileges than the full setuid/setgid root binary.
* configure.in: Add --enable-suexec-capabilites flag.
* Makefile.in: If configured, use setcap instead of chmod 7555 on
installed suexec binary.
* modules/arch/unix/mod_unixd.c (unixd_pre_config): Drop test for
setuid bit if capability bits are used.
* docs/manual/: Add docs. |
e2f93aad5c684fb8bd3fb9322800b3ec6721c54a 1341913 |
|
23-May-2012 |
jorton |
* configure.in: Use AC_MSG_NOTICE so passing --silent works as advertised. |
e81785da447b469da66f218b3f0244aab507958d 1341905 |
|
23-May-2012 |
jorton |
suexec: Add support for logging to syslog as an alternative to a
logfile.
* support/suexec.c (err_output) [AP_LOG_SYSLOG]: Log to syslog.
(main): Close syslog fd if open, before execv. Add -V output
for AP_LOG_SYSLOG.
* configure.in: Add --with-suexec-syslog argument; allow
--without-suexec-logfile to omit definition of AP_LOG_EXEC. |
ce61824c501876bb84516d6190d8bade28c098df 1328714 |
|
21-Apr-2012 |
fuankg |
Final step to make cross compilation working.
In case of cross compilation set CC_FOR_BUILD to cc unless
we got already CC_FOR_BUILD from environment. |
90e9873c525eb6c224449772021e019d798ade9f 1243799 |
|
14-Feb-2012 |
rjung |
To early, not enough drugs, sorry for the noise. |
9b3170a3fb3f1381d7cbae14feb55253af051820 1243797 |
|
14-Feb-2012 |
rjung |
Fix out of tree build with srclib apr.
Fix error message for included apr flag.
Forward port of r1241897 and r1243670
from 2.4.x plus one shell syntax fix.
Will backport the fix to 2.4.x. |
23d5d46f748a6987cc581e67840d9dd2703b813f 1232838 |
|
18-Jan-2012 |
minfrin |
configure: Move the --with-included-apr check so that srcdir!=builddir builds
aren't broken by it. |
2c5635b0c7528fed8d89a15c53b44f9ef02a6384 1232575 |
|
17-Jan-2012 |
minfrin |
configure: Improve the error message when --with-included-apr is specified
but either APR or APR-Util is not included. |
e6dd71992459d05a676b98b7963423dc5dc1e24a 1221668 |
|
21-Dec-2011 |
minfrin |
mod_policy: Add a new testing module to help server administrators
enforce a configurable level of protocol compliance on their
servers and application servers behind theirs. |
b22bf0060231ce0669367b55ac7b6658440b6b2d 1201374 |
|
13-Nov-2011 |
pgollucci |
libapreq is not a bunch of C files now, no special configure magic required |
9e2d79006439d13af77fad6748ea4b3486915497 1201306 |
|
12-Nov-2011 |
rjung |
Set --enable-load-all-modules implicitely in
maintainer mode unless disabled explicitely. |
93e568f5fc0607ca5063f5fe1b6cef985379de24 1200715 |
|
11-Nov-2011 |
jorton |
A stab at libapreq build integration, still disabled by default. |
e8f3ef5f268e9dee1d5d5dca8134df035a5c8332 1200695 |
|
11-Nov-2011 |
pgollucci |
disable libapreq stuff until it works generically |
05d53081e65eaa0a7d1ba895d5d2f28da54cf373 1200594 |
|
10-Nov-2011 |
pgollucci |
have libapreq install honor the top level layout options |
294ecec5bbf217103196b7ec24ede14ac47693f9 1200590 |
|
10-Nov-2011 |
pgollucci |
hook up srclib/libapreq to the build system |
64292bd95fd5d70d1d718843b4da455015a0139e 1200060 |
|
10-Nov-2011 |
niq |
Add default proxy-html.conf file (defines links to be rewritten
according to W3C HTML 4 and XHTML 1). |
fb333f30ae01a1f14b2afaa8a92c99192abf883e 1199467 |
|
08-Nov-2011 |
rjung |
Load all modules in the generated default configuration
when using --enable-load-all-modules with configure. |
0a2212da6843659e65c378c5201e6612be625731 1199027 |
|
08-Nov-2011 |
sf |
By default, only load those modules that are either required
or explicitly selected by a configure --enable-foo argument. The
LoadModule statements for modules enabled by --enable-mods-shared=most
and friends will be commented out. |
b8f1ab8691c3c3aad22102f6926dde31b7e45db9 1180331 |
|
08-Oct-2011 |
sf |
Add some CFLAGS in maintainer mode if supported by gcc:
-Wformat
-Wformat-security
-Werror=format-security
-Werror=declaration-after-statement
Add new macro APACHE_ADD_GCC_CFLAGS to do the compatibility check. |
ab86c68ce36c715e93f403dde41d0b9c1522c8b0 1150179 |
|
23-Jul-2011 |
sf |
Merge branch revert-ap-ldap:
Revert ap_ldap integration due to veto by Graham Leggett
Mailing list threads:
http://mail-archives.apache.org/mod_mbox/httpd-dev/201106.mbox/%3C4192DC1D-C0B9-42BB-B614-C3A41290F18B@sharp.fm%3E
http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C4E15E51E.4090700@rowe-clan.net%3E |
6c2a0ce05f72c46c92f9800b5aad919da5fd2cac 1142893 |
|
05-Jul-2011 |
rjung |
Move PCRE_LIBS from HTTPD_LDFLAGS to
PROGRAM_LDADD.
Otherwise -lpcre comes before libmain which leads
to undefined recences during linking of httpd.
Followup to r1142739. |
2069109b8bca49d0a40dabafb42050e89c2d6a37 1142742 |
|
04-Jul-2011 |
rjung |
Line already contained in aclocal.m4. |
25cc406eca0c99de0dfbd6c8862bec2d5fb6c4fa 1142739 |
|
04-Jul-2011 |
rjung |
Only link the httpd binary against PCRE.
No other support binary needs PCRE. |
b08558bf6a64f9501ad3eca34eaf4d978bd928cf 1138616 |
|
22-Jun-2011 |
sf |
Add support to ErrorLogFormat for logging the system unique
thread id under Linux |
70fa390b2e3c5cad908ed38289ace42b5c894610 1131393 |
|
04-Jun-2011 |
sf |
Several fixes for the ap_ldap build logic. This should fix compilation
without --with-ldap. |
328106dab4706c964329eb20ad8173e1dbd2d32a 1129808 |
|
31-May-2011 |
wrowe |
Incorporate the ap_ldap incomplete API, as there is no interest or effort
at APR to make this a complete abstraction, and it was voted 'off the island'
with APR 2.0. This will allow httpd 2.3 to build against either apr-2.0
or apr+util 1.x. |
0a2424312d9f02479a38e96dcbb170a77c218852 1101216 |
|
09-May-2011 |
rjung |
Silence autoconf 2.68 warnings.
Add AC_LANG_SOURCE to the two occurences
of AC_COMPILE_IFELSE in configure.in. |
67a658b0de7252b685412e0d424a0a18ab484f9f 1101211 |
|
09-May-2011 |
trawick |
keep -DAP_HOOK_PROBES_ENABLED (--enable-hook-probes) and
-DAP_DECLARE_EXPORT (MinGW builds) out of the *CPPFLAGS
used for third-party module builds
introduce INTERNAL_CPPFLAGS for that; apxs bypasses this |
3a70d6bc1d8c75fa55f38e0fe561cbc4355dd86c 1101077 |
|
09-May-2011 |
jim |
Use AP_ instead of APR_ and move into the compile CPP
flags |
fe73c50ff5c623f4a321a172f30a9df26cb5bb92 1101066 |
|
09-May-2011 |
jim |
Start of ap_hooks.h setup |
8ee88d926ae456f63b099213c1a2b9925a09b1a7 1092445 |
|
14-Apr-2011 |
trawick |
move -L/path/to/pcrelib -lpcre out beyond all the LDFLAGS
this fixes unresolved symbol errors on on MinGW |
2768eac20af541623d50e4f5e8f46c638440d835 1091467 |
|
12-Apr-2011 |
trawick |
AP_ENABLE_V4_MAPPED with WinNT MPM
mpm_winnt.c: Fail to compile if enabled, and add a hint about the
issue to address before it will work.
configure.in: Move the --enable-v4-mapped check to below the
MPM logic, and default to --disable-v4-mapped if
using the WinNT MPM |
d587433fef6588f9383d8914276a5f15f3f8884d 1091330 |
|
12-Apr-2011 |
jfclere |
Allow apr and apr-util to be in 2 different location.
Otherwise: apr_version.h is not found when apr-util is tested. |
37be7bf671bdb30d0689796a1a15cc47666e5b78 1071426 |
|
16-Feb-2011 |
sf |
Fix link errors for crypt() with --no-add-needed/--no-copy-dt-needed-entries,
which is the default for the gold linker. |
bc52db6ff2c64d61c28b283bcb4b5ce2bc3349c6 1067483 |
|
05-Feb-2011 |
sf |
revert r1066944, r1067177 for now
breaks MacOS X and wherever this code will go, server/main.c does not seem to be the right place.
See
http://mail-archives.apache.org/mod_mbox/httpd-dev/201102.mbox/%3C01930193-8A3B-4635-9EB0-5EE31349E49C@jaguNET.com%3E |
44dd2e4138fcec82d160677e2bd408be05eb3825 1066944 |
|
03-Feb-2011 |
sf |
Reload resolv.conf on graceful restarts
PR: 50619
Submitted by: Matt Miller <m miller f5 com>, Stefan Fritsch |
d82d335014f768e76f615f3f4d877f7d0e8aa47c 1065751 |
|
31-Jan-2011 |
jim |
A new mode that is maintainer + O0 (for better gdb) |
cb7cf74a315df272e2ec329ce2ef1d50b82b8384 1065748 |
|
31-Jan-2011 |
jim |
Move some "nice to be able to change" balancer stuff to shm |
6c73eaac50f03b43af6108b6f6a56d3f2b9a501a 1061883 |
|
21-Jan-2011 |
jim |
Mkae gcc no longer silent when doing arith on void*... |
871281911829391f7f75604b0dc7e0daa1c46716 1057868 |
|
11-Jan-2011 |
sf |
Use -Wdeclaration-after-statement in maintainer mode if we use a recent
enough gcc. |
fa0dc2a4f675a868378a52946e5b244d6bf41196 987861 |
|
22-Aug-2010 |
sf |
Support large log files in suexec
PR: 45856 |
14eccd0082c748ae3464dc2459430ff0772b5107 954588 |
|
14-Jun-2010 |
sf |
prevent an error message if an old autoconf without AC_PROG_CC_C99 is used but
print a meaningful warning instead |
5a640877e3e650408855f642fda64cd60b38d9af 952384 |
|
07-Jun-2010 |
rjung |
Building DSOs by default should set MOD_SO_ENABLED.
Without this patch apxs doesn't recognize we have DSO support. |
d37a236a4b64d0aeb4a8bbfd3978503af8c82765 951893 |
|
06-Jun-2010 |
sf |
- Introduce log levels trace1/.../trace8
- Add macro wrappers for ap_log_*error. On C99, this will save argument
preparation and function call overhead when a message is not logged
because of the configured loglevel.
- Introduce per-module loglevel configuration. |
d8dbdfad2e8a27d3b641a2f7aaa49e6375718d0d 951865 |
|
06-Jun-2010 |
rjung |
Fix lookup of apu-config for VPATH builds
For included APU, apu-config is not in the srcdir but instead
in the builddir. That only matters for VPATH builds, ie. when
you build outside of the source tree.
Similar to r951769 (apr-config). |
0adc472984165226d0da077900e699b239642f0d 951769 |
|
05-Jun-2010 |
rjung |
For included APR, apr-config is not in the srcdir but instead
in the builddir. That only matters for VPATH builds, ie. when
you build outside of the source tree. |
125681776870ca1c5f5db07ae7b32540ee44e2f9 832228 |
|
03-Nov-2009 |
trawick |
more configure-time support for dynamically loadable MPMs:
. axe --with-mpm="shared" hack, replace with --enable-mpms-shared={all|list}
. replace singular MPM_NAME with access to the list of enabled MPMs
. replace singular MPM_SUBDIR with list MPM_SUBDIRS
. enable OS/2 MPM in same manner as others with configure support instead of
hard-coding in configure.in
Current state: MPMs are built as static archives (but not linked to httpd) with
--enable-mpms-shared, so they still have to be built with apxs to load
dynamically. |
55ed6251839a498c57c81f68a84068b186c58cfc 819848 |
|
29-Sep-2009 |
jfclere |
Make sure that --enable-maintainer-mode increase warnings/errors level. |
3a330c2331fc04f7d3f0ce7741bb52b5823f97e1 808722 |
|
28-Aug-2009 |
wrowe |
Always make mod_*.h files available where they exist, modpath by modpath |
4a13940dc2990df0a798718d3a3f9cf1566c2217 807930 |
|
26-Aug-2009 |
bjh |
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. |
9b3f22245585921d653a10083d862538dc704f56 772848 |
|
08-May-2009 |
wrowe |
Here's the simpler solution to the two groups of mappers/ modules...
The mod_so and mod_watchdog are truly not mappers/ at all. Very open
to better names than modules/core/ but these are clearly API's which
are to be consumed by the httpd core, or generically, any module. |
69c7cb9eeb0d965849dbc65e06a4a734f17fd7ef 766082 |
|
17-Apr-2009 |
trawick |
Move logic to decide if an MPM is supported, and whether the MPM is
threaded, down to the MPM itself.
(server/mpm/FOO/config.m4, which runs before the actual MPM selection)
server/mpm/config.m4 makes some general platform checks that can be used
for MPM decisions, and contains some functions related to MPMs.
XXX The check here for whether APR_POLLSET_THREADSAFE is available
is a rough approximation and needs to be replaced by a run-time
check.
Replace the limited per-platform hard-coded MPM selection and the
current defaulting to event (whether or not it works) with a selection
based on which MPMs work on the platform, as reported by the MPMs
themselves.
(config2.m4, which runs after the MPMs record whether they are supported)
Order of preference:
WinNT (mingw32 only)
then Event
then Worker
then Prefork |
6e68ad13348b2b614939ae365470728026ff38be 760403 |
|
31-Mar-2009 |
trawick |
stop exporting APACHE_MPM_DIR to modules -- unclear why this was ever necessary, and it
makes no sense with loadable MPMs
axe the unnecessary MPM_DIR build variable
move the stray APACHE_SUBST(MPM_LIB) from configure.in to server/mpm/config.m4, where
the other MPM_foos are handled |
7677dd9b01d498a2af1cddb8e2506a25d7da630b 759115 |
|
27-Mar-2009 |
trawick |
The Event MPM is no longer experimental; move it out of that ghetto.
Yank the few bits that implement the concept of an experimental MPM. |
1ca054782cb35b5f67686a41b1df75c269fa617b 758929 |
|
27-Mar-2009 |
trawick |
remove OS/2 platform support |
d9d4644be2fe336af6e00cadaf28532f68d1e090 758891 |
|
26-Mar-2009 |
trawick |
remove BeOS OS support |
a00638fdbc4de1f64d37bbf84ea7fd2ba57fbffe 758889 |
|
26-Mar-2009 |
trawick |
finish removing BeOS MPM |
4e393c646f4aa4703b52a82d228dac91898aa881 758177 |
|
25-Mar-2009 |
jorton |
* configure.in: Allow configure to be built without find_apu.m4,
at least temporarily to allow buildconf against apr trunk. |
cfb370008f316c551cc74c38311a5debda38c949 757898 |
|
24-Mar-2009 |
trawick |
fix shell syntax error in check for apr major version
on OS X:
acceptable_majors=""1 2"" |
dd028aa8111afb6534fece555e8c2d408894671e 757853 |
|
24-Mar-2009 |
trawick |
Introduce a new set of APIs to allow MPMs to be proper modules instead
of integral parts which share global variables, functions, and macros
with the rest of httpd.
Converted now:
prefork, worker, event, simple, WinNT*
*WinNT hasn't been built or tested, and relies on a hack to include the
WinNT mpm.h to disable Unixy MPM support routines in mpm_common.c |
5f829efd86e9706927bddb8b0041976aeb79a970 757817 |
|
24-Mar-2009 |
jorton |
* configure.in: If APR version is 2, APR-util does not exist. |
f6c06aae246c4d8e817bba388057d459928022de 749375 |
|
02-Mar-2009 |
trawick |
improve acceptance of APR/APR-Util trunk/2.0-dev |
b0b302302580e980eaf24be7a2fd19e9fe3898bc 735556 |
|
18-Jan-2009 |
covener |
Allow --with-included-apr to pick up APR trunk/2.x |
9bd03b3388696feefaa212dad442757b0e1a007e 731058 |
|
03-Jan-2009 |
jerenkrantz |
pcre-config --cflags actually emits include paths not cflags, so add it to
correct variable. Also, reuse APR_INCLUDES/APU_INCLUDES variables so as to
save an extra invocation of config files.
* configure.in: Add PCRE_CONFIG --cflags to INCLUDES; reuse AP{RU}_INCLUDES
variables. |
87feb4dc34b64260ff8202648911150d47bcbb39 730984 |
|
03-Jan-2009 |
rjung |
Fix correct linking against PCRE.
r730882 broke builds on MacOSX.
Now we put the PCRE libs into a new variable PCRE_LIBS
and add it to HTTPD_LDFLAGS.
That way the detected libs for PCRE could be reused in
other parts of the build system if necessary.
Side effect: I had to change the handling of HTTPD_FLAGS on
AIX and OS390 from hard setting of the variable to using
APR_ADDTO(). I hope that macro works on those platforms. |
55789e5f21e88b54447ecb5511c5448d71845a78 730882 |
|
03-Jan-2009 |
rjung |
Only link libhttpd against pcre. |
cd04c96e193a6bd4624d92382fd83bda52c8b170 730881 |
|
03-Jan-2009 |
rjung |
We need to link only ab against libm (because of
sqrt()). |
a42b70fa75429d73ef00d6ae212676f8a652f51c 723565 |
|
05-Dec-2008 |
pquerna |
Import the core parts of the DTrace patch. This is a modified and updated
version of what was submited by Theo before:
<http://mail-archives.apache.org/mod_mbox/httpd-dev/200805.mbox/%3C6AFBCFE8-4CCA-4A02-8A43-F9170689695D@omniti.com%3E>
Note, this does not hook it up into the build system at this time, because
the original patch was a little too creative there.
Submitted By: Theo Schlossnagle <jesus omniti.com> |
a0b7290c943904820ac9e7f604998c961121af63 721796 |
|
30-Nov-2008 |
rpluem |
* Enable the use of autoconf >= 2.62 without causing APR / APR-UTIL options
passed to the configure script issue warnings about unknown options. |
60f9d4d87a893330a01722ed518d0b3fff8eb2ee 721533 |
|
28-Nov-2008 |
jorton |
* buildconf, configure.in: Don't attempt to configure the
no-longer-bundled pcre. |
1de03085e0892c26037aa4b0ca9e6680b6a7727d 721020 |
|
26-Nov-2008 |
pquerna |
Stop bundling PCRE in trunk. |
15a73daf2bdd84bdec138ee9157cdb4adaf34777 710001 |
|
03-Nov-2008 |
pquerna |
Bump trunk to require apr-util >=1.3.x, since we already require apr >=1.3.x. |
e23632e742aa77184e45c5a9ae584db03e8f8eee 670003 |
|
20-Jun-2008 |
wrowe |
Adopt conditional handling for the new AC_USE_SYSTEM_EXTENSIONS as of 2.60.
Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com> |
39b19626d5b547e416ee2e908ba60c54c0877fc9 669919 |
|
20-Jun-2008 |
wrowe |
AC_USE_SYSTEM_EXTENSIONS encompases _MINIX and _AIX and
silences autoconf 2.62 |
f3f5b610c384cae1bb39f069e15e7c62d7d8cd3c 663663 |
|
05-Jun-2008 |
wrowe |
For *trunk/* development, presume at least apr-1.3 (now released) for
seperation of ldap link options. |
db455cbc662c98dbbf53175393c50086ff63370c 659160 |
|
22-May-2008 |
chrisd |
Determine registered authn/z providers directly in ap_setup_auth_internal(),
which allows optional functions that just wrapped ap_list_provider_names()
to be removed from authn/z modules.
This change requires modules/aaa/mod_auth.h to be included into
server/request.c, which necessitates a minor change to configure.in for
Unix platforms.
I'm unable to tell whether a similar change is necessary for Windows and
NetWare builds or not. Could developers with access to those platforms
please test and make any needed configuration or build alterations? Thanks! |
64fa516974481c46566b8153e6fbd0df316f0c0b 657459 |
|
17-May-2008 |
niq |
Revert unintentional changes in r657354 |
b5d91f803b61ef5b13666e423173eb72d96f8938 657354 |
|
17-May-2008 |
niq |
configure: Don't reject libtool 2.x
PR 44817 |
fb8ee8b7a3a2503b95bf47685f9083e0b9834e6f 644746 |
|
04-Apr-2008 |
minfrin |
mod_session: Add a generic session interface to unify the different
attempts at saving persistent sessions across requests. |
9ed3fee22fa1888a70ac42b7b6b8ea475fad0a6d 606316 |
|
21-Dec-2007 |
fuankg |
Enabled to configure the https port as we do with http port too. |
658a21aee956513e0cf8f61996025f9800a2442b 582069 |
|
05-Oct-2007 |
wrowe |
As APR 1.2.x cannot solve it's issues with apr_proc_create(),
mandate the working version of APR (1.3.0-dev or later). |
790f9f969e6a65c504b13b8d18a6b290a9475f0e 555458 |
|
12-Jul-2007 |
pquerna |
Fix VPATH builds of httpd with the apr_memcache backend for ssl sessions, when APR and APR-Util are also in a VPATH. This is caused by APR_INCLUDEDIR actually having multiple paths in a VPATH builds, so we need to use _INCLUDES instead. |
5d4512d8c3a70094ff3e941667007a42925f73e2 551843 |
|
29-Jun-2007 |
jorton |
Add alternative fixes for CVE-2007-3304:
* configure.in: Check for getpgid.
* include/mpm_common.h (ap_mpm_safe_kill): New prototype.
* server/mpm_common.c (reclaim_one_pid): Ensure pid validity before
calling apr_proc_wait().
(ap_mpm_safe_kill): New function.
* server/mpm/prefork/prefork.c, server/mpm/worker/worker.c,
server/mpm/experimental/event/event.c: Use ap_mpm_safe_kill() on pids
from the scoreboard, throughout.
* include/ap_mmn.h: Minor bump. |
7abe34dd5a20fc8fde09dca9116b88e6ddfd55dd 494781 |
|
10-Jan-2007 |
jorton |
* configure.in: Substitute MOD_SO_ENABLED variable.
* support/apxs.in: Use it to eliminate run-time check for whether
httpd has mod_so built-in.
Submitted by: David M. Lee <dmlee crossroads.com>
PR: 40653 |
17a338a4533b34b88c4f6e8f41fa41fcd8e3f130 492510 |
|
04-Jan-2007 |
jorton |
* configure.in: Bump autoconf version requirement (matching APR). |
5bf341043a622031fd50c9913033e63139e342d0 422201 |
|
15-Jul-2006 |
pquerna |
Disable the getpwnam and getgrnam functions, since they aren't available on win32. |
495b6f6361e6dd6c11b69a4ddfef939b748e79f7 422197 |
|
15-Jul-2006 |
pquerna |
include/ap_config.h: Include the autoconf generated header that defines what is available.
configure.in: The times function is not really available on mingw32. Disable em. |
59db624a43cd8ef36dbedd7eb11a49b6c76c3f42 422182 |
|
15-Jul-2006 |
pquerna |
Bring in basic support for building the winnt MPM under mingw32, using the autoconf build system. Currently this will get you to the point of linking errors on gen_test_char.
configure.in: Default to winnt MPM on mingw32 hosts.
configure.in: Add AP_DECLARE_EXPORT for mingw32 hsots.
os/config.m4: Use win32 dir under mingw32.
os/win32/Makefile.in: Add in a new makefile to generate libos on win32.
server/mpm/config.m4: Add winnt MPM to the help string.
server/mpm/config.m4: winnt MPM is a threaded MPM.
server/mpm/winnt/child.c: SO_UPDATE_ACCEPT_CONTEXT is defined under a different header in mingw32.
server/mpm/winnt/{Makefile.in,config.m4}: Base build for winnt MPM.
os/win32,server/mpm/winnt: Update svn:ignore for .deps/.libs |
7a4f76be4f012673e8cce54258bd49aeedf422c7 410828 |
|
01-Jun-2006 |
jorton |
* configure.in: Use common variables for the required APR/APR-util
version. |
4fefdda06d5badb179bba0a2f491238c5b159dd9 410047 |
|
29-May-2006 |
martin |
The syntax ">&/dev/null" is csh-style, not bourne-style shell.
Change it so that all bourne-style shells understand it.
I am going to make the same fix in 2.2.x |
f2d727946646e9f3004908635b408534a280e2fb 395211 |
|
19-Apr-2006 |
jorton |
* configure.in: Add --with-included-apr flag to force use of the
bundled copies of APR and APR-util. |
263cd9b07109c709916577346df6e54d4fd6d73b 356234 |
|
12-Dec-2005 |
jorton |
* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
(but not G++) or any compiler which claims C99 support.
* configure.in: Don't define AP_HAVE_DESIGNATED_INITIALIZER here. |
05c34f34be87cc7cf63ef47585d0987cd5e670a7 328852 |
|
27-Oct-2005 |
jorton |
* configure.in: Move apr/apr-util version checks later to fix in-tree
apr/apr-util build failures due to $EGREP not getting set early
enough. |
50cf60e2c129688ea5604a08b2cbd08993adca10 328641 |
|
26-Oct-2005 |
jorton |
* configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0. |
fcab084c916ba765c490dd5818b11de025002fd1 321489 |
|
15-Oct-2005 |
nd |
make mod_dbd.h available for all who need it |
4c2718210662211717eed3e0af365445f2755e6b 295113 |
|
05-Oct-2005 |
colm |
Move the AC_TRY_RUN expansion much further down, after we have had a chance to
initialise the compile-environment for all platforms. |
e36cfe8caf074cce72f1e4136894608665b7fbd8 294809 |
|
04-Oct-2005 |
colm |
One way or another, whether we leave the casts in or out, right now we are
using "void *" containers to store long integers; Add a configure-time check to
ensure that it is valid to assume that a "void *" container is large enough to
store a long int. See <200510031150.j93Boh700945@devsys.jaguNET.com> and
ensuing discussion on httpd-dev. |
9db19053d8158d96abd6934678c012e0d59d59ed 292718 |
|
30-Sep-2005 |
jerenkrantz |
Use rsync to install manual and htdocs to speed up installation times.
* Makefile.in: Update install-man and install-htdocs to use rsync if available,
otherwise fail back to current cp -rp and rm -rf .svn/ strategy.
* configure.in: Look for rsync.
* acinclude.m4: Include RSYNC in exported config_vars.mk
(Incorporates suggestions on rsync flags from colm.)
Reviewed by: colm, trawick (concept), niq (concept) |
7b621044ee03c0c140c2ba6fdab7d2dfdb2b9f4a 239430 |
|
23-Aug-2005 |
colm |
Remove support for the threaded-mpm's on Linux 2.0, and de-autoconf the
graceful restart signal. Frees up SIGWINCH for implementing graceful stop.
See <20050727114058.GA3390@stdlib.net> and subsequent thread on httpd-dev. |
073b83dace0b91d2fef53bd9dda7e0b70fba663a 190396 |
|
13-Jun-2005 |
jorton |
* configure.in: Define MKINSTALLDIRS and INSTALL in config_vars.mk.
Don't use AC_PROG_INSTALL since any system "install" command is never
used anyway.
* build/rules.mk.in: Remove fixed reference to install.sh and mkdir.sh
in abs_srcdir.
* build/config_vars.sh: Munge definitions of MKINSTALLDIRS and INSTALL
to use installed scripts. |
51b88347f3bdf1a6b561aa7bbf18148459976e8e 190392 |
|
13-Jun-2005 |
jorton |
Sanitize the installed config_vars.mk to remove references to the
build and source directories, and to remove variables which are
internal to the httpd build system:
* build/config_vars.sh.in: New file.
* Makefile.in (build/config_vars.out): New target.
(install-build): Install build/config_vars.out as config_vars.mk.
* configure.in: Add include path for srclib/pcre to INCLUDES rather
than CPPFLAGS, and use a topdir-relative not absolute path name.
Generate build/config_vars.sh.
Reviewed by: Paul Querna
PR: 20874, 28145 |
a2a9770fdebc20556f87ebd919f3b8e28c70bf71 170029 |
|
13-May-2005 |
jorton |
* configure.in: Disallow use of bundled APR with external APR-util, or
bundled APR-util with external APR, another cause of the dreaded
PR21718. |
945a9b081610f2b57759231e4cfad7aed62c9326 160696 |
|
09-Apr-2005 |
slive |
Merged the simple-conf branch changes r159781:160695 into the trunk. |
7272c583c8dbaf63073c04bfb5cf4ffde5c9cc65 153400 |
|
11-Feb-2005 |
jorton |
Support use of an external copy of the PCRE library:
* configure.in: Set abs_{builddir,srcdir} higher. Add --with-pcre
flag; build against external PCRE library if used.
* Makefile.in (install-include): Don't install pcre headers any more.
* srclib/Makefile.in (SUBDIRS): Remove.
PR: 27550 (part two)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton |
ef5650b61a8e35f3cc93ec07e73efc17ea329894 153384 |
|
11-Feb-2005 |
jorton |
Move the POSIX reg* implementations into the ap_* namespace;
internalise the ap_reg*<->PCRE wrapper:
* configure.in: Add srclib/pcre to the include path.
* include/ap_regex.h: Renamed from include/pcreposix.h. Prefix all
constants with AP_; prefix all functions and types with ap_. Define
AP_DECLARE to nothing if necessary. Remove regcomp error codes.
* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.
* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types. (ap_regexec, ap_regerror): Removed.
* server/Makefile.in: Build util_pcre.c.
* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above. Use APR includes. (ap_regerror): Use apr_snprintf.
* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.
* modules/*: Update to use new type and constant names.
PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton |
db8551deeb08fa799e7f27e8b748a9397f747bdc 126362 |
|
25-Jan-2005 |
jorton |
* configure.in: Add --enable-pie flag; define PICFLAGS and PILDFLAGS.
* build/rules.mk.in: Factor out BASE_CC and BASE_CXX from COMPILE.
Substitute PICFLAGS into COMPILE and CXX_COMPILE, but not into
{SH,LT}{,_CXX}_COMPILE. Substitute PILDFLAGS into LINK but not
{SH,MOD}_LINK.
Reviewed by: jerenkrantz |
1c71be3942710bf5b15b6f7dafe6046899fcd563 125087 |
|
13-Jan-2005 |
jerenkrantz |
Fix VPATH errors introduced in r124104.
* configure.in: Use correct source path to get-version.sh and include/ dir. |
22dda44322067379eeba28d7ec7fc833cb04c0df 124104 |
|
04-Jan-2005 |
minfrin |
Add a build script to create a solaris package. |
8f7c0076c1cab6dd5cda4c766e6594674dfd663b 122967 |
|
21-Dec-2004 |
bjh |
The current config.guess in APR outputs i386-pc-os2-emx on OS/2 rather than
i386-pc-os2_emx (dash instead of underscore), adjust the tests to match. |
50155eb0c76b6db873f9c15cc1c135044f267ab8 105230 |
|
21-Sep-2004 |
jorton |
* configure.in: Only export CC and CPP if a cache file is not
specified. |
f12378438b19358c694f9f782d06dca65dbbee58 105210 |
|
20-Sep-2004 |
jorton |
* configure.in: Ensure that $CC and $CPP are correctly passed through
to the pcre configure script if config caching is disabled (the
autoconf 2.5x default). |
40abdca7652bbda5c4dbdbff94892832824742c9 105003 |
|
05-Sep-2004 |
pquerna |
Echo a warning from configure if you select an
experimental MPM.
Reviewed by: Jeff Trawick |
3108144bdd914788bd06bd5b1acdb863b9e3cd8f 104936 |
|
02-Sep-2004 |
jorton |
* configure.in: Only build against APR 1.x. |
0d7288d0e114643913562d11b60d28294694fdab 104647 |
|
13-Aug-2004 |
jorton |
* configure.in: Ensure that apr and apr-util exported include
directories are later than local source directories in INCLUDES.
PR: 18959 |
758f5992a4151129800d8c8bcc06e661e3a625c7 104642 |
|
13-Aug-2004 |
jorton |
* configure.in: Define AP_HAVE_DESIGNATED_INITIALIZER via ap_config.h
so third-party modules don't have to pick up NOTEST_CPPFLAGS to avoid
gcc warnings from http_config.h. |
e9ab76f3d59c1be02501c291554715e8155c7c81 104641 |
|
13-Aug-2004 |
jorton |
* configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with location
of installed ap[ru]-config scripts so third-party modules can use
`apxs -q APR_CONFIG`.
* support/apxs.in: Use new AP[RU]_CONFIG variables; use apr-config
--apr-libtool. |
4b09621ec91a53c7b48114c37a84f0018cadcb34 104443 |
|
02-Aug-2004 |
jerenkrantz |
Teach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-config
(httpd-2.1+ will be APR 1.0 or higher which uses this convention.) |
833fe934fab4f802aef9e5621169d65a33b75c4d 104329 |
|
19-Jul-2004 |
jerenkrantz |
Workaround RHEL 3 'cuteness' for OpenSSL by calling pkg-config openssl.
For more info, see: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82369 |
c2549f0b237ac86f3623a601a766969d805dbc2a 103849 |
|
05-Jun-2004 |
nd |
Nobody objected:
<IfModule> now takes the module identifier in addition to the
filename.
CAUTION: this commit breaks the build on netware. It still needs
to be adjusted. (but I don't have any netware knowledge...)
Also, developers need to re-run buildconf on unices.
PR: 29003
Submitted by: Edward Rudd <eddie omegaware.com>, Andr� Malo |
422a2e9e48a594c7d46d62410e45651a7a994430 103029 |
|
19-Mar-2004 |
trawick |
*) SECURITY: CAN-2004-0174 (cve.mitre.org)
Fix starvation issue on listening sockets where a short-lived
connection on a rarely-accessed listening socket will cause a
child to hold the accept mutex and block out new connections until
another connection arrives on that rarely-accessed listening socket.
With Apache 2.x there is no performance concern about enabling the
logic for platforms which don't need it, so it is enabled everywhere
except for Win32. [Jeff Trawick]
(already in 2.0.49, propagating to mirrors now) |
6c9fe407b359187baf4b4339862298b1c1d4719f 102530 |
|
07-Feb-2004 |
jorton |
* configure.in: Remove long since unnecessary endianness checks. |
3eb7561905254e891e62a5581f720372c7a2acae 102406 |
|
26-Jan-2004 |
jorton |
* configure.in: Remove unnecessary $builddir/server/mpm/$mpm and
$srcdir from INCLUDES. Remove unused USE_VPATH variable. |
53ac509080f99c35ecd3d9fa1f01a775f5370e91 102146 |
|
03-Jan-2004 |
jorton |
* configure.in: Check for sqrt in libm (needed by ab). |
5866fd6f9cba06306e84d940fc29973e50001b51 101899 |
|
26-Nov-2003 |
trawick |
Add fatal exception hook for use by debug modules. The hook is only
available if the --enable-exception-hook configure parm is used.
Sample users at http://httpd.apache.org/~trawick/exception_hook.html |
2fdf28d07a485ee9470266ed646ac1890467201d 101337 |
|
28-Sep-2003 |
jwoolley |
"Listen 80" just works now, using v4-only, v6-only, mapped address
or non-mapped address.
Submitted by: Colm MacCarthaigh <colm@stdlib.net> |
98fb535f829e2a95aabd82420931f476661fa8e3 100724 |
|
21-Jul-2003 |
jorton |
Add optional hook to extend mod_status output.
* configure.in: Add modules/generators to include path.
* Makefile.in: Install mod_status.h.
* modules/generators/mod_status.h: New file.
* modules/generators/mod_status.c: Implement ap_run_status_hook.
(status_handler): Run status hooks. |
7aa0d69dae6efa96dbefe5f9382e61cac32a5cd6 100540 |
|
10-Jul-2003 |
jorton |
Use three-argument form of AC_DEFINE everywhere; remove acconfig.h
and the warning message from autoconf 2.5x. |
403b4bc2189d10ba09d7fc98568f21d696246ec8 99926 |
|
19-May-2003 |
wsanchez |
Play nice with libtool 1.5. |
40becf1343fb88b89c692126978a27782f2c9277 99861 |
|
16-May-2003 |
wrowe |
Fix a VPATH build issue - our command lines can sometimes hit the wall
against the shell's max command line length. We had a number of needless
paths included in VPATH builds; this change will spare us from -I'ncluding
the module paths with no .h files. |
219e31b849ef108cd8f58ba0eedae03414e5edb1 99719 |
|
05-May-2003 |
thommay |
Ensure that ssl-std.conf is generated at configure time, and switch
to using the expanded config variables to work the same as httpd-std.conf
PR: 19611 |
fb71c3ea66d68f7be071ec145d5bff7900dad0eb 99572 |
|
24-Apr-2003 |
trawick |
By default, use the same CC and CPP with which APR was built.
The user can override with CC and CPP environment variables.
This applies to out-of-tree APR builds. Prior to this change,
if you had multiple compilers on the system and you told
APR to use a non-default one, you'd have to remember to tell
Apache too. Otherwise, Apache would use the default compiler
but use CFLAGS that went with the compiler that APR was built
with. |
e9b0304f276b3a8930a71fe1b4e93f3d6227e18d 99257 |
|
05-Apr-2003 |
jerenkrantz |
Move the dropped '--enable-layout' subdir logic into APR_SUBDIR_CONFIG macro
as a third parameter rather than manually computing it ourselves.
Add the ' prefix'd --enable-layout so that this can work with an autoconf-2.54+
generated configure. (Previously, the option would not be dropped with 2.54
or 2.57 since it unconditionally adds single-quotes which our case statement
would not catch.)
Try to shorten long invocations of APR_SUBDIR_CONFIG where possible. |
db5d27f488a125cd8efa6f2e3822b946b71bf192 99188 |
|
03-Apr-2003 |
trawick |
Fix a build problem with passing unsupported --enable-layout
args to apr and apr-util. This broke binbuild.sh as well as
user-specified layout parameters.
PR: 18649
Original concept code submitted by: Justin Erenkrantz
Mangled by: Jeff Trawick |
f24d0981a975bc6b0c3beb896e3162f6eebca2bc 98947 |
|
08-Mar-2003 |
trawick |
use APR_CHECK_APR_DEFINE() where possible |
4ac3e76f96ca3a5d0f67ae5cbe637c18f7280458 98908 |
|
06-Mar-2003 |
gregames |
Linux 2.4+: enable coredumps when Apache is started as root if
CoreDumpDirectory is explicitly coded |
9e398d701dd430f073ff5418fb720642e064046a 98685 |
|
17-Feb-2003 |
jerenkrantz |
Use APR_LAYOUT instead of APACHE_LAYOUT in configure.
(We need a bug fix in this code, so let's merge the macro first.)
PR: 15679 |
1a5b9e0071f0c662036250b482d566ad87ff0b4b 98684 |
|
17-Feb-2003 |
jerenkrantz |
Remove files on 'make distclean' that should be.
PR: 15592 |
a8e13fc95b557c1637bd548f6c7f10be22227c7c 98675 |
|
15-Feb-2003 |
jerenkrantz |
Use correct quoting mechanism for APR_SUBDIR_CONFIG. |
a7ac9b52c3d9f7ce937f078a0d585023db626c55 98674 |
|
15-Feb-2003 |
jerenkrantz |
Allow apachectl to perform status with links and elinks as well if lynx is
not available. |
13e40c344b8214d097614d136724a076f523ca32 98595 |
|
07-Feb-2003 |
trawick |
update a test compile to find apr.h when apr isn't in srclib
(the only one of several such places in Apache which
didn't get fixed to work with separate APR... no fun
when v4 sockets won't talk to Apache anymore) |
99d360dcbb5ac2be27694be74cc6124dbadf3315 98546 |
|
30-Jan-2003 |
jerenkrantz |
Make buildconf work with out-of-tree apr and apr-util by adding --with-apr
and --with-apr-util flags.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz (with minor stylistic nit) |
4cdc5446050c19b9d519a273a129188586e8d445 98035 |
|
19-Dec-2002 |
jerenkrantz |
Allow dependencies to be generated by something other than GCC.
This allows Sun's cpp to generate valid .deps dependencies.
(This is a similar patch as applied to APR.) |
bb1ecc258bb4ec4bc3b4b97b052df59e07ef660f 97793 |
|
07-Dec-2002 |
wsanchez |
Take apr include dir from beginning, not end of list given by apu-config.
Submitted by: Brian Havard |
a96109241202082bed5838890872d0346e7e8934 97674 |
|
29-Nov-2002 |
wsanchez |
Find apr, apr-util automatically if no --with-apr{-util} flag, same as other libs. |
5f250624fb937bcbe610a82bf65e781007bb19fe 97673 |
|
29-Nov-2002 |
wsanchez |
If apr and apr-util are not in-tree, we need to be able to find the
include directory for each in order to generate the server/exports.c
and server/export_vars.h files.
configure.in:
- Provide APR_INCLUDEDIR, APU_INCLUDEDIR.
server/Makefile.in:
- Use $APR_INCLUDEDIR $APU_INCLUDEDIR vars.
- Add export_files target to generate a list of headers with symbols
to export, use that list to generate exports.c and export_vars.h. |
1e5333ef1a0edb888d75c0cdd90b33fa7e89fc31 97671 |
|
29-Nov-2002 |
wsanchez |
Changes to reduce dependency on in-tree apr and apr-util.
Change AC_CONFIG_AUX_DIR in configure to build from srclib/apr/build.
Have buildconf copy the needed files (config.guess, config.sub,
PrintPath) from srclib/apr/build to build.
Change binbuild.sh to stop using srclib/apr.
This gets to to where ./configure --with-apr --with-apr-util actually
works without an in-tree apr and apr-util, though we still need them
in-tree to run buildconf. |
c9c06d58bcdac980ad818a099355fa37845beb34 97670 |
|
29-Nov-2002 |
wsanchez |
Don't include apr_network.m4 and apr_threads.m4; we don't use them. |
95d00ea81131488769296fa5765ed745cbf45207 97516 |
|
14-Nov-2002 |
trawick |
Add --[enable|disable]-v4-mapped configure option to control
whether or not Apache expects to handle IPv4 connections
on IPv6 listening sockets. Either setting will work on
systems with the IPV6_V6ONLY socket option. --enable-v4-mapped
must be used on systems that always allow IPv4 connections on
IPv6 listening sockets.
Note: As the ssl config file is not automatically generated and
it is expected to require editing anyway to work, the only
change there was to suggest the required Listen statements
in a comment.
PR: PR 14037 (Bugzilla), PR 7492 (Gnats), various dups of these PRs |
5d5073be0470140d32914de8e74d869ee4145bff 96905 |
|
19-Sep-2002 |
jerenkrantz |
Rework the apxs -cp command to work when the source dir isn't available by
querying apr-config and apu-config at link-time instead.
(Note that the $apr_config value in configure.in isn't sufficient as we
need to know where apr-config will be when we execute apxs later on -
hence the --bindir option to apr-config and apu-config.) |
34ab6129b9d81a8636169bbfb76a9cd11c8a2334 96587 |
|
30-Aug-2002 |
gregames |
OS/390: re-instate support for single listen unserialized accept
Reported by: Marcel_Schmidt at swissre dot com |
e0230a89cf151249dfa7917a8bfc434777faa180 96441 |
|
19-Aug-2002 |
jerenkrantz |
Use APR_PARSE_ARGUMENTS instead of APACHE_PARSE_ARGUMENTS
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz |
303d4703185b8728bee5a6fbcb0cfda861c68def 96079 |
|
16-Jul-2002 |
trawick |
AIX: Apache is slightly faster with this malloc setting |
841605369aaf8b75a61948377ceecdf92cf787be 96034 |
|
12-Jul-2002 |
trawick |
set some environment variables on AIX that improve Apache performance
on SMP machines... no difference was seen on single CPU machines |
15bd01f9d0b3c4df66e3af119622f19e0b04cc80 95953 |
|
04-Jul-2002 |
striker |
Make the mime types configuration file path relative to {sysconfdir},
just like the other config files. |
45f0fbbae0da8ecebe4ed4d5310c4b62d23a5111 95708 |
|
15-Jun-2002 |
dreid |
Fix the build on BSDi machines. The bsd_makefile trick didn't completely
work as autoconf may run config.status and remove the fixes we've just
applied, so this allows us to workaround that problem.
Initailly suggested by Cliff, this is a modified version. |
44d971eef4337ad80ba3d360c84ffa8188d50325 95677 |
|
14-Jun-2002 |
trawick |
the TCP guy in Austin (AIX-land) swears that 4.3.2 GA had the fix for
thundering herd, so tweak the prior change just a bit |
84bdb86d57d2a2f828b17e77ac2379fed551c2ad 95673 |
|
14-Jun-2002 |
trawick |
AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
These levels of AIX don't have a thundering herd problem with
accept(). |
80806a5cdc1cb4f537335f31cc1acd19d4b2860f 95543 |
|
06-Jun-2002 |
jerenkrantz |
Fix breakage introduced in mod_cgi commit since we need to now include
mod_include's headers all the time.
(Also fix mod_proxy header not being listed in builddir for VPATH builds) |
a804600936f0f7109090b868201d9fb615bbae37 95118 |
|
15-May-2002 |
trawick |
get APR to tell us the name of the shared library path variable |
b67d25b74731424163eda317be0b77b7ecc134a5 95082 |
|
14-May-2002 |
jerenkrantz |
Remove APACHE_MKDIR_P_CHECK in favor of new APR_MKDIR_P_CHECK. |
5505f79ed3c17f23437dca1eec0e0c9f8d8796fa 95072 |
|
14-May-2002 |
jerenkrantz |
Instead of using the hardcoded libtool path of srclib/apr, use the
output of apr-config --apr-libtool. |
b831533b56d9068bea2ffe76ed2e9d46cb29fda2 95071 |
|
13-May-2002 |
jerenkrantz |
Instead of hardcoding srclib/apr{-util} in the INCLUDES, get the information
from ap{ru}-config --includes which knows how to deal with VPATH builds
itself. |
ea6cd677f3153b831207c122b913f18396d7eac4 95061 |
|
13-May-2002 |
jerenkrantz |
First pass at trying to standardize httpd-2.0's usage of APR and APR-util
so that they can be separated - use an installed APR and APR-util with
httpd-2.0. This is not expected to achieve full separation, but is
merely the first step in the process. The tree should still be buildable
in the source-only case.
This commit does the following things:
- Use the standard find_apr.m4 and find_apu.m4 m4 macro files that flood and
Subversion already use for locating APR and APR-util. This adds the
--with-apr and --with-apr-util configure options.
- Stop using APRVARS and export_vars.sh.
- Use apr-config and apu-config to determine dependencies.
- Add AP_BUILD_SRCLIB_DIRS and AP_CLEAN_SRCLIB_DIRS values (names stink)
to dynamically figure out what subdirs in srclib we will build.
(What we really want to do is set one value - go L->R on build and
R->L on clean. I can't think of a way to do this.)
- If we are using APR and APR-util that are already installed, don't
specify them in srclib. (This still needs some work I bet.) |
68f803c489cf61918fb4e61745fcd1e0cc980541 94697 |
|
18-Apr-2002 |
jerenkrantz |
Allow VPATH builds to succeed when configured from an empty directory.
(Justin removed some unneeded changes in Makefile.in.)
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz |
7169919d50d4f2e0bc9e0f90ddcdfc7d85430276 94614 |
|
12-Apr-2002 |
brianp |
Added support for MPMs that live in subdirectories under server/mpm
like server/mpm/experimental/* |
ad29f597326d78fc8b96a1deb224765848768fc3 94513 |
|
07-Apr-2002 |
aaron |
Pass the --includedir flag to the apr and apr-util configure calls.
Submitted by: Pier Fumagalli <pier@betaversion.org>
Reviewed by: Aaron Bannert |
6682df9b639663c50f447e5690dd62cce7b1c086 94432 |
|
04-Apr-2002 |
trawick |
AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
environment variables in the envvars file. |
8f9e3d3dc602155a189ed2f30ad4707af56a8368 94431 |
|
04-Apr-2002 |
striker |
Remove hardcoded paths from MPMs and move them to a more central
place. Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.
Submitted by: Pier Fumagalli <pier@betaversion.org> |
9d432e23f6025b78322cbee43e8e89262a108e5e 94108 |
|
21-Mar-2002 |
aaron |
Added exp_foo and rel_foo variables to config_vars.mk for all Apache and
Autoconf path variables (like --sysconfdir, --sbindir, etc). exp_foo is
the "expanded" version, which means that all internal variable references
have been interpolated. rel_foo is the same as $exp_foo, only relative
to $prefix if they share a common path.
This will be used in apxs.in and apachectl.in to allow Apache installs
to be relocated as long as the same relative directory structure remains.
Currently this is only possible if you use the Apache layout, but not
with other layouts or any overridden --foodir paths. |
d7856f850b9b51165f23ae381a891bda894e1373 93963 |
|
16-Mar-2002 |
ianh |
Solaris 8 doesn't have a thundering herd problem
according to the sun experts |
2a49e30bae376c9744b96c8681ab88122ccaa46c 93816 |
|
09-Mar-2002 |
jerenkrantz |
Stop copying APR's libtool. And pass enough parameters to apr's subconfig
so that it can figure out where we would like libtool to be installed. |
1cee311b5e48891521e62cc7907734e206abeb77 93798 |
|
08-Mar-2002 |
aaron |
Fix a bug that would cause SERVER_CONFIG_FILE to be an absolute path,
which would prevent the relocation of an httpd binary without having to
specify the -f flag.
Now it will be relative to the $prefix if $sysconfdir shares a common prefix,
or it will remain relative to $sysconfdir.
Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert |
6f6818e20ac8eda528a0be62a94281cd6d37c291 93743 |
|
07-Mar-2002 |
trawick |
64-bit build on AIX:
fix major bogosity in the logic to avoid setting LDR_CNTRL=MAXDATA=xxx
for a 64-bit build... the name of the environment variable was wrong
and even the test usage was bogus |
4a616f023dc6e6cc637e00926a619434f74f34f5 93738 |
|
06-Mar-2002 |
aaron |
Fix a problem in the new --enable-layout functionality where
it wouldn't allow overrides from variables like --prefix,
--bindir, etc.
Obtained from: Partly from an autoconf-generated configure script.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert, Justin Erenkrantz |
212f76c9d798af2919790b5368ccb24af192e4b8 93639 |
|
28-Feb-2002 |
aaron |
For some reason AC_PREFIX_DEFAULT must not be called before the apr
m4 files are included. This fixes builds on autoconf 2.52 again.
Obtained from: Sander Striker
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert |
f8de60fac245d1eeb2d1835471427f9c81ee799d 93622 |
|
28-Feb-2002 |
aaron |
No longer assume SERVER_CONFIG_FILE is in the "conf" directory. Instead
look for it in the $sysconfdir.
This required the use of a new m4 function from APR that retrieves
the fully "expanded", or recursively interpolated, value of the
$sysconfdir variable. |
817dcdedbd78958f50972cdf07a7b0b8cc84b469 93618 |
|
28-Feb-2002 |
aaron |
Fix a typo in the default cgidir variable.
Set a couple more defaults if they haven't already been set, just
as a precaution. |
a91a466a0d812a522d492c3c182163f73591ca20 93605 |
|
27-Feb-2002 |
aaron |
Set defaults for non-autoconf path variables. Also export a couple
variables that for whatever reason weren't being placed into
config_vars.mk.
Warning: This commit alters the "default" layout (ie. when no --enable-layout
is specified). The most notable change will be htdocs in $prefix/share/htdocs,
which works with the autoconf defaults, but may not be what we want. This
will require more work. |
29300cff04be8e942e6d3ba62637ba8cea5b697c 93598 |
|
27-Feb-2002 |
aaron |
Fix --enable-layout to work again.
Fix bug where --sysconfdir and --localstatedir were being ignored by APR.
Caution: When specifying --enable-layout, common arguments like --prefix,
--exec-prefix, etc. will be ignored and the settings from the layout
will be used instead.
PR: 9124, 9888, 9873, 9885
Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert
Reviewed by: Justin Erenkrantz |
66892093af31c8743435fd3eadc831e2f6d69c48 93172 |
|
02-Feb-2002 |
gstein |
Fix the AC_OUTPUT() macro for the BSD users.
Submitted by: Zack Weinberg <zack@codesourcery.com> |
6a4649558b97a172731155875d888a2ef8c6cb50 93129 |
|
31-Jan-2002 |
martin |
Check for timegm() and for tm_gmtoff in struct tm.
These are used for the USE_MDTM case in proxy_ftp. |
2359c30f82e1b8dee1f65acc300423116f6688c9 92924 |
|
19-Jan-2002 |
ianh |
new var.
APRUTIL_LDFLAGS |
bb87d546d89eb6cb1c9ddf8dc34fcad990cb0052 92907 |
|
18-Jan-2002 |
jerenkrantz |
Per Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment. |
20bca6c9617ad7d0268203c21039424e99acdd91 92663 |
|
30-Dec-2001 |
bjh |
OS/2: Supply the configured libraries to the linker when building loadable
modules. This allows things like mod_deflate to build (needs -lz). |
04a013f10cd5f6678f6672b42b29d711cb1deee4 92613 |
|
27-Dec-2001 |
aaron |
This old variable does not appear to be in use any longer. |
074df14eaf1a7044108a63bdfe6f00229ad62797 92565 |
|
21-Dec-2001 |
trawick |
On AIX, DSOs which reference external libraries need those libraries
available to ld when the DSO is linked.
This gets mod_deflate, which needs zlib, to work as a DSO on AIX. |
f965133b20eaa5a738d4f2d0054d24289cfcfd7a 92538 |
|
19-Dec-2001 |
trawick |
fix the value of the _CEE_RUNOPTS envvar on OS/390 |
96ad14f1fa98e57c969765b1bf4be4a290f4b148 92501 |
|
17-Dec-2001 |
trawick |
AIX: don't set LDR_CNTRL environment variable for 64-bit build |
d472f67198d6b15dd1270136f180cca9c9263243 92490 |
|
15-Dec-2001 |
trawick |
Move any load library path environment variables out of
apachectl and into a separate environment variable file which
can be more easily tailored by the admin. The environment
variable file as built by Apache may have additional system-
specific settings. For example, on OS/390 we tailor the heap
settings to allow lots of threads. |
38d37e90b45f2a735e7aecf702c76159e0b9f58f 92435 |
|
12-Dec-2001 |
trawick |
change Apache/apr/apr-util to use run-time linking on AIX
currently, a kludge (-uXML_Parse) is needed to get a reference to expat
in the Apache executable programs; I think this is related to the fact
that expat libtool is getting generated a little differently than apr
libtool and is choosing to build a different flavor of shared library |
86a5d34400b7f586ad2cca97c8b33b2f55bac61b 92343 |
|
05-Dec-2001 |
trawick |
separate logic specific to building Apache DSOs from logic needed
when anybody's DSOs should be built (e.g., via apxs) so that on a
few platforms with special issues third-party modules can be loaded
as long as mod_so is built into httpd |
557eb8d48357657fa898250560f089c65539c634 92299 |
|
03-Dec-2001 |
gregames |
get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.
How it works:
* libtool figures out the name of this system's library path environment
variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
installed (existing code)
not done yet, but a good idea:
* create a file or directory containing all environment variable settings
for apachectl. Others env vars need to be tweaked, at least on AIX and
OS/390, so keeping them separate should reduce headaches long term. |
25b715e9687f82ea055fdea2a9761c7e5f1ac6ee 92276 |
|
01-Dec-2001 |
trawick |
Get shared builds of libapr and libaprutil, as well as Apache DSOs,
working on AIX.
Submitted by: a cast of many, reverse engineering libtool to
figure out how to work around its oddities/limitations/
bugs on AIX
(Jeff Trawick coded these changes but it took a lot of
help) |
56034e6a47a1322af5d8ef94e283dde92acbaa85 92134 |
|
22-Nov-2001 |
aaron |
Allow SUEXEC_BIN to be defined by the configure script. |
b900452c9c36031434d318880f023c0fb9143325 91486 |
|
16-Oct-2001 |
rbb |
Cleanup the proxy code that creates a request to the origin
server. This change adds an optional hook, which allows modules
to gain control while the request is created if the proxy module
is loaded. The purpose of this hook is to allow modules to add
input and/or output filters to the request to the origin. While
I was at it, I made the core use this hook, so that proxy request
creation uses some of the code from the core. This can still be
greatly improved, but this is a good start. |
40916a6acbac530f958866e5229007288759f859 91471 |
|
15-Oct-2001 |
rbb |
Fix a typo in the configure script. This get AIX building cleanly.
Submitted by: Jens-Uwe Mager <jum@helios.de>
Reviewed by: Aaron Bannert <aaron@clove.org> and Ryan Bloom |
e379fc6d7f79163700290d92ce75deb4f3005301 91211 |
|
30-Sep-2001 |
jerenkrantz |
Kill two autoconf-related birds with one commit.
- substr used in APACHE_MODULE for the help string did not parse correctly
with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING.
- Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+
(actually not 2.13 - look at the regex call) or do our custom variation
of it. This function can't have any extra spaces or it will be returned
in the help string. So noted. If anyone can figure out how to insert
a line break like 2.50+ does when we go over the 26th column, I'd
appreciate it. I tried and I'm way too tired to figure it out now.
Adding this would greatly simplify two or three HELP_STRING uses.
- Switch all of those annoying WITH and ENABLE functions to use the
APACHE_HELP_STRING. This makes everything consistent now. I've always
had to go through and keep aligning everything every few months or so
because I'm the only one who cares. No more. I refuse to do it any more!
Use APACHE_HELP_STRING or be crucified.
Looks decent with autoconf-2.13 and autoconf-2.52. |
04cea79e2c6e38bbea0ee002e39c4cd99abc4540 91142 |
|
25-Sep-2001 |
rbb |
httpd.exp is a generated file, and therefore, it is generated into the
build directory, not the source directory. When we go to use it, we
have to look in the build dir for it. |
b17df32a1b345f64c99d2326c6c34e060dd3092b 91102 |
|
21-Sep-2001 |
jerenkrantz |
kill -l requires the short version of the signal (without SIG prefix).
(apachectl graceful was broken.)
The best way to do this is to change configure to internally represent
the signal without the SIG prefix and prepend SIG before substitution
(and export a version without the SIG prefix for apachectl).
This highlights why we want to move apachectl's core functionality into
httpd. |
0aa8e8fd5a242948518655f2296b3c76386754e5 91076 |
|
19-Sep-2001 |
jerenkrantz |
Switch back to SIGUSR1 for graceful restarts on all platforms that
support it. This defines a symbol called AP_SIG_GRACEFUL in
ap_config_auto.h which will have the appropriate signal value. All
direct references to SIGWINCH have been replaced with AP_SIG_GRACEFUL.
On Linux 2.0, use SIGWINCH instead since SIGUSR1 is used by glibc
2.0's user-space threading library to control threads. All later
versions of Linux/glibc don't have this problem. (Not to mention the
security holes in older Linux versions which make it unsuitable for
use as a web server.) If your platform doesn't have SIGUSR1, use the
appropriate mojo in configure to define what your graceful restart
signal should be.
In theory, a configure switch could be added to allow the admin to
specify the appropriate signal that should be used. This is left
as an exercise to the reader for now.
The docs need to be updated. Since the signal is now configurable,
just saying SIGUSR1 for graceful restart isn't completely true. Also,
the apachectl functionality needs to be moved into httpd - this is
what Win32 does and it makes us consistent across platforms.
Roy issued a veto against use of SIGWINCH by default, so this should
resolve that veto. |
95e22b2fc8758b9324ff272085ccfcac2f104595 91033 |
|
15-Sep-2001 |
bjh |
Fix test for ltconfig, m4 processing removes the square brackets.
(I just happened to notice "-f: not found" while running configure) |
b2deef56fc8a3ed9b6b74bf8c476aab2bc15e59b 91012 |
|
12-Sep-2001 |
rbb |
Remove an error during configure. Libtool 1.4 doesn't have ltconfig. |
a73ba46a065981bb811babaf5bbeaed9da2619e6 90902 |
|
05-Sep-2001 |
trawick |
on AIX we need to pass in --disable-shared to apr and apr-util
configurations; otherwise we get goofy executable files
obviously libtool isn't doing the right thing, but I don't know
what that is |
6950fe421a21787acd53b96dc7fdbd7b8fc1fb17 90876 |
|
03-Sep-2001 |
rbb |
Fix the interaction between --prefix and --with-layout. We were
over-writing the specified prefix during --with-layout processing. By
keeping a copy of the specified prefix, and resetting it after the
layout processing, this is fixed.
PR: 7755 |
c839614b4216fe34f6346668ad646aca2c0f23c6 90805 |
|
30-Aug-2001 |
wrowe |
* configure.in: added Cygwin specific APR_SETVARs.
* os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
$OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
clean as with 1.3.20.
* support/logresolve.c: added OS specific #ifdef statement to define
h_errno as extern __declspec(dllimport); it's imported from the
cygwin1.dll itself.
Submitted by: Stipe Tolj <tolj@wapme-systems.de> |
b9c54f74384c016b286c98458ec95b572159a7de 90715 |
|
27-Aug-2001 |
jerenkrantz |
Remove some unneeded autoconf checks. We now have no duplicate libraries
in the generated EXTRA_LIBS in config_vars.mk (at least on Linux 2.4).
APR already determines if we need nsl, socket - checking for it in httpd
is merely redundant.
None of the code in httpd-2.0 seems to deal with HAVE_GMTOFF as all of
that code was moved to APR a long time ago. |
65a71e30f9ae4ac4d8a71faf25493015bc4f467c 90488 |
|
22-Aug-2001 |
rbb |
Add rules.mk back to the substitute list. I forgot to add the rules.mk.in
files last night, but they are there now. |
a997fd73670467be940d0e8fd5d1c3fda4e56542 90485 |
|
22-Aug-2001 |
jerenkrantz |
We don't have rules.mk.in, so autoconf/m4/sed will overwrite the good
rules.mk with a blank file.
This gets us building again. From what I see of rbb's libtool 1.4 commit,
I didn't see any change to rules.mk that would require variable
substitution. Ryan? |
cdebcee17ecd58161e465bb45276e0f9e3264831 90479 |
|
22-Aug-2001 |
rbb |
Allow Apache to use libtool 1.4. In order to do this, we check the
libtool version of the machine, and we add the correct flags to the build.
We also had to remove the --disable-shared in order to make this work
correctly. |
25ceba7d5ba97e2c5b68309915a9b498968916a6 90396 |
|
20-Aug-2001 |
bjh |
Make mpmt_os2 the default MPM on OS/2. |
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9 90213 |
|
16-Aug-2001 |
trawick |
The Unix MPMs other than perchild now allow child server
processes to use the accept mutex when starting as root and
using SysV sems for the accept mutex. Previously, this
combination would lead to fatal errors in the child server
processes. perchild can't use SysV sems because of security
issues.
translation: steal apache 1.3 code to call semop(IPC_SET) on
the semaphore to set permissions and uid/gid |
46102c57fc6ebc39c70057e071d59dd70d7a86e2 90137 |
|
13-Aug-2001 |
trawick |
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code |
aff5b244b018d7f43dd193e78411eb2561ad080e 89746 |
|
27-Jul-2001 |
bjh |
OS/2: Fix 'make install' handling of EXEs. |
8d54d9b064e2beaa2f2a00217d14f560fa367225 89527 |
|
10-Jul-2001 |
fielding |
Use the autoconf variable "host" consistently for platform checks. |
042d478e3af4b8adcb61da41dd009f47eca5ed66 89517 |
|
09-Jul-2001 |
rbb |
Allow all parts of Apache 2.0 to build when --srcdir is used. This
required exposing a build directory and a source directory to all parts
of Apache's build system. It also required a small hack in APR-util, if
we are using the bundled Expat, and we are using VPATH support, then we
have hard-coded the xml/expat location. I couldn't figure out how to
allow the configure script to determine the correct location. I added a
comment, but if somebody else figures it out, we should fix that at some
point.
PR: 7630 |
2b324d3faf61a3624621019a276342a7518e48de 89515 |
|
08-Jul-2001 |
rbb |
We need to pass the prefix to APR, APR-util, and PCRE. If we don't
pass that information, then all three libraries will install themselves
into their default locations.
PR: 7750 |
14e883c611d1000fe2e519ae5feca8c414a05c24 89351 |
|
12-Jun-2001 |
trawick |
get threaded.c to compile on non-AIX systems which have sys/processor.h
if we want to call bindprocessor(), we should check for bindprocessor(),
not some header file
(prefork and perchild to be fixed shortly) |
8b2bf5a621375798b38a7664321be506c01592e5 89346 |
|
12-Jun-2001 |
orlikowski |
SINGLE_LISTEN_UNSERIALIZED_ACCEPT applies to every kernel after
2.2, not just 2.2. |
7af2fcad9e14a79d7020a33766fbd3a4dfd088dc 89341 |
|
11-Jun-2001 |
orlikowski |
Make the processor unbinding/re-binding stuff on AIX work again. |
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2 89288 |
|
07-Jun-2001 |
orlikowski |
Generate httpd.exp on the fly.
This should allow DSOs to work on AIX, without the headache of maintaining
the httpd.exp file.
This is adapted from OS/2's generation of ApacheCoreOS2.def.
There exist a few bugs still:
1) mod_dav and mod_proxy may not yet work, due to certain namespace issues.
2) Some symbols may need to be added, a la core_header.def
Once these have been fixed, the old httpd.exp file will be deleted. |
5a6fd9760b873ea808d10ca9fbdf022e1c2cc6c2 89142 |
|
18-May-2001 |
fielding |
Get the compile flag types right and in order. |
cb5d3f2f217d457dada4883addb1dc9f3f17bb85 89140 |
|
18-May-2001 |
fielding |
Change the make targets and rules to be consistent in all of the
Apache-owned source trees. Sanity is a good thing. |
ab7d7f525366b970a94bfab3903a615742ab3fe3 89124 |
|
15-May-2001 |
trawick |
clean up DSO builds on OS/390 a bit by ignoring some generated files
and by passing libtool the OS/390-specific options needed to split
the main httpd executable into a small executable with main() and a
dll with everything else (previously this information was hard-coded
in the OS/390 libtool program) |
1dda9e3137f1ce78309a5b07f79b358348176bac 89103 |
|
13-May-2001 |
trawick |
Separate enablement of AP_DEBUG code from enablement of code
which depends on the compiler supporting designated initializers. |
f8ade263526e70e9e4f4f830b052f1b6669108ca 89102 |
|
13-May-2001 |
gstein |
Implement Jeff's idea for an autoconf-defined symbol to enable the special
command function prototype stuff. AP_DEBUG is always set in maintainer mode
and AP_DEBUG_HAVE_GCC is set when the compiler is GCC.
Submitted by: Jeff Trawick |
12f722e636ad671c484fce7495ca3afbae3a5ab6 89097 |
|
12-May-2001 |
trawick |
get rid of an errant semicolon which broke gcc builds (sorry!) |
bbe0d71783df5941bb42d8570b7c75d6db409290 89096 |
|
12-May-2001 |
trawick |
Only turn on AP_DEBUG if we're using gcc.
The AP_DEBUG flavor of the cmd_func declarations is not portable.
Last night Roy removed the check for gcc before turning on AP_DEBUG.
Interestingly (or not :) ) the AP_DEBUG flavor of cmd_func compiles
cleanly on gcc but the non-AP_DEBUG flavor doesn't. The non-AP_DEBUG
flavor compiles cleanly with Tru64 cc and AIX xlc but the AP_DEBUG
flavor doesn't. (On Tru64 we get a bunch of warnings with the
AP_DEBUG flavor but at least it compiles; the same cannot be said of
AIX xlc.)
Perhaps we should use a symbol other than AP_DEBUG to distinguish
between the cmd_func flavors. Then AP_DEBUG can be turned on
regardless of compiler. The new flag can be turned on for gcc+
--enable-maintainer-mode, or perhaps for gcc always since the non-
AP_DEBUG flavor won't compile cleanly with gcc. (what a mess; this
probably wouldn't work right for different levels of gcc anyway) |
80e9324586de2fa55e2da4df409e6a85885ea659 89094 |
|
12-May-2001 |
fielding |
Fix httpd's definition of LTFLAGS to be consistent with that of apr
and apr-util, allow it to be overridden by the configure command-line
(default="--silent") and introduce LT_LDFLAGS to replace what we were
formally abusing as LTFLAGS. |
76dc3613020733bba878db611b3a269002a80a85 89092 |
|
12-May-2001 |
fielding |
It is easier to re-run configure's test and pick up the cached values
than it is to replicate them in our own macros. This isn't too expensive
because CC and CPP have already been set by APR. Too bad it generates
a lot of output.
Also, we don't need to repeat command-line options that are already being
handled by APR now that we use APR's generated flags. The switches are
still usable on the command-line. |
fc1a6990883856e30d92501089d571eba4eadba7 89084 |
|
11-May-2001 |
trawick |
When checking for gcc, use variable ac_cv_prog_gcc instead of GCC.
This gets AP_DEBUG set properly for --enable-maintainer-mode builds.
(As libtool configuration is removed from other places -- e.g., pcre,
expat -- the same change will be needed of those configuration
scripts use GCC.) |
9f7fc4627b7d98f6f6955ad6cf0cec5a3e1c4deb 89081 |
|
11-May-2001 |
fielding |
Simplify the configuration process by moving all libtool stuff to APR
and moving the last bits of hints.m4 inline. Now we only run every
test four times instead of five. One down, three to go. |
997fb636f5e272a7210a275a8ef352a0adfa42b1 89080 |
|
11-May-2001 |
fielding |
No need to sinclude macros that we no longer use. |
305a68a1a5db3cc264077d89b3caa6f923257150 89079 |
|
11-May-2001 |
fielding |
We don't need no stinkin libtool when APR already has one for us to use. |
7f54d1c813bfda5f09a70bf3a0378646ccc5174f 89060 |
|
09-May-2001 |
dreid |
Pass in the full path for the AP_LIBS so we can always find them when not
installed. |
105475009f541187ba7a14a367547d9404c578be 88960 |
|
29-Apr-2001 |
fielding |
Completely revamp configure so that it preserves the standard make
variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
the configure additions to EXTRA_* variables. Also, allow the user
to specify NOTEST_* values for all of the above, which eliminates the
need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting
of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to
avoid pointless duplications. Fix the order in which flags are given
on the compile and link lines. |
fcfe5b1da683f24a839a4f44a91d189dde89dcf8 88895 |
|
19-Apr-2001 |
bjh |
Remove unused variable. |
dcd0682fcd7a315f031bd31113dced1ce07f88ad 88886 |
|
18-Apr-2001 |
dreid |
This changes the build process as outlined in my email earlier this week.
Essentially we now build the static objects, then allow a platform to run
a given command, build the shared modules, then run another command before exiting.
This gets us building dso's on beos and may provide a better framework for some of
the other "strange" platforms out there without stopping the normal ones working. |
93db592309ba9e5ab230f67611a2c74fece9cdb2 88704 |
|
04-Apr-2001 |
marc |
Temporary (hopefully) reversion to the previously used hack to
allow --prefix to work for now. This means that part of the Apache
layout is duplicated in configure.in again.
There are a _LOT_ of inconsistencies in different places about what
items in config.layout are actually used and how they can be set.
Also, change the couple of other things that are necessary to make
/usr/local/apache2 the default prefix when using this way of doing
things.
PR:
Obtained from:
Submitted by:
Reviewed by: |
3c680887b744564f65b836a799a70ae66e7adb24 88702 |
|
03-Apr-2001 |
jim |
Oh bother. OPTIM isn't treated the same in apr and
httpd-2.0. While being fixed, allow to build |
33b339071fd6c3edbce9a169670f328a5f0a1d05 88701 |
|
03-Apr-2001 |
jim |
Minor sync-up of how httpd-2.0 and apr handles
these. -g is more an Optimization flag, and the others are
more compiler flags |
937fdf00b9a29414cd05024c9de538dd3a57c1d5 88695 |
|
03-Apr-2001 |
rbb |
Make Apache check APR's configuration when determining the default MPM.
This way, if APR is built without threads, then Apache defaults to the
prefork MPM. |
b3fc8088c3733e0ff3c3bee9a0ee96b4da029241 88685 |
|
03-Apr-2001 |
fielding |
Use APR's macro to generate config.nice |
9022fa73d4ac101553e7c36a1457ead52a73333b 88655 |
|
02-Apr-2001 |
orlikowski |
Changes to get AIX DSOs working, sans APR changes.
Basically, this allows linker flags to be passed for the httpd executable
and DSOs only. |
ce8d7a0627c0f246376cccd980463f8250a6a97e 88645 |
|
02-Apr-2001 |
bjh |
Switch to using aplibtool for building under OS/2 & add support for building
loadable modules as OS/2 DLLs.
PR:
Obtained from:
Submitted by:
Reviewed by: |
12c707ef2ed80921fbb885f6c45bac75e9f37b9c 88622 |
|
31-Mar-2001 |
trawick |
if the perl interpreter is not found in PATH, use
"/replace/with/path/to/perl/interpreter" for the path when
substituting in split-logfiles et al so that an unlucky user
will have a better clue about why these programs won't work |
3b078993904b5429ca0b655b637cb1d7428d65d7 88592 |
|
27-Mar-2001 |
gstein |
switch to --enable-* rather than --with-* for the debug options |
893328ef6ff86d0ca27774778d84410353789fb0 88570 |
|
24-Mar-2001 |
fielding |
Untangled the buildconf script and eliminated the need for build's
aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
libtool muck that is now under srclib/apr/build. More to follow. |
94802a6161b8574406d2193d93ab92aac2582e54 88569 |
|
24-Mar-2001 |
fielding |
Remove some unused bits and improve comments. |
86f191e8221867df8c9cd22271e7d54204f39186 88530 |
|
17-Mar-2001 |
rbb |
Cleanup the build process a bit more. The Apache configure
script no longer creates its own helper scripts, it just
uses APR's.
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com> |
650b8deadd86f9326c0d4a1bcbbb61cb907722aa 88495 |
|
12-Mar-2001 |
coar |
Bring the other Perl scripts into the autoconf-edited
find-the-interpreter fold, like apxs and apachectl. |
bae64a3e5bf7b96d8379e24f13273f26b3b29e16 88493 |
|
12-Mar-2001 |
coar |
Bring forward the suexec umask setting option from 1.3, and
also fix some configure.in bits that would define macros
that needed to be numbers as strings instead.
Obtained from: Apache HTTP Server 1.3 |
32561fc77586f692e86fe3ec6ee11a214a22762a 88476 |
|
08-Mar-2001 |
rbb |
Get us closer to building on Unix. Not perfect yet, but we no longer
should look for expat in srclib. |
58e3cdfc5e9ee0101694e9ac9134eecdfc0f20e7 88455 |
|
05-Mar-2001 |
trawick |
Rely on APR to determine whether or not we have netinet/tcp.h. This test
requires a special work-around for IRIX 6.5, which will be in APR soon.
There is no need for it in Apache.
The include of netinet/tcp.h was removed from perchild.c and threaded.c.
They no longer seem to be needed there.
PR: 6459 |
aa552377469071a421252dab6568c204a99cf770 88299 |
|
24-Feb-2001 |
gstein |
Shift XML handling code from Apache down into APRUTIL
- teach APRUTIL how to find Expat and respond to --with-expat
- Apache's configure points APRUTIL's configure at its srclib/expat-lite
(this will go away; aprutil can work against installed expats or fallback
to an expat bundled within aprutil)
- shift some of the timing of INCLUDES and top_builddir processing in the
APRUTIL configure.in script
- expose the new apr_xml functions in apr_xml.h, apr_xml.c (by building it),
and apu_compat.h
- rewrite util_xml.[ch] in terms of apr_xml |
5fcc3b5fbbf8b65ff30b5596d9fdf215aee20a74 88286 |
|
23-Feb-2001 |
trawick |
Work on a BSD/OS system where GNU make is used instead of the native
make.
Roy suggests using the variable set by AC_PROG_MAKE; we don't use that
yet, though I guess we could. Greg suggests leaving this to Roy since
he will revamp this stuff soon anyway.
Inspired by: Joe Orton's patch to APR to accomplish the same thing |
91e87f86fab77e9beb8240a76c30c4ed9f1c2a9c 88245 |
|
20-Feb-2001 |
fielding |
Update APR macro usage to new name-protected names.
Replace REENTRANCY_FLAGS with direct use of THREAD_CPPFLAGS.
This is a temporary band-aid, since the way we currently set
the standard make vars (CFLAGS, CPPFLAGS, LDFLAGS, etc.) is
bogus and frequently redundant [to be fixed later]. |
2b86efe8402938ec3196396a3db099bdc51ee855 88230 |
|
18-Feb-2001 |
fielding |
Intermediate change of hardcoded "helpers" reference to "build"
until I get a chance to revamp this to use APR's variables directly. |
d0211374a981173d4537e3f919c708b5f64040fc 88219 |
|
18-Feb-2001 |
gstein |
implement ability to do --enable-modules and --enable-mods-shared for "all"
and "most". still need to tweak various config.m4 files to sort them out. |
ba928144a0c19829717b6b631d9b24a4b33ae2d9 88067 |
|
10-Feb-2001 |
rbb |
Fix the configure scripts, so that we don't try to substitute into
test/Makefile unless we actually have a test directory. The problem
is that we don't distribute test directories with our tarballs, so our
configure script outputs error messages. This fixes that problem. |
fd88119fe7888f4857c6bfcc7d2e133d89fbc26d 88062 |
|
10-Feb-2001 |
gstein |
[ missed in last commit ]
clean out some headers and libs from the configure process (not needed) |
9937931af50d49ee7f915d2ba5486d2886955ee2 88057 |
|
10-Feb-2001 |
gstein |
*) clean out some old crap from ap_config.h; other simplifications; don't
include stuff randomly (let users include them explicitly)
*) toss ap_config_path.h -- we can put those values into ap_config_auto.h |
0684d9a350caec9c8f3fb469bfc514fc2d5e66d6 87888 |
|
28-Jan-2001 |
fielding |
Clean up the help text for some of the options. (cosmetic) |
5727f68f33838686d447f55a100309e54efb20f8 87887 |
|
28-Jan-2001 |
fielding |
Replace configure --with-optim option by using and saving the
environment variable OPTIM instead. This is needed because configure
options do not support multiple flags separated by spaces. |
fdf2b1b46556cc92c13c68ca3a1725e92d8ac858 87886 |
|
28-Jan-2001 |
fielding |
Force --with-optim and --with-port to have argument values, since
they result in later compile errors otherwise.
I would have removed --with-optim in favor of just setting it with
an environment variable, but then it wouldn't be saved in config.nice.
A better solution is needed because these arguments can only accept
a single value (quotes and spaces are stripped). Perhaps setting
OPTIM within config.nice? First things first. |
e42cb4c27f4fe0f108bb1d2194c6e4332767769d 87639 |
|
10-Jan-2001 |
bjh |
Libtool takes care of the lib prefix so get rid of our own workaround. |
8f716e3c3642be7ef200fa0c8cc43bb48b837573 87633 |
|
09-Jan-2001 |
rbb |
Fix a compile break with the new APR libtool setup. Basically, we are
using a libtool library from MM, but it isn't getting linked into the
Apache executable, so we fail the link stage. This makes APR
publicize the libtool libraries that it uses, so that Apache can link
them in. |
a2c1986831f5800a8647d670ffc52f3ee81f3040 87631 |
|
09-Jan-2001 |
gstein |
a couple tweaks to get Apache building with the new libtool-ized APR |
7513d71ec3344b645cc008ce7a51a547c893b3ed 87613 |
|
09-Jan-2001 |
sascha |
Set MKDIR for APR's RUN_SUBDIR_CONFIG_NOW macro. |
0e383b9a57936fa61888355891dde5e6634ac6f3 87609 |
|
08-Jan-2001 |
gstein |
seems nobody is using sethostent() |
ef4642028134239536bef59db051d14615c4cf81 87536 |
|
28-Dec-2000 |
rbb |
We cannot set the SUEXEC_BIN directory from autoconf, because all of the
instructions say that in order to modify this variable, you have to modify
httpd.h |
07c444db2f631a05e41bc29b66bc47163dc7f2a8 87530 |
|
27-Dec-2000 |
rbb |
Get suexec compiling again. |
5bf029f8452b6aa105cf3d9d9b19221920725428 87521 |
|
23-Dec-2000 |
rbb |
Allow SuExec to be configured from the ./configure command line |
9eccc0a669a3e711629345b357c46acce5fefdb4 87512 |
|
22-Dec-2000 |
gstein |
Back out the .libs thing from the aprutil linking. Add --disable-shared (for
now) to the subdir config to ensure that we only get a static library for
aprutil (which allows for linking all of its functions into the executable).
[ APR will need something similar if/when it gets libtool-ized ]
Mark a note in STATUS indicating we should eventually toss the
--disable-shared flag. |
668cfbcba998b2b69099d6e8e12ed473c2e6167d 87476 |
|
21-Dec-2000 |
rbb |
Actually link apr-util's .a file, instead of relying on libtool. We may
want to change this later, but right now, we want a single binary that
has every function it requires. |
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9 87460 |
|
20-Dec-2000 |
trawick |
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro. |
9af2ec94a64887726d7595b113a59a5dc7103cfe 87427 |
|
19-Dec-2000 |
rbb |
Find the RM program during configuration. |
51fedda89ba819273fc571a8dd680f9cc931fa33 87297 |
|
12-Dec-2000 |
gstein |
pick up exported build variables from APRUTIL |
6fb618f9094b66776a3bf5ba82e2814efcd3add0 87231 |
|
06-Dec-2000 |
gstein |
remove APACHE_CHECK_DBM and the usage of srclib/sdbm/. this stuff is part of
APRUTIL now. |
46f8f84babfcbd1cb12b63930b38686ca50aa1fc 87200 |
|
05-Dec-2000 |
rbb |
Build apr-util correctly when building the rest of the server. |
adc9a96eb3f2ee826dea80b7bc61273221c70139 87197 |
|
05-Dec-2000 |
rbb |
Add apr-util to the build process. This should now build once everything
has been checked out to the correct locations. |
ce3da141a81ef0e22f46e496675f602e3c483b88 87192 |
|
05-Dec-2000 |
rbb |
Apache builds again, although the test directory doesn't. I will work on
the test directory soon. The server does NOT currently run, but it does
build cleanly. |
45beebe68d39f5093c8b9b01b31e32efeefc610b 87191 |
|
05-Dec-2000 |
rbb |
Get the support programs building properly. Httpd itself is next. |
eec6b6f40a8f0a4a47bab0b6646dab79e8de8468 87190 |
|
05-Dec-2000 |
rbb |
Get base Apache to build properly. This doesn't solve the problem of
not having apr-util, but we should be getting to the link stage now. |
b095ab1f1a0708c604aa661d916b5dc9317d624c 87187 |
|
04-Dec-2000 |
rbb |
Get Apache to configure completely again. This still doesn't build, but
now we are getting very close. |
0af3a77b888861a190b1701079a96469f323e661 87183 |
|
04-Dec-2000 |
rbb |
Start pointing the configuration scripts to the correct directories |
10e6ce0b820b1cd90acd12655d6d98e799296524 87176 |
|
04-Dec-2000 |
rbb |
Get buildconf working in the new repository. Nothing builds, but we can
at least configure everything. |
549ef12294bf44fc8dbb199cfdf972675b152725 87124 |
|
29-Nov-2000 |
gstein |
reorder the libs for proper inter-lib dependencies |
af86016ec4459471b46e0723127a1f428d789527 87107 |
|
28-Nov-2000 |
rbb |
Split the hints file into two files, one in APR and one in Apache. The APR
hints file just sets build variables, the Apache hints file just sets
Apache variables. This is meant to clean up parts of APR, so that they
don't include Apache information. |
ea282508cf54bc74f254d5d519e8ec2ad36e9c41 87100 |
|
28-Nov-2000 |
gstein |
add --with-dbm switch to configure, allowing the user to set the type of DBM
that apu_dbm will use (defaults to builtin sdbm). first pass at gdbm
config support (seems to work fine in my simple test).
- added src/lib/aputil/apu_private.h.in to hold aputil config info
- apu_dbm.c now uses #if for the config values (rather than #ifdef)
- cleared out temp hack in configure.in to force sdbm usage |
c99b9d1ce2e68944b94d0471d8654a958ac950f4 87089 |
|
27-Nov-2000 |
trawick |
Always include lib/sdbm in INCLUDES (until somebody that can spell
lbi/aputil teaches the configure to be a little smarter). This
lets apu_dbm compile, which in turns lets us build httpd again. |
8c720f942dab46e1b78e81cfdd8e79986cfb7d24 87082 |
|
26-Nov-2000 |
gstein |
*) Put lib/aputil/ into the INCLUDES path
*) add a Makefile.in to test/ to help with building test programs (these are
not part of the build; just manual compiles right now)
*) add test/dbu.c as a quick test of apu_dbm
[ dbu.c originally came from the SDBM package ] |
e71dd573457e35e07ffd01fd158d2a6632a71ef6 87081 |
|
26-Nov-2000 |
gstein |
Start the oft-discussed, but oft-punted lib/aputil library. Drop in a first
cut at an "any" DBM set of cover functions. |
be1da15688e02162cd72e0edad230a4ed6d6bbcc 86936 |
|
13-Nov-2000 |
rbb |
Get the hints file working on Linux. This also gets SINGLE_LISTEN....
working on linux 2.2. |
e2e02ca7a252d3215827323d3ee76abcbc27d359 86933 |
|
13-Nov-2000 |
rbb |
Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again. This defines that
macro on those platforms that have it defined in 1.3. The only platform
that doesn't work yet is Linux 2.2. |
377778e88ec07e35dd86413b968070e8a5eb6edd 86919 |
|
11-Nov-2000 |
rbb |
Not all platforms have INADDR_NONE defined by default. Apache used to
check for this and the define it if needed. Since APR also needs this
check it makes more sense for APR to just check and export a symobl that
is always available.
Submitted by: Branko �ibej <brane@xbc.nu>
Reviewed by: Ryan Bloom |
f8b43bf5b8fc8fb5058d6fe2e65d14616c7200d6 86802 |
|
02-Nov-2000 |
rbb |
Create a feature macro that determines if Autoconf was used to configure
the server. The ap_ugly_hack variable is only valid if Autoconf was used
for the configuration. |
3b5a17602787cfe16abe25e052b31799ada7605a 86794 |
|
02-Nov-2000 |
gstein |
Simplify the configuration mechanisms for threading in APR.
Revise how Apache configs APR and allow MPMs (or other config scripts) to
pass cmd line params down to APR. For the MPMs that specifically require
or disallow threads, have them force APR threads on/off.
Submitted by: Joe Orton <joe@light.plus.com>
Reviewed by: Greg Stein |
3f8c652f701075fc977bd89d7268aea90e3fb017 86756 |
|
27-Oct-2000 |
sascha |
Create modules.c in the build tree. This file depends on your configuration
and thus cannot be shared by multiple build trees. |
26f3a893a0221238d498d03cc19c11c0373f61d6 86436 |
|
07-Oct-2000 |
rbb |
Use autoconf to substitute the proper values into apachectl, and install
it when we install everything else. |
dadf206a4cf1eccf5c13b64bd9678610dd763868 86399 |
|
05-Oct-2000 |
rbb |
Multiple build and configuration fixes
Build process:
-add datadir and localstatedir substitutions
-fix layout name
-fix logfilename misspelling
-fix evaluation of installation dir variables and
-replace $foobar by $(foobar) to be usefull in the makefile
Cross compile:
-add rules for cross-compiling in rules.mk. Okay, rule to check for
$CC_FOR_BUILD is still missing
-use CHECK_TOOL instead of CHECK_PROG for ranlib
-add missing "AR=@AR@" to severaly Makefile.in's
-cache result for "struct rlimit"
-compile all helper programs with native and cross compiler
and use the native version to generate header file
PR: 6384
Submitted by: "R�diger" Kuhlmann <Tadu@gmx.de>
Reviewed by: Ryan Bloom |
03cab97a25239933bc85c7c79813846f424bde43 86398 |
|
05-Oct-2000 |
rbb |
Prepare our autoconf setup for autoconf 2.14a and for cross-compiling
PR: 6379
Submitted by: "R�diger" Kuhlmann <Tadu@gmx.de>
Reviewed by: Ryan Bloom |
a188213101b4490b654fbb5a1730b868996af1d2 86334 |
|
26-Sep-2000 |
sascha |
Set BSD_MAKEFILE in configure.in. The macro APACHE_GEN_MAKEFILES is
executed in the context of config.status with variable substitution
already performed, so the check in the macro itself did not work. |
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0c 86284 |
|
22-Sep-2000 |
sascha |
Add Convert-to-BSD-Makefiles-On-The-Fly system
Note 1: Only needed for BSD/OS.
Note 2: Invent better heuristic (timestamp checks for build/*.mk).
Note 3: Conversion is currently one-way
Note 4: Don't package on BSD/OS. |
3e5b9604fb2de91ece4093334890da00c4ff6404 86132 |
|
22-Aug-2000 |
rbb |
Finish fixing the pcre build. PCRE's configure script should be called,
and we can't clean config.h and then touch the file, we actually need
some of the data that config.h contains. |
58958500659193d4c2a7ad591a9606a8aeaf4a92 86098 |
|
18-Aug-2000 |
trawick |
Tweak apache/apr builds to support dsos on OS/390.
The OS/390 compile options are hard-coded because we need the
special DLL,EXPORTALL on *all* object files that are part of the
core so that dsos can reference symbols in the core. (Of course,
we use the option on more object files than that, but it doesn't
seem to hurt anything.)
We hard-code the enablement of DSOs on OS/390 because the
library functions on OS/390 to manage explicit loading are not
portable, so there seems to be no use in probing for them.
Submitted by: Greg Ames |
6a1c919219ae7e3382fb22f1c4cf89f11b4becff 86048 |
|
11-Aug-2000 |
coar |
Add recognition of the --with-port=n (as was added to 1.3), and
raise an error if --enable-layout is specified but we can't
find the definition file. |
d0e2581939aaed1aa8f3f030d73652cd251480c2 85871 |
|
23-Jul-2000 |
sascha |
Fix VPATH builds |
6687a315a676cbcb8063a8477a579876d82ab327 85743 |
|
01-Jul-2000 |
gstein |
config magic for enabling DAV, Expat, and SDBM.
*) AP_LIBS contains the target .a files from src/lib/
*) AP_LIB_DIRS contains add'l directories (besides pcre and apr) that we
will build (and generate Makefiles for)
*) apache_need_expat and apache_need_sdbm are two new configure feature
macros; set by the DAV stuff as needed
*) hackery to deal with dav/fs/ since it isn't really a module
*) do endian testing, so we can feed it into Expat to optimize that code |
19a0b56289fd2580d7919d577c017e78bd843f09 85733 |
|
30-Jun-2000 |
rbb |
Fix the problem with ./buildconf not working right out of CVS. The
general problem, is that we were using AC_CONFIG_AUX_DIR_DEFAULT, which
the autoconf source says shouldn't be called directly. It should be
called using AC_REQUIRE, but I couldn't make that work. So, since we know
exactly where the files that we are looking for are located, we'll just
point autoconf directly to them, and ignore all of the hoops. :-)
I am not convinced the AC_CONFIG_AUX_DIR(.) call that I am using is
strictly necessary, but it doesn't cause any problems and it logically
makes sense. |
5e8a84d7eba12aa913fd0cc61f5a0a08e64f9ddb 85725 |
|
28-Jun-2000 |
rbb |
Finish the Configuration cleanup. This basically merges all of the
autoconf scripts that APR provides for other programs into apr_common.m4.
Other programs can then just include that file to get the APR checks that
are required.
Submitted by: Sascha Schumann <sascha@schumann.cx> |
d41217398f0e1031adbb6f5bd37f45737c805def 85723 |
|
28-Jun-2000 |
trawick |
Include strings.h for strcasecmp(), strncasecmp(), and bzero().
Include time.h for time().
This removes a bunch of compiler warnings with gcc -Wall on AIX.
Submitted by: Jeff Trawick, Victor Orlikowski |
f3f0c2242ddf5b660323f579b781de175a2c85a9 85714 |
|
28-Jun-2000 |
rbb |
Fix the configure process. This does a couple of things to allow APR and
Apache to share information.
1) Move the calling of APR after Apache decides which MPM is run, but
before Apache generates the Makefiles and related files. This allows
Apache to setup the threading cache values, while still allowing APR
to generate APRVARS in time for Apache to use it.
2) Setup the cache files correctly for RUN_NOW configured subdirectories. |
cc6d8ac94a0a19eacf0c290f5b28224146d2aed2 85706 |
|
27-Jun-2000 |
rbb |
Move the checks for bcopy and memmove down to APR. APR now defines memmove
and bzero on platforms that do not natively support them. |
eed704842ef2d136f437fbede561a64468165892 85705 |
|
27-Jun-2000 |
jim |
One bug and one fluff: need to use the '.' shell ``command'' to
source the file; and remove error message first time APR's
configure is run, and APRVAR doesn't exist.
PR:
Obtained from:
Submitted by:
Reviewed by: |
8b95b7271b449a8d3a7eb96a1cc7285a71e7b12b 85704 |
|
27-Jun-2000 |
jim |
Make sure to get the required vars for the config.guess/et.al. family
first. Right now, this is semi-duplicated, since APR does the same.
PR:
Obtained from:
Submitted by:
Reviewed by: |
e0419c1f402ab1a69862e81de506fcdeffd1998b 85703 |
|
27-Jun-2000 |
jim |
We need to preload first, before running any other configures.
PR:
Obtained from:
Submitted by:
Reviewed by: |
78e8f0ef042921ab37fdf14ba9babfdd03c8c5db 85701 |
|
27-Jun-2000 |
rbb |
Detect libraries based on which platform configure is being run on.
Basically, Apache now runs APR's configure script first. APR's configure
script has been setup to create a new file, APRVARS. APRVARS is basically
all of the environment variables that APR wants to export to the program
that is using it. This allows the calling program to "source" APRVARS
and get those environment variables.
Removed hack to make platforms use -ldl. |
f215962af6cbcd23363f0124452ddeda09b9a5a2 85663 |
|
23-Jun-2000 |
rbb |
Remove select checks from Apache config. These checks were used to define
ap_select in ap_config.h. The only file that used ap_select() was
prefork.c. I have modified prefork.c to use select instead of ap_select.
In the future, this should be modified to use ap_poll like the rest of the
Unix MPMs. There are other MPMs that are continuing to use select, but this
too should change in time. |
40a4fa05efec54cc23f9f12272b3f204e746c0ed 85645 |
|
21-Jun-2000 |
trawick |
Fix error messages issued from MPMs which explain where to change
compiled-in limits (e.g., ThreadsPerChild, MaxClients, StartTreads).
missing: the same minor changes for the 2nd BeOS MPM
Submitted by: Greg Ames
Reviewed by: Jeff Trawick |
0e6e93183d91142d7cf9ffbf502114ff77bd9e19 85595 |
|
17-Jun-2000 |
ben |
Command handler revamp. Note that this makes the code produce a LOT of
warnings! |
c93ee1a560a56071ab3a14ae6a2927fddee47f59 85559 |
|
13-Jun-2000 |
rbb |
Remove the check for EAGAIN. With APR handling the error codes, this is
no longer an issue that Apache needs to deal with. |
3f8319a1e1728b589a550489e78cd484e78572d0 85538 |
|
12-Jun-2000 |
rbb |
Apache doesn't use struct tm anymore, Remove a check that defines a
macro that we never use. |
49afafb643083913b2ff140640cf34f1b3b8ba3f 85528 |
|
12-Jun-2000 |
sascha |
Build only needed parts of libpcre. This is more light-wheight than
having a complete build-subsystem for PCRE. |
e5828f355683dba49dc224e0025a8492c38a21f4 85526 |
|
12-Jun-2000 |
rbb |
Nothing in Apache should be calling stat anymore, so we can remove
the check for sys/stat.h and all references to the resulting macro. |
0367d25b112b0189d212faeb06649f0a11266d0b 85525 |
|
12-Jun-2000 |
rbb |
Apache doesn't need to check for inline or pid's, because APR provides
both ap_inline and ap_proc_t. |
3a47c2ef905c3b6483279637fb8054ca67c5b6dd 85512 |
|
11-Jun-2000 |
sascha |
Split generating Makefiles and creating config_vars.mk.
The Makefiles are now rebuilt, when you run config.status. |
991f9e10195fecbae07d245f4dc78f555c1b65cc 85509 |
|
11-Jun-2000 |
sascha |
Fix path for helpers/PrintPath which is in $srcdir. |
dd155cc98289eb625eca9f37c43df16b084fa314 85488 |
|
10-Jun-2000 |
rbb |
Remove waitpid from the config checks and all calls to waitpid from the
server. |
8e3ba1dea7eb2bb7d604b738538828d29ac1496e 85487 |
|
09-Jun-2000 |
rbb |
Remove a bunch of string functions from Apache. These are basically
standard string functions like strstr, strcasecmp, etc that Apache used
to define for platforms that don't have them. These functions and the
feature tests have moved down to APR where they really belong. In doing
this, I am also able to remove a bunch of tests from the Apache configure
process. |
e4c4fcc82268e0192db234c74a6db784b879fffd 85486 |
|
09-Jun-2000 |
rbb |
Remove all occurances of strerror from Apache. ap_strerror works just
fine with standard errno values, and it is more portable. This also allows
me to remove the check for strerror from Apache's configure script. |
015a6cb1fa002e97d82b1d07e03008a7c6bfdfd2 85476 |
|
08-Jun-2000 |
rbb |
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 |
87089cb1014109b2890a1f5cce5dc2d342483982 85473 |
|
08-Jun-2000 |
rbb |
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. |
87e0da4e1eabf35b0b2a48a9290c5e725854de8f 85463 |
|
08-Jun-2000 |
rbb |
Remove all occurances of gettimeofday. Replace it with ap_now which
provides the same function but works cross-paltform. |
75472985358003e05b6573c669e9c94baa3879d2 85262 |
|
20-May-2000 |
rbb |
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. |
9a5930eb393b9abd88b897e84722f00583c13db8 85183 |
|
11-May-2000 |
trawick |
use helpers/PrintPath instead of which to find the location of
the perl interpreter |
06924437019f9871bc4ee49748511130548b7d35 85153 |
|
06-May-2000 |
rbb |
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. |
8e4ce367a5165d3e96f08dfc9bb742850bb54fa9 85150 |
|
05-May-2000 |
rbb |
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. |
59dfe8e19f0909aa31ff10f1f003344fc620c1c5 85127 |
|
03-May-2000 |
sascha |
Configure creates config.nice now containing your configure options.
Syntax: ./config.nice [--more-options]
Obtained from: PHP |
fb1898bed0daf18bac017f93d228738ca98a49a2 85126 |
|
03-May-2000 |
jim |
Blurf. Move the preload down a bit to
ensure that the location of config.guess is set :) |
2e23692f3c3527548418eec2fc56824f1dfd4d68 85125 |
|
03-May-2000 |
jim |
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: |
a3658aa5c00f07bf898d46fdddae880c52424872 85113 |
|
30-Apr-2000 |
sascha |
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. |
b3aeccd394a91bef671438fa47b9ccd7cd6145a5 85102 |
|
30-Apr-2000 |
sascha |
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) |
05b7ad99e5d197b06c761fef0e06a44e353cbc54 85053 |
|
27-Apr-2000 |
rbb |
Add the support directory back into the build process. |
6e24b94d1e7122e128d9c19b3dff0e49475f5d37 85050 |
|
26-Apr-2000 |
rbb |
Fix the progname stuff to work the same way the rest of the configure
scheme works.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom |
7125f495aa35fa6842dff2a78312e68c284e7b29 85046 |
|
26-Apr-2000 |
trawick |
Define HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
at configure time. Some of the modules use these. |
46a06e5f359747d9b673ea77fcef89a851192e18 85041 |
|
26-Apr-2000 |
rbb |
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. |
12b0070d002520b81a273ae892b9ea08e810b123 85035 |
|
25-Apr-2000 |
rbb |
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. |
383139bd9ddb83b56cc32d936d3c8ed15acb7c69 84962 |
|
14-Apr-2000 |
martin |
Fix minor configuration & platform dependencies |
91730099c987cbf1a78df41924ad9ba6733792c2 84944 |
|
11-Apr-2000 |
martin |
In my libnsl, there's gethostname but not gethostbyname |
e2f1d8336d48264cf7715e104b1a69bac57bcbfc 84935 |
|
07-Apr-2000 |
trawick |
Recognize an EBCDIC platform during configuration and turn on
CHARSET_EBCDIC. |
38221be5b2951c31f7cebb2ae7f3646471fed450 84931 |
|
06-Apr-2000 |
trawick |
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.) |
bca21a070d927aeca42736eeb02fec5859574a0f 84905 |
|
04-Apr-2000 |
bjh |
Under OS/2 (well actually EMX gcc) libraries don't have a 'lib' prefix. In
main code libtool handles it. This deals with APR. |
955090ae4c1760ea528630b791c64754b3ece837 84871 |
|
31-Mar-2000 |
manoj |
Eliminate src/apaci, and replace with a header file containing paths:
include/ap_config_path.h. |
c011c534663a2fa9802bddb623fe64ddacfc663e 84868 |
|
30-Mar-2000 |
rbb |
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 |
04d823bcbf34a05048d8e2b3b54d203f41826a6c 84791 |
|
18-Mar-2000 |
ben |
Strict prototypes are no use until someone rewrites the config API. |
54435cd5855947861316d7d47a143bf4c8768cbe 84691 |
|
02-Mar-2000 |
manoj |
Oops, EXTRA_CFLAGS wasn't getting set. |
8286a571dd6e517e3ed493e10cee7b138794f470 84690 |
|
02-Mar-2000 |
manoj |
A little CFLAGS reformation. Additions to Apache's CFLAGS should be
using EXTRA_CFLAGS instead, so we don't affect packages that Apache
configures. |
4430ecb172205882391cc75ef17d70722d36ca71 84595 |
|
09-Feb-2000 |
rbb |
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. |
e2da2b059f975f6c97e848e3b982547f51d4f22a 84484 |
|
17-Jan-2000 |
manoj |
Remove vestiges of automake. |
05e6aefad7ca4918ddf74ae2a4bf24a5ab347ec5 84475 |
|
16-Jan-2000 |
sascha |
Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR. |
6ef1d9e147d88aded37a79c3ccfa6f3c5e751bef 84474 |
|
16-Jan-2000 |
sascha |
Rewrite pthreads check to be more tool-independent, and propagate flags
to APR. |
6ca0e6973c8176100f4a426444823ae5e777e28f 84423 |
|
11-Jan-2000 |
sascha |
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 |
0f47ee3ae8ede113e11f21bf34f3b11161d3e61d 84367 |
|
24-Dec-1999 |
rasmus |
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. |
572157c17a74e41b43712abda7a7e3c8f1bbd4b1 84365 |
|
24-Dec-1999 |
rbb |
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. |
999427a131afb3fc1c14ab092119bdae541a6d55 84363 |
|
23-Dec-1999 |
rbb |
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. |
2aae2a5a082299409975bb4d4a9c109df26839ce 84355 |
|
21-Dec-1999 |
rbb |
Remove a bunch of functions that are being replaced by functions in APR.
Also finished porting Apache to use APR in most cases. |
b33ab10d1f15a76d2b76f40eef8eef01b22ebd1d 84333 |
|
20-Dec-1999 |
manoj |
Speed up building, by making --disable-shared the default until we put
proper DSO support into the autoconf configuration scripts. |
7698a4e453e5351ec30021043959d462bbe46770 84330 |
|
20-Dec-1999 |
manoj |
Make building a little easier by not requiring a separate make of APR. |
b9e4a86f22b3e8666186b9fe08e9241cdaf50d26 84329 |
|
20-Dec-1999 |
manoj |
Eliminate the .h.stub files; AC_DEFINE can generate the necessary
#defines in the config header for us. |
98ae9e8a4fb9568fcaf37bf44e089e7e752ab902 84325 |
|
20-Dec-1999 |
manoj |
Make Apache's configure script run APR's. |
7abe86bacd7821fb83a784398037defc64060a2e 84225 |
|
05-Dec-1999 |
manoj |
autoconf: Start adding support for selecting modules on the
./configure line. This commit only supports mod_env and mod_log_config. |
06b6cb227bb560084b5f87b30fa0023440abf369 84223 |
|
05-Dec-1999 |
manoj |
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. |
0c9e5b4045874fe433fbe8c9888cdd37aae00704 84203 |
|
01-Dec-1999 |
manoj |
Fix a couple of comments |
bf9fb3f500df2694c521d4c7a7343c6e51557227 84202 |
|
01-Dec-1999 |
manoj |
Place ap_config_auto.h in src/include. It didn't seem to work earlier,
but it does now. *shrug* |
aa811cad2eb3fc01d17a5c8eba274b915ab8cd20 84200 |
|
01-Dec-1999 |
manoj |
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. |
8d6907fd72855909a91eadeba1b1f20ab6f23926 84193 |
|
30-Nov-1999 |
manoj |
Deal with times() properly in autoconf. This also changes NO_TIMES to
!HAVE_TIMES. |
eb8be08c80084a6c5aca0fbab2c1f2410b25db7d 84191 |
|
30-Nov-1999 |
manoj |
Some extra autoconf macros that might help us compile on "a POSIXized
ISC UNIX" or MINIX if someone ever tries to do it. |
96411d94cec07a9d927d7fcfaf28519747fc0881 84190 |
|
30-Nov-1999 |
manoj |
Fix a thinko. Apache's configure.in shouldn't attempt to create APR's
Makefile. |
22ad84685642948ad15cc1e881ecbc4ac8cbf98c 84187 |
|
30-Nov-1999 |
manoj |
The second part of the big autoconf patch, which actually adds autoconf
building to the tree. |