/[Apache-SVN]/httpd/httpd/trunk/configure.in
ViewVC logotype

Log of /httpd/httpd/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 832228 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 00:38:06 2009 UTC (3 weeks, 2 days ago) by trawick
File length: 24021 byte(s)
Diff to previous 819848 (colored)
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.

Revision 819848 - (view) (annotate) - [select for diffs]
Modified Tue Sep 29 07:34:33 2009 UTC (8 weeks, 1 day ago) by jfclere
File length: 24062 byte(s)
Diff to previous 808722 (colored)
Make sure that --enable-maintainer-mode increase warnings/errors level.

Revision 808722 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 01:27:46 2009 UTC (2 months, 4 weeks ago) by wrowe
File length: 23825 byte(s)
Diff to previous 807930 (colored)
Always make mod_*.h files available where they exist, modpath by modpath

Revision 807930 - (view) (annotate) - [select for diffs]
Modified Wed Aug 26 08:56:13 2009 UTC (3 months ago) by bjh
File length: 24115 byte(s)
Diff to previous 772848 (colored)
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution.

Revision 772848 - (view) (annotate) - [select for diffs]
Modified Fri May 8 05:46:28 2009 UTC (6 months, 2 weeks ago) by wrowe
File length: 23385 byte(s)
Diff to previous 766082 (colored)
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.

Revision 766082 - (view) (annotate) - [select for diffs]
Modified Fri Apr 17 16:59:48 2009 UTC (7 months, 1 week ago) by trawick
File length: 23354 byte(s)
Diff to previous 760403 (colored)
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


Revision 760403 - (view) (annotate) - [select for diffs]
Modified Tue Mar 31 11:34:49 2009 UTC (7 months, 3 weeks ago) by trawick
File length: 23472 byte(s)
Diff to previous 759115 (colored)
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

Revision 759115 - (view) (annotate) - [select for diffs]
Modified Fri Mar 27 12:35:33 2009 UTC (8 months ago) by trawick
File length: 23588 byte(s)
Diff to previous 758929 (colored)
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.

Revision 758929 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 23:47:52 2009 UTC (8 months ago) by trawick
File length: 24337 byte(s)
Diff to previous 758891 (colored)
remove OS/2 platform support

Revision 758891 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 22:23:44 2009 UTC (8 months ago) by trawick
File length: 25067 byte(s)
Diff to previous 758889 (colored)
remove BeOS OS support

Revision 758889 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 22:22:33 2009 UTC (8 months ago) by trawick
File length: 25329 byte(s)
Diff to previous 758177 (colored)
finish removing BeOS MPM

Revision 758177 - (view) (annotate) - [select for diffs]
Modified Wed Mar 25 08:43:28 2009 UTC (8 months ago) by jorton
File length: 25366 byte(s)
Diff to previous 757898 (colored)
* configure.in: Allow configure to be built without find_apu.m4,
  at least temporarily to allow buildconf against apr trunk.

Revision 757898 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 16:46:43 2009 UTC (8 months ago) by trawick
File length: 25205 byte(s)
Diff to previous 757853 (colored)
fix shell syntax error in check for apr major version

on OS X:

  acceptable_majors=""1 2""


Revision 757853 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 15:43:59 2009 UTC (8 months ago) by trawick
File length: 25207 byte(s)
Diff to previous 757817 (colored)
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

Revision 757817 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 14:20:10 2009 UTC (8 months ago) by jorton
File length: 25255 byte(s)
Diff to previous 749375 (colored)
* configure.in: If APR version is 2, APR-util does not exist.

Revision 749375 - (view) (annotate) - [select for diffs]
Modified Mon Mar 2 17:40:33 2009 UTC (8 months, 3 weeks ago) by trawick
File length: 25034 byte(s)
Diff to previous 735556 (colored)
improve acceptance of APR/APR-Util trunk/2.0-dev

Revision 735556 - (view) (annotate) - [select for diffs]
Modified Sun Jan 18 22:05:27 2009 UTC (10 months, 1 week ago) by covener
File length: 25069 byte(s)
Diff to previous 731058 (colored)
Allow --with-included-apr to pick up APR trunk/2.x

Revision 731058 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 18:02:36 2009 UTC (10 months, 3 weeks ago) by jerenkrantz
File length: 24843 byte(s)
Diff to previous 730984 (colored)
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.

Revision 730984 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 13:37:05 2009 UTC (10 months, 3 weeks ago) by rjung
File length: 24788 byte(s)
Diff to previous 730882 (colored)
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.

Revision 730882 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 01:01:56 2009 UTC (10 months, 3 weeks ago) by rjung
File length: 24734 byte(s)
Diff to previous 730881 (colored)
Only link libhttpd against pcre.

Revision 730881 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 00:58:11 2009 UTC (10 months, 3 weeks ago) by rjung
File length: 24689 byte(s)
Diff to previous 723565 (colored)
We need to link only ab against libm (because of
sqrt()).

Revision 723565 - (view) (annotate) - [select for diffs]
Modified Fri Dec 5 03:34:52 2008 UTC (11 months, 3 weeks ago) by pquerna
File length: 24559 byte(s)
Diff to previous 721796 (colored)
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>

Revision 721796 - (view) (annotate) - [select for diffs]
Modified Sun Nov 30 11:23:26 2008 UTC (11 months, 3 weeks ago) by rpluem
File length: 23837 byte(s)
Diff to previous 721533 (colored)
* Enable the use of autoconf >= 2.62 without causing APR / APR-UTIL options
  passed to the configure script issue warnings about unknown options.

Revision 721533 - (view) (annotate) - [select for diffs]
Modified Fri Nov 28 16:51:07 2008 UTC (11 months, 3 weeks ago) by jorton
File length: 23274 byte(s)
Diff to previous 721020 (colored)
* buildconf, configure.in: Don't attempt to configure the
  no-longer-bundled pcre.

Revision 721020 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 22:53:34 2008 UTC (11 months, 4 weeks ago) by pquerna
File length: 23295 byte(s)
Diff to previous 710001 (colored)
Stop bundling PCRE in trunk.

Revision 710001 - (view) (annotate) - [select for diffs]
Modified Mon Nov 3 03:08:35 2008 UTC (12 months, 3 weeks ago) by pquerna
File length: 23758 byte(s)
Diff to previous 670003 (colored)
Bump trunk to require apr-util >=1.3.x, since we already require apr >=1.3.x.

Revision 670003 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 17:33:15 2008 UTC (17 months ago) by wrowe
File length: 23758 byte(s)
Diff to previous 669919 (colored)
Adopt conditional handling for the new AC_USE_SYSTEM_EXTENSIONS as of 2.60.

Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>


Revision 669919 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 14:49:08 2008 UTC (17 months ago) by wrowe
File length: 23697 byte(s)
Diff to previous 663663 (colored)
AC_USE_SYSTEM_EXTENSIONS encompases _MINIX and _AIX and
silences autoconf 2.62

Revision 663663 - (view) (annotate) - [select for diffs]
Modified Thu Jun 5 17:12:22 2008 UTC (17 months, 3 weeks ago) by wrowe
File length: 23688 byte(s)
Diff to previous 659160 (colored)
For *trunk/* development, presume at least apr-1.3 (now released) for
seperation of ldap link options.

Revision 659160 - (view) (annotate) - [select for diffs]
Modified Thu May 22 17:01:14 2008 UTC (18 months ago) by chrisd
File length: 23655 byte(s)
Diff to previous 657459 (colored)
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!

Revision 657459 - (view) (annotate) - [select for diffs]
Modified Sat May 17 20:47:03 2008 UTC (18 months, 1 week ago) by niq
File length: 23626 byte(s)
Diff to previous 657354 (colored)
Revert unintentional changes in r657354

Revision 657354 - (view) (annotate) - [select for diffs]
Modified Sat May 17 13:34:58 2008 UTC (18 months, 1 week ago) by niq
File length: 23612 byte(s)
Diff to previous 644746 (colored)
configure: Don't reject libtool 2.x
PR 44817

Revision 644746 - (view) (annotate) - [select for diffs]
Modified Fri Apr 4 15:58:15 2008 UTC (19 months, 3 weeks ago) by minfrin
File length: 23606 byte(s)
Diff to previous 606316 (colored)
mod_session: Add a generic session interface to unify the different
attempts at saving persistent sessions across requests.

Revision 606316 - (view) (annotate) - [select for diffs]
Modified Fri Dec 21 20:59:03 2007 UTC (23 months ago) by fuankg
File length: 23573 byte(s)
Diff to previous 582069 (colored)
Enabled to configure the https port as we do with http port too.

Revision 582069 - (view) (annotate) - [select for diffs]
Modified Fri Oct 5 03:36:45 2007 UTC (2 years, 1 month ago) by wrowe
File length: 23291 byte(s)
Diff to previous 555458 (colored)
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).

Revision 555458 - (view) (annotate) - [select for diffs]
Modified Thu Jul 12 02:06:01 2007 UTC (2 years, 4 months ago) by pquerna
File length: 23291 byte(s)
Diff to previous 551843 (colored)
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.

Revision 551843 - (view) (annotate) - [select for diffs]
Modified Fri Jun 29 10:33:14 2007 UTC (2 years, 4 months ago) by jorton
File length: 23215 byte(s)
Diff to previous 494781 (colored)
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.

Revision 494781 - (view) (annotate) - [select for diffs]
Modified Wed Jan 10 10:50:35 2007 UTC (2 years, 10 months ago) by jorton
File length: 23207 byte(s)
Diff to previous 492510 (colored)
* 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

Revision 492510 - (view) (annotate) - [select for diffs]
Modified Thu Jan 4 10:33:45 2007 UTC (2 years, 10 months ago) by jorton
File length: 23161 byte(s)
Diff to previous 422201 (colored)
* configure.in: Bump autoconf version requirement (matching APR).

Revision 422201 - (view) (annotate) - [select for diffs]
Modified Sat Jul 15 10:01:33 2006 UTC (3 years, 4 months ago) by pquerna
File length: 23161 byte(s)
Diff to previous 422197 (colored)
Disable the getpwnam and getgrnam functions, since they aren't available on win32.

Revision 422197 - (view) (annotate) - [select for diffs]
Modified Sat Jul 15 09:47:11 2006 UTC (3 years, 4 months ago) by pquerna
File length: 23067 byte(s)
Diff to previous 422182 (colored)
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.

Revision 422182 - (view) (annotate) - [select for diffs]
Modified Sat Jul 15 09:03:52 2006 UTC (3 years, 4 months ago) by pquerna
File length: 23023 byte(s)
Diff to previous 410828 (colored)
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

Revision 410828 - (view) (annotate) - [select for diffs]
Modified Thu Jun 1 10:45:06 2006 UTC (3 years, 5 months ago) by jorton
File length: 22914 byte(s)
Diff to previous 410047 (colored)
* configure.in: Use common variables for the required APR/APR-util
version.

Revision 410047 - (view) (annotate) - [select for diffs]
Modified Mon May 29 07:48:19 2006 UTC (3 years, 5 months ago) by martin
File length: 22769 byte(s)
Diff to previous 395211 (colored)
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

Revision 395211 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 10:57:20 2006 UTC (3 years, 7 months ago) by jorton
File length: 22765 byte(s)
Diff to previous 356234 (colored)
* configure.in: Add --with-included-apr flag to force use of the
bundled copies of APR and APR-util.

Revision 356234 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 10:10:33 2005 UTC (3 years, 11 months ago) by jorton
File length: 22401 byte(s)
Diff to previous 328852 (colored)
* 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.

Revision 328852 - (view) (annotate) - [select for diffs]
Modified Thu Oct 27 10:40:59 2005 UTC (4 years, 1 month ago) by jorton
File length: 22555 byte(s)
Diff to previous 328641 (colored)
* 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.

Revision 328641 - (view) (annotate) - [select for diffs]
Modified Wed Oct 26 12:33:16 2005 UTC (4 years, 1 month ago) by jorton
File length: 22415 byte(s)
Diff to previous 321489 (colored)
* configure.in: Require apr >= 1.2.0 and apr-util >= 1.2.0.

Revision 321489 - (view) (annotate) - [select for diffs]
Modified Sat Oct 15 20:51:05 2005 UTC (4 years, 1 month ago) by nd
File length: 22220 byte(s)
Diff to previous 295113 (colored)
make mod_dbd.h available for all who need it

Revision 295113 - (view) (annotate) - [select for diffs]
Modified Wed Oct 5 20:46:18 2005 UTC (4 years, 1 month ago) by colm
File length: 22186 byte(s)
Diff to previous 294809 (colored)
Move the AC_TRY_RUN expansion much further down, after we have had a chance to
initialise the compile-environment for all platforms. 

Revision 294809 - (view) (annotate) - [select for diffs]
Modified Tue Oct 4 16:18:24 2005 UTC (4 years, 1 month ago) by colm
File length: 22186 byte(s)
Diff to previous 292718 (colored)
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. 

Revision 292718 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 13:01:39 2005 UTC (4 years, 1 month ago) by jerenkrantz
File length: 22087 byte(s)
Diff to previous 239430 (colored)
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)

Revision 239430 - (view) (annotate) - [select for diffs]
Modified Tue Aug 23 16:41:17 2005 UTC (4 years, 3 months ago) by colm
File length: 22060 byte(s)
Diff to previous 190396 (colored)
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.


Revision 190396 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 13:19:42 2005 UTC (4 years, 5 months ago) by jorton
File length: 22655 byte(s)
Diff to previous 190392 (colored)
* 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.

Revision 190392 - (view) (annotate) - [select for diffs]
Modified Mon Jun 13 12:49:58 2005 UTC (4 years, 5 months ago) by jorton
File length: 22472 byte(s)
Diff to previous 170029 (colored)
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

Revision 170029 - (view) (annotate) - [select for diffs]
Modified Fri May 13 14:44:21 2005 UTC (4 years, 6 months ago) by jorton
File length: 22448 byte(s)
Diff to previous 160696 (colored)
* configure.in: Disallow use of bundled APR with external APR-util, or
bundled APR-util with external APR, another cause of the dreaded
PR21718.

Revision 160696 - (view) (annotate) - [select for diffs]
Modified Sat Apr 9 16:59:15 2005 UTC (4 years, 7 months ago) by slive
File length: 22194 byte(s)
Diff to previous 153400 (colored)
Merged the simple-conf branch changes r159781:160695 into the trunk.

Revision 153400 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 14:08:24 2005 UTC (4 years, 9 months ago) by jorton
File length: 21838 byte(s)
Diff to previous 153384 (colored)
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

Revision 153384 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 12:00:41 2005 UTC (4 years, 9 months ago) by jorton
File length: 21051 byte(s)
Diff to previous 126362 (colored)
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

Revision 126362 - (view) (annotate) - [select for diffs]
Modified Tue Jan 25 10:17:51 2005 UTC (4 years, 10 months ago) by jorton
File length: 21000 byte(s)
Diff to previous 125087 (colored)
* 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

Revision 125087 - (view) (annotate) - [select for diffs]
Modified Thu Jan 13 18:36:23 2005 UTC (4 years, 10 months ago) by jerenkrantz
File length: 20224 byte(s)
Diff to previous 124104 (colored)
Fix VPATH errors introduced in r124104.

* configure.in: Use correct source path to get-version.sh and include/ dir.

Revision 124104 - (view) (annotate) - [select for diffs]
Modified Tue Jan 4 13:38:11 2005 UTC (4 years, 10 months ago) by minfrin
File length: 20200 byte(s)
Diff to previous 122967 (colored)
Add a build script to create a solaris package.

Revision 122967 - (view) (annotate) - [select for diffs]
Modified Tue Dec 21 12:52:17 2004 UTC (4 years, 11 months ago) by bjh
File length: 20039 byte(s)
Diff to previous 106103 (colored)
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.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 20039 byte(s)
Diff to previous 105230 (colored)
general property cleanup

Revision 105230 - (view) (annotate) - [select for diffs]
Modified Tue Sep 21 20:04:51 2004 UTC (5 years, 2 months ago) by jorton
File length: 20039 byte(s)
Diff to previous 105210 (colored)
* configure.in: Only export CC and CPP if a cache file is not
specified.

Revision 105210 - (view) (annotate) - [select for diffs]
Modified Mon Sep 20 12:12:01 2004 UTC (5 years, 2 months ago) by jorton
File length: 19983 byte(s)
Diff to previous 105003 (colored)
* 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).

Revision 105003 - (view) (annotate) - [select for diffs]
Modified Sun Sep 5 14:10:58 2004 UTC (5 years, 2 months ago) by pquerna
File length: 19823 byte(s)
Diff to previous 104936 (colored)
Echo a warning from configure if you select an
experimental MPM.
Reviewed by: Jeff Trawick

Revision 104936 - (view) (annotate) - [select for diffs]
Modified Thu Sep 2 17:29:13 2004 UTC (5 years, 2 months ago) by jorton
File length: 19075 byte(s)
Diff to previous 104647 (colored)
* configure.in: Only build against APR 1.x.

Revision 104647 - (view) (annotate) - [select for diffs]
Modified Fri Aug 13 12:35:47 2004 UTC (5 years, 3 months ago) by jorton
File length: 19069 byte(s)
Diff to previous 104642 (colored)
* configure.in: Ensure that apr and apr-util exported include
directories are later than local source directories in INCLUDES.

PR: 18959

Revision 104642 - (view) (annotate) - [select for diffs]
Modified Fri Aug 13 11:18:33 2004 UTC (5 years, 3 months ago) by jorton
File length: 18919 byte(s)
Diff to previous 104641 (colored)
* 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.

Revision 104641 - (view) (annotate) - [select for diffs]
Modified Fri Aug 13 09:38:11 2004 UTC (5 years, 3 months ago) by jorton
File length: 18870 byte(s)
Diff to previous 104443 (colored)
* 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.

Revision 104443 - (view) (annotate) - [select for diffs]
Modified Mon Aug 2 02:38:16 2004 UTC (5 years, 3 months ago) by jerenkrantz
File length: 18720 byte(s)
Diff to previous 104329 (colored)
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.)

Revision 104329 - (view) (annotate) - [select for diffs]
Modified Mon Jul 19 04:27:13 2004 UTC (5 years, 4 months ago) by jerenkrantz
File length: 18648 byte(s)
Diff to previous 103849 (colored)
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

Revision 103849 - (view) (annotate) - [select for diffs]
Modified Fri Jun 4 22:40:47 2004 UTC (5 years, 5 months ago) by nd
File length: 18612 byte(s)
Diff to previous 103029 (colored)
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

Revision 103029 - (view) (annotate) - [select for diffs]
Modified Fri Mar 19 11:16:03 2004 UTC (5 years, 8 months ago) by trawick
File length: 18579 byte(s)
Diff to previous 102530 (colored)
  *) 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)

Revision 102530 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 00:27:36 2004 UTC (5 years, 9 months ago) by jorton
File length: 18346 byte(s)
Diff to previous 102406 (colored)
* configure.in: Remove long since unnecessary endianness checks.

Revision 102406 - (view) (annotate) - [select for diffs]
Modified Mon Jan 26 09:18:36 2004 UTC (5 years, 10 months ago) by jorton
File length: 18526 byte(s)
Diff to previous 102146 (colored)
* configure.in: Remove unnecessary $builddir/server/mpm/$mpm and
$srcdir from INCLUDES.  Remove unused USE_VPATH variable.

Revision 102146 - (view) (annotate) - [select for diffs]
Modified Fri Jan 2 23:42:47 2004 UTC (5 years, 10 months ago) by jorton
File length: 18603 byte(s)
Diff to previous 101899 (colored)
* configure.in: Check for sqrt in libm (needed by ab).

Revision 101899 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 03:45:34 2003 UTC (6 years ago) by trawick
File length: 18579 byte(s)
Diff to previous 101337 (colored)
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

Revision 101337 - (view) (annotate) - [select for diffs]
Modified Sun Sep 28 16:27:24 2003 UTC (6 years, 1 month ago) by jwoolley
File length: 18358 byte(s)
Diff to previous 100724 (colored)
"Listen 80" just works now, using v4-only, v6-only, mapped address
or non-mapped address.

Submitted by:	Colm MacCarthaigh <colm@stdlib.net>

Revision 100724 - (view) (annotate) - [select for diffs]
Modified Mon Jul 21 14:48:02 2003 UTC (6 years, 4 months ago) by jorton
File length: 18603 byte(s)
Diff to previous 100540 (colored)
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.

Revision 100540 - (view) (annotate) - [select for diffs]
Modified Thu Jul 10 19:29:24 2003 UTC (6 years, 4 months ago) by jorton
File length: 18567 byte(s)
Diff to previous 99926 (colored)
Use three-argument form of AC_DEFINE everywhere; remove acconfig.h
and the warning message from autoconf 2.5x.

Revision 99926 - (view) (annotate) - [select for diffs]
Modified Mon May 19 16:10:14 2003 UTC (6 years, 6 months ago) by wsanchez
File length: 18519 byte(s)
Diff to previous 99861 (colored)
Play nice with libtool 1.5.

Revision 99861 - (view) (annotate) - [select for diffs]
Modified Fri May 16 16:01:11 2003 UTC (6 years, 6 months ago) by wrowe
File length: 18514 byte(s)
Diff to previous 99719 (colored)
  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.

Revision 99719 - (view) (annotate) - [select for diffs]
Modified Mon May 5 13:12:28 2003 UTC (6 years, 6 months ago) by thommay
File length: 18831 byte(s)
Diff to previous 99572 (colored)
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

Revision 99572 - (view) (annotate) - [select for diffs]
Modified Thu Apr 24 13:19:00 2003 UTC (6 years, 7 months ago) by trawick
File length: 18808 byte(s)
Diff to previous 99257 (colored)
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.

Revision 99257 - (view) (annotate) - [select for diffs]
Modified Sat Apr 5 21:46:40 2003 UTC (6 years, 7 months ago) by jerenkrantz
File length: 18521 byte(s)
Diff to previous 99188 (colored)
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.

Revision 99188 - (view) (annotate) - [select for diffs]
Modified Thu Apr 3 11:52:08 2003 UTC (6 years, 7 months ago) by trawick
File length: 18996 byte(s)
Diff to previous 98947 (colored)
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

Revision 98947 - (view) (annotate) - [select for diffs]
Modified Sat Mar 8 13:54:41 2003 UTC (6 years, 8 months ago) by trawick
File length: 18341 byte(s)
Diff to previous 98908 (colored)
use APR_CHECK_APR_DEFINE() where possible

Revision 98908 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 21:48:58 2003 UTC (6 years, 8 months ago) by gregames
File length: 18537 byte(s)
Diff to previous 98685 (colored)
Linux 2.4+: enable coredumps when Apache is started as root if
            CoreDumpDirectory is explicitly coded

Revision 98685 - (view) (annotate) - [select for diffs]
Modified Mon Feb 17 02:32:20 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 18515 byte(s)
Diff to previous 98684 (colored)
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

Revision 98684 - (view) (annotate) - [select for diffs]
Modified Mon Feb 17 01:04:40 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 18472 byte(s)
Diff to previous 98675 (colored)
Remove files on 'make distclean' that should be.

PR: 15592

Revision 98675 - (view) (annotate) - [select for diffs]
Modified Sat Feb 15 17:56:01 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 18542 byte(s)
Diff to previous 98674 (colored)
Use correct quoting mechanism for APR_SUBDIR_CONFIG.

Revision 98674 - (view) (annotate) - [select for diffs]
Modified Sat Feb 15 17:51:44 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 18542 byte(s)
Diff to previous 98595 (colored)
Allow apachectl to perform status with links and elinks as well if lynx is
not available.

Revision 98595 - (view) (annotate) - [select for diffs]
Modified Fri Feb 7 20:28:41 2003 UTC (6 years, 9 months ago) by trawick
File length: 18488 byte(s)
Diff to previous 98546 (colored)
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)

Revision 98546 - (view) (annotate) - [select for diffs]
Modified Thu Jan 30 16:50:11 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 18539 byte(s)
Diff to previous 98035 (colored)
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)

Revision 98035 - (view) (annotate) - [select for diffs]
Modified Thu Dec 19 05:28:16 2002 UTC (6 years, 11 months ago) by jerenkrantz
File length: 18661 byte(s)
Diff to previous 97793 (colored)
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.)

Revision 97793 - (view) (annotate) - [select for diffs]
Modified Sat Dec 7 06:04:43 2002 UTC (6 years, 11 months ago) by wsanchez
File length: 18586 byte(s)
Diff to previous 97674 (colored)
Take apr include dir from beginning, not end of list given by apu-config.
Submitted by: Brian Havard

Revision 97674 - (view) (annotate) - [select for diffs]
Modified Fri Nov 29 07:34:20 2002 UTC (6 years, 11 months ago) by wsanchez
File length: 18586 byte(s)
Diff to previous 97673 (colored)
Find apr, apr-util automatically if no --with-apr{-util} flag, same as other libs.

Revision 97673 - (view) (annotate) - [select for diffs]
Modified Fri Nov 29 07:23:57 2002 UTC (6 years, 11 months ago) by wsanchez
File length: 18580 byte(s)
Diff to previous 97671 (colored)
  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.

Revision 97671 - (view) (annotate) - [select for diffs]
Modified Thu Nov 28 23:31:37 2002 UTC (6 years, 11 months ago) by wsanchez
File length: 18412 byte(s)
Diff to previous 97670 (colored)
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.

Revision 97670 - (view) (annotate) - [select for diffs]
Modified Thu Nov 28 23:13:41 2002 UTC (6 years, 11 months ago) by wsanchez
File length: 18423 byte(s)
Diff to previous 97516 (colored)
Don't include apr_network.m4 and apr_threads.m4; we don't use them.

Revision 97516 - (view) (annotate) - [select for diffs]
Modified Thu Nov 14 14:17:11 2002 UTC (7 years ago) by trawick
File length: 18507 byte(s)
Diff to previous 96905 (colored)
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

Revision 96905 - (view) (annotate) - [select for diffs]
Modified Thu Sep 19 05:43:16 2002 UTC (7 years, 2 months ago) by jerenkrantz
File length: 17527 byte(s)
Diff to previous 96587 (colored)
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.)

Revision 96587 - (view) (annotate) - [select for diffs]
Modified Fri Aug 30 15:16:11 2002 UTC (7 years, 2 months ago) by gregames
File length: 17459 byte(s)
Diff to previous 96441 (colored)
OS/390: re-instate support for single listen unserialized accept

Reported by:  Marcel_Schmidt at swissre dot com

Revision 96441 - (view) (annotate) - [select for diffs]
Modified Mon Aug 19 07:33:45 2002 UTC (7 years, 3 months ago) by jerenkrantz
File length: 17382 byte(s)
Diff to previous 96079 (colored)
Use APR_PARSE_ARGUMENTS instead of APACHE_PARSE_ARGUMENTS

Submitted by:	Thom May <thom@planetarytramp.net>
Reviewed by:	Justin Erenkrantz

Revision 96079 - (view) (annotate) - [select for diffs]
Modified Tue Jul 16 14:42:35 2002 UTC (7 years, 4 months ago) by trawick
File length: 17385 byte(s)
Diff to previous 96034 (colored)
AIX: Apache is slightly faster with this malloc setting

Revision 96034 - (view) (annotate) - [select for diffs]
Modified Fri Jul 12 17:34:04 2002 UTC (7 years, 4 months ago) by trawick
File length: 17276 byte(s)
Diff to previous 95953 (colored)
set some environment variables on AIX that improve Apache performance
on SMP machines...  no difference was seen on single CPU machines

Revision 95953 - (view) (annotate) - [select for diffs]
Modified Thu Jul 4 15:08:40 2002 UTC (7 years, 4 months ago) by striker
File length: 16791 byte(s)
Diff to previous 95708 (colored)
Make the mime types configuration file path relative to {sysconfdir},
just like the other config files.

Revision 95708 - (view) (annotate) - [select for diffs]
Modified Sat Jun 15 21:48:53 2002 UTC (7 years, 5 months ago) by dreid
File length: 16636 byte(s)
Diff to previous 95677 (colored)
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.

Revision 95677 - (view) (annotate) - [select for diffs]
Modified Fri Jun 14 17:49:28 2002 UTC (7 years, 5 months ago) by trawick
File length: 16473 byte(s)
Diff to previous 95673 (colored)
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

Revision 95673 - (view) (annotate) - [select for diffs]
Modified Fri Jun 14 16:38:07 2002 UTC (7 years, 5 months ago) by trawick
File length: 16473 byte(s)
Diff to previous 95543 (colored)
AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
These levels of AIX don't have a thundering herd problem with
accept().

Revision 95543 - (view) (annotate) - [select for diffs]
Modified Thu Jun 6 06:42:09 2002 UTC (7 years, 5 months ago) by jerenkrantz
File length: 16285 byte(s)
Diff to previous 95118 (colored)
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)

Revision 95118 - (view) (annotate) - [select for diffs]
Modified Wed May 15 17:38:46 2002 UTC (7 years, 6 months ago) by trawick
File length: 16151 byte(s)
Diff to previous 95082 (colored)
get APR to tell us the name of the shared library path variable

Revision 95082 - (view) (annotate) - [select for diffs]
Modified Tue May 14 07:51:52 2002 UTC (7 years, 6 months ago) by jerenkrantz
File length: 16106 byte(s)
Diff to previous 95072 (colored)
Remove APACHE_MKDIR_P_CHECK in favor of new APR_MKDIR_P_CHECK.

Revision 95072 - (view) (annotate) - [select for diffs]
Modified Mon May 13 22:30:02 2002 UTC (7 years, 6 months ago) by jerenkrantz
File length: 16081 byte(s)
Diff to previous 95071 (colored)
Instead of using the hardcoded libtool path of srclib/apr, use the
output of apr-config --apr-libtool.

Revision 95071 - (view) (annotate) - [select for diffs]
Modified Mon May 13 21:23:29 2002 UTC (7 years, 6 months ago) by jerenkrantz
File length: 16088 byte(s)
Diff to previous 95061 (colored)
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.

Revision 95061 - (view) (annotate) - [select for diffs]
Modified Mon May 13 08:39:30 2002 UTC (7 years, 6 months ago) by jerenkrantz
File length: 16277 byte(s)
Diff to previous 94697 (colored)
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.)

Revision 94697 - (view) (annotate) - [select for diffs]
Modified Thu Apr 18 09:01:31 2002 UTC (7 years, 7 months ago) by jerenkrantz
File length: 15911 byte(s)
Diff to previous 94614 (colored)
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

Revision 94614 - (view) (annotate) - [select for diffs]
Modified Fri Apr 12 03:37:01 2002 UTC (7 years, 7 months ago) by brianp
File length: 15783 byte(s)
Diff to previous 94513 (colored)
Added support for MPMs that live in subdirectories under server/mpm
like server/mpm/experimental/*

Revision 94513 - (view) (annotate) - [select for diffs]
Modified Sun Apr 7 01:51:42 2002 UTC (7 years, 7 months ago) by aaron
File length: 15762 byte(s)
Diff to previous 94432 (colored)
Pass the --includedir flag to the apr and apr-util configure calls.

Submitted by:	Pier Fumagalli <pier@betaversion.org>
Reviewed by:	Aaron Bannert

Revision 94432 - (view) (annotate) - [select for diffs]
Modified Thu Apr 4 12:51:58 2002 UTC (7 years, 7 months ago) by trawick
File length: 15687 byte(s)
Diff to previous 94431 (colored)
AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
     environment variables in the envvars file.

Revision 94431 - (view) (annotate) - [select for diffs]
Modified Thu Apr 4 09:15:44 2002 UTC (7 years, 7 months ago) by striker
File length: 15695 byte(s)
Diff to previous 94108 (colored)
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>

Revision 94108 - (view) (annotate) - [select for diffs]
Modified Thu Mar 21 19:40:06 2002 UTC (7 years, 8 months ago) by aaron
File length: 15643 byte(s)
Diff to previous 93963 (colored)
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.

Revision 93963 - (view) (annotate) - [select for diffs]
Modified Sat Mar 16 06:35:11 2002 UTC (7 years, 8 months ago) by ianh
File length: 15658 byte(s)
Diff to previous 93816 (colored)
Solaris 8 doesn't have a thundering herd problem
according to the sun experts

Revision 93816 - (view) (annotate) - [select for diffs]
Modified Sat Mar 9 19:29:18 2002 UTC (7 years, 8 months ago) by jerenkrantz
File length: 15393 byte(s)
Diff to previous 93798 (colored)
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.

Revision 93798 - (view) (annotate) - [select for diffs]
Modified Fri Mar 8 18:00:40 2002 UTC (7 years, 8 months ago) by aaron
File length: 15334 byte(s)
Diff to previous 93743 (colored)
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

Revision 93743 - (view) (annotate) - [select for diffs]
Modified Thu Mar 7 00:23:30 2002 UTC (7 years, 8 months ago) by trawick
File length: 15274 byte(s)
Diff to previous 93738 (colored)
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

Revision 93738 - (view) (annotate) - [select for diffs]
Modified Wed Mar 6 18:48:22 2002 UTC (7 years, 8 months ago) by aaron
File length: 15274 byte(s)
Diff to previous 93639 (colored)
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

Revision 93639 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 15:44:43 2002 UTC (7 years, 8 months ago) by aaron
File length: 15502 byte(s)
Diff to previous 93622 (colored)
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

Revision 93622 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 02:56:15 2002 UTC (7 years, 8 months ago) by aaron
File length: 15275 byte(s)
Diff to previous 93618 (colored)
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.

Revision 93618 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 01:38:11 2002 UTC (7 years, 8 months ago) by aaron
File length: 15178 byte(s)
Diff to previous 93605 (colored)
Fix a typo in the default cgidir variable.
Set a couple more defaults if they haven't already been set, just
as a precaution.

Revision 93605 - (view) (annotate) - [select for diffs]
Modified Wed Feb 27 19:40:27 2002 UTC (7 years, 8 months ago) by aaron
File length: 15469 byte(s)
Diff to previous 93598 (colored)
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.

Revision 93598 - (view) (annotate) - [select for diffs]
Modified Wed Feb 27 17:06:33 2002 UTC (7 years, 8 months ago) by aaron
File length: 15444 byte(s)
Diff to previous 93172 (colored)
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

Revision 93172 - (view) (annotate) - [select for diffs]
Modified Fri Feb 1 23:22:29 2002 UTC (7 years, 9 months ago) by gstein
File length: 14926 byte(s)
Diff to previous 93129 (colored)
Fix the AC_OUTPUT() macro for the BSD users.

Submitted by: Zack Weinberg <zack@codesourcery.com>

Revision 93129 - (view) (annotate) - [select for diffs]
Modified Thu Jan 31 14:51:37 2002 UTC (7 years, 9 months ago) by martin
File length: 14920 byte(s)
Diff to previous 92924 (colored)
Check for timegm() and for tm_gmtoff in struct tm.
These are used for the USE_MDTM case in proxy_ftp.

Revision 92924 - (view) (annotate) - [select for diffs]
Modified Sat Jan 19 05:11:04 2002 UTC (7 years, 10 months ago) by ianh
File length: 14537 byte(s)
Diff to previous 92907 (colored)
new var.
APRUTIL_LDFLAGS

Revision 92907 - (view) (annotate) - [select for diffs]
Modified Fri Jan 18 18:16:54 2002 UTC (7 years, 10 months ago) by jerenkrantz
File length: 14500 byte(s)
Diff to previous 92663 (colored)
Per Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment.

Revision 92663 - (view) (annotate) - [select for diffs]
Modified Sun Dec 30 14:05:55 2001 UTC (7 years, 10 months ago) by bjh
File length: 14454 byte(s)
Diff to previous 92613 (colored)
OS/2: Supply the configured libraries to the linker when building loadable
modules. This allows things like mod_deflate to build (needs -lz).

Revision 92613 - (view) (annotate) - [select for diffs]
Modified Thu Dec 27 02:18:58 2001 UTC (7 years, 11 months ago) by aaron
File length: 14425 byte(s)
Diff to previous 92565 (colored)
This old variable does not appear to be in use any longer.

Revision 92565 - (view) (annotate) - [select for diffs]
Modified Fri Dec 21 16:18:02 2001 UTC (7 years, 11 months ago) by trawick
File length: 14595 byte(s)
Diff to previous 92538 (colored)
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.

Revision 92538 - (view) (annotate) - [select for diffs]
Modified Wed Dec 19 20:19:25 2001 UTC (7 years, 11 months ago) by trawick
File length: 14531 byte(s)
Diff to previous 92501 (colored)
fix the value of the _CEE_RUNOPTS envvar on OS/390

Revision 92501 - (view) (annotate) - [select for diffs]
Modified Mon Dec 17 18:48:19 2001 UTC (7 years, 11 months ago) by trawick
File length: 14533 byte(s)
Diff to previous 92490 (colored)
AIX: don't set LDR_CNTRL environment variable for 64-bit build

Revision 92490 - (view) (annotate) - [select for diffs]
Modified Sat Dec 15 13:56:36 2001 UTC (7 years, 11 months ago) by trawick
File length: 14359 byte(s)
Diff to previous 92435 (colored)
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.

Revision 92435 - (view) (annotate) - [select for diffs]
Modified Wed Dec 12 19:39:55 2001 UTC (7 years, 11 months ago) by trawick
File length: 13897 byte(s)
Diff to previous 92343 (colored)
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

Revision 92343 - (view) (annotate) - [select for diffs]
Modified Wed Dec 5 17:32:52 2001 UTC (7 years, 11 months ago) by trawick
File length: 13991 byte(s)
Diff to previous 92299 (colored)
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

Revision 92299 - (view) (annotate) - [select for diffs]
Modified Mon Dec 3 18:00:04 2001 UTC (7 years, 11 months ago) by gregames
File length: 13815 byte(s)
Diff to previous 92276 (colored)
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.

Revision 92276 - (view) (annotate) - [select for diffs]
Modified Sat Dec 1 17:42:18 2001 UTC (7 years, 11 months ago) by trawick
File length: 13787 byte(s)
Diff to previous 92134 (colored)
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)

Revision 92134 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 20:29:11 2001 UTC (8 years ago) by aaron
File length: 13848 byte(s)
Diff to previous 91486 (colored)
Allow SUEXEC_BIN to be defined by the configure script.

Revision 91486 - (view) (annotate) - [select for diffs]
Modified Tue Oct 16 05:18:39 2001 UTC (8 years, 1 month ago) by rbb
File length: 13686 byte(s)
Diff to previous 91471 (colored)
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.

Revision 91471 - (view) (annotate) - [select for diffs]
Modified Mon Oct 15 17:28:01 2001 UTC (8 years, 1 month ago) by rbb
File length: 13624 byte(s)
Diff to previous 91211 (colored)
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

Revision 91211 - (view) (annotate) - [select for diffs]
Modified Sun Sep 30 07:57:15 2001 UTC (8 years, 1 month ago) by jerenkrantz
File length: 13620 byte(s)
Diff to previous 91142 (colored)
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.

Revision 91142 - (view) (annotate) - [select for diffs]
Modified Tue Sep 25 15:58:52 2001 UTC (8 years, 2 months ago) by rbb
File length: 13476 byte(s)
Diff to previous 91102 (colored)
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.

Revision 91102 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 14:57:43 2001 UTC (8 years, 2 months ago) by jerenkrantz
File length: 13476 byte(s)
Diff to previous 91076 (colored)
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.

Revision 91076 - (view) (annotate) - [select for diffs]
Modified Tue Sep 18 22:13:59 2001 UTC (8 years, 2 months ago) by jerenkrantz
File length: 13212 byte(s)
Diff to previous 91033 (colored)
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.

Revision 91033 - (view) (annotate) - [select for diffs]
Modified Sat Sep 15 11:44:55 2001 UTC (8 years, 2 months ago) by bjh
File length: 12867 byte(s)
Diff to previous 91012 (colored)
Fix test for ltconfig, m4 processing removes the square brackets.
(I just happened to notice "-f: not found" while running configure)

Revision 91012 - (view) (annotate) - [select for diffs]
Modified Wed Sep 12 19:31:12 2001 UTC (8 years, 2 months ago) by rbb
File length: 12866 byte(s)
Diff to previous 90902 (colored)
Remove an error during configure.  Libtool 1.4 doesn't have ltconfig.

Revision 90902 - (view) (annotate) - [select for diffs]
Modified Wed Sep 5 16:40:35 2001 UTC (8 years, 2 months ago) by trawick
File length: 12820 byte(s)
Diff to previous 90876 (colored)
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

Revision 90876 - (view) (annotate) - [select for diffs]
Modified Mon Sep 3 03:07:42 2001 UTC (8 years, 2 months ago) by rbb
File length: 12576 byte(s)
Diff to previous 90805 (colored)
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

Revision 90805 - (view) (annotate) - [select for diffs]
Modified Thu Aug 30 05:52:25 2001 UTC (8 years, 2 months ago) by wrowe
File length: 12531 byte(s)
Diff to previous 90715 (colored)
  * 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>

Revision 90715 - (view) (annotate) - [select for diffs]
Modified Mon Aug 27 04:47:17 2001 UTC (8 years, 3 months ago) by jerenkrantz
File length: 12413 byte(s)
Diff to previous 90488 (colored)
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.

Revision 90488 - (view) (annotate) - [select for diffs]
Modified Wed Aug 22 13:37:26 2001 UTC (8 years, 3 months ago) by rbb
File length: 12507 byte(s)
Diff to previous 90485 (colored)
Add rules.mk back to the substitute list.  I forgot to add the rules.mk.in
files last night, but they are there now.

Revision 90485 - (view) (annotate) - [select for diffs]
Modified Wed Aug 22 07:52:35 2001 UTC (8 years, 3 months ago) by jerenkrantz
File length: 12492 byte(s)
Diff to previous 90479 (colored)
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?

Revision 90479 - (view) (annotate) - [select for diffs]
Modified Tue Aug 21 23:41:35 2001 UTC (8 years, 3 months ago) by rbb
File length: 12507 byte(s)
Diff to previous 90396 (colored)
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.

Revision 90396 - (view) (annotate) - [select for diffs]
Modified Mon Aug 20 12:19:50 2001 UTC (8 years, 3 months ago) by bjh
File length: 12081 byte(s)
Diff to previous 90213 (colored)
Make mpmt_os2 the default MPM on OS/2.

Revision 90213 - (view) (annotate) - [select for diffs]
Modified Thu Aug 16 13:59:14 2001 UTC (8 years, 3 months ago) by trawick
File length: 12081 byte(s)
Diff to previous 90137 (colored)
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

Revision 90137 - (view) (annotate) - [select for diffs]
Modified Mon Aug 13 15:44:00 2001 UTC (8 years, 3 months ago) by trawick
File length: 12069 byte(s)
Diff to previous 89746 (colored)
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code

Revision 89746 - (view) (annotate) - [select for diffs]
Modified Fri Jul 27 11:22:43 2001 UTC (8 years, 4 months ago) by bjh
File length: 12047 byte(s)
Diff to previous 89527 (colored)
OS/2: Fix 'make install' handling of EXEs.

Revision 89527 - (view) (annotate) - [select for diffs]
Modified Tue Jul 10 02:35:24 2001 UTC (8 years, 4 months ago) by fielding
File length: 12012 byte(s)
Diff to previous 89517 (colored)
Use the autoconf variable "host" consistently for platform checks.

Revision 89517 - (view) (annotate) - [select for diffs]
Modified Mon Jul 9 02:31:09 2001 UTC (8 years, 4 months ago) by rbb
File length: 12032 byte(s)
Diff to previous 89515 (colored)
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

Revision 89515 - (view) (annotate) - [select for diffs]
Modified Sun Jul 8 03:27:18 2001 UTC (8 years, 4 months ago) by rbb
File length: 12026 byte(s)
Diff to previous 89351 (colored)
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

Revision 89351 - (view) (annotate) - [select for diffs]
Modified Tue Jun 12 12:55:22 2001 UTC (8 years, 5 months ago) by trawick
File length: 11971 byte(s)
Diff to previous 89346 (colored)
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)

Revision 89346 - (view) (annotate) - [select for diffs]
Modified Mon Jun 11 22:45:45 2001 UTC (8 years, 5 months ago) by orlikowski
File length: 11955 byte(s)
Diff to previous 89341 (colored)
SINGLE_LISTEN_UNSERIALIZED_ACCEPT applies to every kernel after
2.2, not just 2.2.

Revision 89341 - (view) (annotate) - [select for diffs]
Modified Mon Jun 11 21:41:56 2001 UTC (8 years, 5 months ago) by orlikowski
File length: 11949 byte(s)
Diff to previous 89288 (colored)
Make the processor unbinding/re-binding stuff on AIX work again.

Revision 89288 - (view) (annotate) - [select for diffs]
Modified Thu Jun 7 10:03:29 2001 UTC (8 years, 5 months ago) by orlikowski
File length: 11931 byte(s)
Diff to previous 89142 (colored)
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.

Revision 89142 - (view) (annotate) - [select for diffs]
Modified Fri May 18 02:36:35 2001 UTC (8 years, 6 months ago) by fielding
File length: 11933 byte(s)
Diff to previous 89140 (colored)
Get the compile flag types right and in order.

Revision 89140 - (view) (annotate) - [select for diffs]
Modified Fri May 18 00:48:57 2001 UTC (8 years, 6 months ago) by fielding
File length: 11926 byte(s)
Diff to previous 89124 (colored)
Change the make targets and rules to be consistent in all of the
Apache-owned source trees.  Sanity is a good thing.

Revision 89124 - (view) (annotate) - [select for diffs]
Modified Tue May 15 17:30:44 2001 UTC (8 years, 6 months ago) by trawick
File length: 11928 byte(s)
Diff to previous 89103 (colored)
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)

Revision 89103 - (view) (annotate) - [select for diffs]
Modified Sun May 13 12:21:25 2001 UTC (8 years, 6 months ago) by trawick
File length: 11805 byte(s)
Diff to previous 89102 (colored)
Separate enablement of AP_DEBUG code from enablement of code
which depends on the compiler supporting designated initializers.

Revision 89102 - (view) (annotate) - [select for diffs]
Modified Sun May 13 10:37:06 2001 UTC (8 years, 6 months ago) by gstein
File length: 11798 byte(s)
Diff to previous 89097 (colored)
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

Revision 89097 - (view) (annotate) - [select for diffs]
Modified Sat May 12 16:55:00 2001 UTC (8 years, 6 months ago) by trawick
File length: 11748 byte(s)
Diff to previous 89096 (colored)
get rid of an errant semicolon which broke gcc builds (sorry!)

Revision 89096 - (view) (annotate) - [select for diffs]
Modified Sat May 12 13:05:27 2001 UTC (8 years, 6 months ago) by trawick
File length: 11749 byte(s)
Diff to previous 89094 (colored)
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)

Revision 89094 - (view) (annotate) - [select for diffs]
Modified Sat May 12 03:48:31 2001 UTC (8 years, 6 months ago) by fielding
File length: 11705 byte(s)
Diff to previous 89092 (colored)
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.

Revision 89092 - (view) (annotate) - [select for diffs]
Modified Sat May 12 01:37:27 2001 UTC (8 years, 6 months ago) by fielding
File length: 11625 byte(s)
Diff to previous 89084 (colored)
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.

Revision 89084 - (view) (annotate) - [select for diffs]
Modified Fri May 11 15:33:06 2001 UTC (8 years, 6 months ago) by trawick
File length: 11930 byte(s)
Diff to previous 89081 (colored)
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.)

Revision 89081 - (view) (annotate) - [select for diffs]
Modified Fri May 11 08:12:06 2001 UTC (8 years, 6 months ago) by fielding
File length: 11916 byte(s)
Diff to previous 89080 (colored)
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.

Revision 89080 - (view) (annotate) - [select for diffs]
Modified Fri May 11 07:15:07 2001 UTC (8 years, 6 months ago) by fielding
File length: 11105 byte(s)
Diff to previous 89079 (colored)
No need to sinclude macros that we no longer use.

Revision 89079 - (view) (annotate) - [select for diffs]
Modified Fri May 11 07:10:24 2001 UTC (8 years, 6 months ago) by fielding
File length: 11183 byte(s)
Diff to previous 89060 (colored)
We don't need no stinkin libtool when APR already has one for us to use.

Revision 89060 - (view) (annotate) - [select for diffs]
Modified Wed May 9 13:13:06 2001 UTC (8 years, 6 months ago) by dreid
File length: 11254 byte(s)
Diff to previous 88960 (colored)
Pass in the full path for the AP_LIBS so we can always find them when not
installed.

Revision 88960 - (view) (annotate) - [select for diffs]
Modified Sun Apr 29 05:24:11 2001 UTC (8 years, 7 months ago) by fielding
File length: 11218 byte(s)
Diff to previous 88895 (colored)
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.

Revision 88895 - (view) (annotate) - [select for diffs]
Modified Thu Apr 19 13:56:02 2001 UTC (8 years, 7 months ago) by bjh
File length: 9952 byte(s)
Diff to previous 88886 (colored)
Remove unused variable.

Revision 88886 - (view) (annotate) - [select for diffs]
Modified Wed Apr 18 20:51:35 2001 UTC (8 years, 7 months ago) by dreid
File length: 9981 byte(s)
Diff to previous 88704 (colored)
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.

Revision 88704 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 23:47:39 2001 UTC (8 years, 7 months ago) by marc
File length: 9621 byte(s)
Diff to previous 88702 (colored)
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:

Revision 88702 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 20:57:57 2001 UTC (8 years, 7 months ago) by jim
File length: 9396 byte(s)
Diff to previous 88701 (colored)
Oh bother. OPTIM isn't treated the same in apr and
httpd-2.0. While being fixed, allow to build

Revision 88701 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 20:38:10 2001 UTC (8 years, 7 months ago) by jim
File length: 9392 byte(s)
Diff to previous 88695 (colored)
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

Revision 88695 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 18:37:18 2001 UTC (8 years, 7 months ago) by rbb
File length: 9412 byte(s)
Diff to previous 88685 (colored)
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.

Revision 88685 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 05:51:20 2001 UTC (8 years, 7 months ago) by fielding
File length: 9828 byte(s)
Diff to previous 88655 (colored)
Use APR's macro to generate config.nice

Revision 88655 - (view) (annotate) - [select for diffs]
Modified Mon Apr 2 19:06:02 2001 UTC (8 years, 7 months ago) by orlikowski
File length: 9831 byte(s)
Diff to previous 88645 (colored)
Changes to get AIX DSOs working, sans APR changes.
Basically, this allows linker flags to be passed for the httpd executable
and DSOs only.

Revision 88645 - (view) (annotate) - [select for diffs]
Modified Mon Apr 2 15:20:45 2001 UTC (8 years, 7 months ago) by bjh
File length: 9662 byte(s)
Diff to previous 88622 (colored)
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:

Revision 88622 - (view) (annotate) - [select for diffs]
Modified Sat Mar 31 11:31:45 2001 UTC (8 years, 7 months ago) by trawick
File length: 9126 byte(s)
Diff to previous 88592 (colored)
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

Revision 88592 - (view) (annotate) - [select for diffs]
Modified Tue Mar 27 10:54:09 2001 UTC (8 years, 8 months ago) by gstein
File length: 9038 byte(s)
Diff to previous 88570 (colored)
switch to --enable-* rather than --with-* for the debug options

Revision 88570 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 09:43:06 2001 UTC (8 years, 8 months ago) by fielding
File length: 9030 byte(s)
Diff to previous 88569 (colored)
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.

Revision 88569 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 07:43:25 2001 UTC (8 years, 8 months ago) by fielding
File length: 8783 byte(s)
Diff to previous 88530 (colored)
Remove some unused bits and improve comments.

Revision 88530 - (view) (annotate) - [select for diffs]
Modified Fri Mar 16 23:04:56 2001 UTC (8 years, 8 months ago) by rbb
File length: 8869 byte(s)
Diff to previous 88495 (colored)
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>

Revision 88495 - (view) (annotate) - [select for diffs]
Modified Sun Mar 11 23:40:47 2001 UTC (8 years, 8 months ago) by coar
File length: 8810 byte(s)
Diff to previous 88493 (colored)
	Bring the other Perl scripts into the autoconf-edited
	find-the-interpreter fold, like apxs and apachectl.

Revision 88493 - (view) (annotate) - [select for diffs]
Modified Sun Mar 11 23:22:32 2001 UTC (8 years, 8 months ago) by coar
File length: 8696 byte(s)
Diff to previous 88476 (colored)
	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

Revision 88476 - (view) (annotate) - [select for diffs]
Modified Thu Mar 8 18:20:25 2001 UTC (8 years, 8 months ago) by rbb
File length: 8532 byte(s)
Diff to previous 88455 (colored)
Get us closer to building on Unix.  Not perfect yet, but we no longer
should look for expat in srclib.

Revision 88455 - (view) (annotate) - [select for diffs]
Modified Mon Mar 5 20:15:15 2001 UTC (8 years, 8 months ago) by trawick
File length: 8849 byte(s)
Diff to previous 88299 (colored)
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

Revision 88299 - (view) (annotate) - [select for diffs]
Modified Sat Feb 24 14:17:25 2001 UTC (8 years, 9 months ago) by gstein
File length: 8865 byte(s)
Diff to previous 88286 (colored)
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

Revision 88286 - (view) (annotate) - [select for diffs]
Modified Fri Feb 23 11:39:37 2001 UTC (8 years, 9 months ago) by trawick
File length: 8838 byte(s)
Diff to previous 88245 (colored)
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

Revision 88245 - (view) (annotate) - [select for diffs]
Modified Tue Feb 20 02:01:09 2001 UTC (8 years, 9 months ago) by fielding
File length: 8708 byte(s)
Diff to previous 88230 (colored)
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].

Revision 88230 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 16:07:31 2001 UTC (8 years, 9 months ago) by fielding
File length: 8445 byte(s)
Diff to previous 88219 (colored)
Intermediate change of hardcoded "helpers" reference to "build"
until I get a chance to revamp this to use APR's variables directly.

Revision 88219 - (view) (annotate) - [select for diffs]
Modified Sat Feb 17 23:58:30 2001 UTC (8 years, 9 months ago) by gstein
File length: 8447 byte(s)
Diff to previous 88067 (colored)
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.

Revision 88067 - (view) (annotate) - [select for diffs]
Modified Sat Feb 10 18:09:26 2001 UTC (8 years, 9 months ago) by rbb
File length: 8468 byte(s)
Diff to previous 88062 (colored)
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.

Revision 88062 - (view) (annotate) - [select for diffs]
Modified Sat Feb 10 14:13:50 2001 UTC (8 years, 9 months ago) by gstein
File length: 8416 byte(s)
Diff to previous 88057 (colored)
[ missed in last commit ]

clean out some headers and libs from the configure process (not needed)

Revision 88057 - (view) (annotate) - [select for diffs]
Modified Sat Feb 10 11:59:58 2001 UTC (8 years, 9 months ago) by gstein
File length: 8519 byte(s)
Diff to previous 87888 (colored)
*) 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

Revision 87888 - (view) (annotate) - [select for diffs]
Modified Sun Jan 28 07:55:44 2001 UTC (8 years, 9 months ago) by fielding
File length: 8818 byte(s)
Diff to previous 87887 (colored)
Clean up the help text for some of the options. (cosmetic)

Revision 87887 - (view) (annotate) - [select for diffs]
Modified Sun Jan 28 07:41:15 2001 UTC (8 years, 9 months ago) by fielding
File length: 8781 byte(s)
Diff to previous 87886 (colored)
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.

Revision 87886 - (view) (annotate) - [select for diffs]
Modified Sun Jan 28 06:46:23 2001 UTC (8 years, 9 months ago) by fielding
File length: 8835 byte(s)
Diff to previous 87639 (colored)
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.

Revision 87639 - (view) (annotate) - [select for diffs]
Modified Wed Jan 10 01:04:53 2001 UTC (8 years, 10 months ago) by bjh
File length: 8597 byte(s)
Diff to previous 87633 (colored)
Libtool takes care of the lib prefix so get rid of our own workaround.

Revision 87633 - (view) (annotate) - [select for diffs]
Modified Tue Jan 9 19:28:33 2001 UTC (8 years, 10 months ago) by rbb
File length: 8625 byte(s)
Diff to previous 87631 (colored)
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.

Revision 87631 - (view) (annotate) - [select for diffs]
Modified Tue Jan 9 11:35:51 2001 UTC (8 years, 10 months ago) by gstein
File length: 8583 byte(s)
Diff to previous 87613 (colored)
a couple tweaks to get Apache building with the new libtool-ized APR

Revision 87613 - (view) (annotate) - [select for diffs]
Modified Mon Jan 8 23:01:47 2001 UTC (8 years, 10 months ago) by sascha
File length: 8563 byte(s)
Diff to previous 87609 (colored)
Set MKDIR for APR's RUN_SUBDIR_CONFIG_NOW macro.

Revision 87609 - (view) (annotate) - [select for diffs]
Modified Mon Jan 8 08:23:13 2001 UTC (8 years, 10 months ago) by gstein
File length: 8516 byte(s)
Diff to previous 87536 (colored)
seems nobody is using sethostent()

Revision 87536 - (view) (annotate) - [select for diffs]
Modified Wed Dec 27 23:24:53 2000 UTC (8 years, 11 months ago) by rbb
File length: 8549 byte(s)
Diff to previous 87530 (colored)
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

Revision 87530 - (view) (annotate) - [select for diffs]
Modified Wed Dec 27 02:01:47 2000 UTC (8 years, 11 months ago) by rbb
File length: 8611 byte(s)
Diff to previous 87521 (colored)
Get suexec compiling again.

Revision 87521 - (view) (annotate) - [select for diffs]
Modified Sat Dec 23 03:15:16 2000 UTC (8 years, 11 months ago) by rbb
File length: 8597 byte(s)
Diff to previous 87512 (colored)
Allow SuExec to be configured from the ./configure command line

Revision 87512 - (view) (annotate) - [select for diffs]
Modified Fri Dec 22 22:44:45 2000 UTC (8 years, 11 months ago) by gstein
File length: 7519 byte(s)
Diff to previous 87476 (colored)
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.

Revision 87476 - (view) (annotate) - [select for diffs]
Modified Thu Dec 21 01:27:46 2000 UTC (8 years, 11 months ago) by rbb
File length: 7507 byte(s)
Diff to previous 87460 (colored)
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.

Revision 87460 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 16:44:01 2000 UTC (8 years, 11 months ago) by trawick
File length: 7502 byte(s)
Diff to previous 87427 (colored)
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.

Revision 87427 - (view) (annotate) - [select for diffs]
Modified Tue Dec 19 19:45:06 2000 UTC (8 years, 11 months ago) by rbb
File length: 7517 byte(s)
Diff to previous 87297 (colored)
Find the RM program during configuration.

Revision 87297 - (view) (annotate) - [select for diffs]
Modified Tue Dec 12 10:24:14 2000 UTC (8 years, 11 months ago) by gstein
File length: 7496 byte(s)
Diff to previous 87231 (colored)
pick up exported build variables from APRUTIL

Revision 87231 - (view) (annotate) - [select for diffs]
Modified Wed Dec 6 08:06:32 2000 UTC (8 years, 11 months ago) by gstein
File length: 7375 byte(s)
Diff to previous 87200 (colored)
remove APACHE_CHECK_DBM and the usage of srclib/sdbm/. this stuff is part of
APRUTIL now.

Revision 87200 - (view) (annotate) - [select for diffs]
Modified Tue Dec 5 05:28:16 2000 UTC (8 years, 11 months ago) by rbb
File length: 7514 byte(s)
Diff to previous 87197 (colored)
Build apr-util correctly when building the rest of the server.

Revision 87197 - (view) (annotate) - [select for diffs]
Modified Tue Dec 5 04:30:55 2000 UTC (8 years, 11 months ago) by rbb
File length: 7473 byte(s)
Diff to previous 87192 (colored)
Add apr-util to the build process.  This should now build once everything
has been checked out to the correct locations.

Revision 87192 - (view) (annotate) - [select for diffs]
Modified Tue Dec 5 02:45:50 2000 UTC (8 years, 11 months ago) by rbb
File length: 7413 byte(s)
Diff to previous 87191 (colored)
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.

Revision 87191 - (view) (annotate) - [select for diffs]
Modified Tue Dec 5 01:22:05 2000 UTC (8 years, 11 months ago) by rbb
File length: 7407 byte(s)
Diff to previous 87190 (colored)
Get the support programs building properly.  Httpd itself is next.

Revision 87190 - (view) (annotate) - [select for diffs]
Modified Tue Dec 5 00:36:09 2000 UTC (8 years, 11 months ago) by rbb
File length: 7371 byte(s)
Diff to previous 87187 (colored)
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.

Revision 87187 - (view) (annotate) - [select for diffs]
Modified Mon Dec 4 22:33:51 2000 UTC (8 years, 11 months ago) by rbb
File length: 7334 byte(s)
Diff to previous 87183 (colored)
Get Apache to configure completely again.  This still doesn't build, but
now we are getting very close.

Revision 87183 - (view) (annotate) - [select for diffs]
Modified Mon Dec 4 20:10:39 2000 UTC (8 years, 11 months ago) by rbb
File length: 7412 byte(s)
Diff to previous 87176 (colored)
Start pointing the configuration scripts to the correct directories

Revision 87176 - (view) (annotate) - [select for diffs]
Modified Mon Dec 4 18:56:14 2000 UTC (8 years, 11 months ago) by rbb
File length: 7398 byte(s)
Diff to previous 87124 (colored)
Get buildconf working in the new repository.  Nothing builds, but we can
at least configure everything.

Revision 87124 - (view) (annotate) - [select for diffs]
Modified Wed Nov 29 10:25:05 2000 UTC (8 years, 11 months ago) by gstein
File length: 7400 byte(s)
Diff to previous 87107 (colored)
reorder the libs for proper inter-lib dependencies

Revision 87107 - (view) (annotate) - [select for diffs]
Modified Tue Nov 28 21:31:51 2000 UTC (8 years, 11 months ago) by rbb
File length: 7302 byte(s)
Diff to previous 87100 (colored)
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.

Revision 87100 - (view) (annotate) - [select for diffs]
Modified Tue Nov 28 12:09:50 2000 UTC (8 years, 11 months ago) by gstein
File length: 7287 byte(s)
Diff to previous 87089 (colored)
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

Revision 87089 - (view) (annotate) - [select for diffs]
Modified Mon Nov 27 16:32:45 2000 UTC (9 years ago) by trawick
File length: 7267 byte(s)
Diff to previous 87082 (colored)
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.

Revision 87082 - (view) (annotate) - [select for diffs]
Modified Sun Nov 26 15:27:33 2000 UTC (9 years ago) by gstein
File length: 7129 byte(s)
Diff to previous 87081 (colored)
*) 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 ]

Revision 87081 - (view) (annotate) - [select for diffs]
Modified Sun Nov 26 13:43:32 2000 UTC (9 years ago) by gstein
File length: 7045 byte(s)
Diff to previous 86936 (colored)
Start the oft-discussed, but oft-punted lib/aputil library. Drop in a first
cut at an "any" DBM set of cover functions.

Revision 86936 - (view) (annotate) - [select for diffs]
Modified Mon Nov 13 04:50:34 2000 UTC (9 years ago) by rbb
File length: 6980 byte(s)
Diff to previous 86933 (colored)
Get the hints file working on Linux.  This also gets SINGLE_LISTEN....
working on linux 2.2.

Revision 86933 - (view) (annotate) - [select for diffs]
Modified Mon Nov 13 03:42:02 2000 UTC (9 years ago) by rbb
File length: 6959 byte(s)
Diff to previous 86919 (colored)
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.

Revision 86919 - (view) (annotate) - [select for diffs]
Modified Sat Nov 11 06:06:00 2000 UTC (9 years ago) by rbb
File length: 6787 byte(s)
Diff to previous 86802 (colored)
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

Revision 86802 - (view) (annotate) - [select for diffs]
Modified Thu Nov 2 18:51:08 2000 UTC (9 years ago) by rbb
File length: 6807 byte(s)
Diff to previous 86794 (colored)
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.

Revision 86794 - (view) (annotate) - [select for diffs]
Modified Thu Nov 2 03:30:36 2000 UTC (9 years ago) by gstein
File length: 6735 byte(s)
Diff to previous 86756 (colored)
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

Revision 86756 - (view) (annotate) - [select for diffs]
Modified Fri Oct 27 21:54:28 2000 UTC (9 years, 1 month ago) by sascha
File length: 6716 byte(s)
Diff to previous 86436 (colored)
Create modules.c in the build tree. This file depends on your configuration
and thus cannot be shared by multiple build trees.

Revision 86436 - (view) (annotate) - [select for diffs]
Modified Sat Oct 7 19:54:23 2000 UTC (9 years, 1 month ago) by rbb
File length: 6732 byte(s)
Diff to previous 86399 (colored)
Use autoconf to substitute the proper values into apachectl, and install
it when we install everything else.

Revision 86399 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 05:42:06 2000 UTC (9 years, 1 month ago) by rbb
File length: 6714 byte(s)
Diff to previous 86398 (colored)
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

Revision 86398 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 04:41:47 2000 UTC (9 years, 1 month ago) by rbb
File length: 6697 byte(s)
Diff to previous 86334 (colored)
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

Revision 86334 - (view) (annotate) - [select for diffs]
Modified Tue Sep 26 11:26:45 2000 UTC (9 years, 2 months ago) by sascha
File length: 6676 byte(s)
Diff to previous 86284 (colored)
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.

Revision 86284 - (view) (annotate) - [select for diffs]
Modified Fri Sep 22 17:07:47 2000 UTC (9 years, 2 months ago) by sascha
File length: 6660 byte(s)
Diff to previous 86132 (colored)
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.

Revision 86132 - (view) (annotate) - [select for diffs]
Modified Tue Aug 22 04:25:36 2000 UTC (9 years, 3 months ago) by rbb
File length: 6656 byte(s)
Diff to previous 86098 (colored)
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.

Revision 86098 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 15:33:08 2000 UTC (9 years, 3 months ago) by trawick
File length: 6624 byte(s)
Diff to previous 86048 (colored)
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

Revision 86048 - (view) (annotate) - [select for diffs]
Modified Fri Aug 11 04:13:43 2000 UTC (9 years, 3 months ago) by coar
File length: 6535 byte(s)
Diff to previous 85871 (colored)
	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.

Revision 85871 - (view) (annotate) - [select for diffs]
Modified Sun Jul 23 12:32:18 2000 UTC (9 years, 4 months ago) by sascha
File length: 6409 byte(s)
Diff to previous 85743 (colored)
Fix VPATH builds

Revision 85743 - (view) (annotate) - [select for diffs]
Modified Sat Jul 1 14:08:25 2000 UTC (9 years, 4 months ago) by gstein
File length: 6396 byte(s)
Diff to previous 85733 (colored)
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

Revision 85733 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 19:57:49 2000 UTC (9 years, 4 months ago) by rbb
File length: 5443 byte(s)
Diff to previous 85725 (colored)
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.

Revision 85725 - (view) (annotate) - [select for diffs]
Modified Wed Jun 28 16:31:02 2000 UTC (9 years, 5 months ago) by rbb
File length: 5448 byte(s)
Diff to previous 85723 (colored)
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>

Revision 85723 - (view) (annotate) - [select for diffs]
Modified Wed Jun 28 14:33:48 2000 UTC (9 years, 5 months ago) by trawick
File length: 5455 byte(s)
Diff to previous 85714 (colored)
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

Revision 85714 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 23:12:23 2000 UTC (9 years, 5 months ago) by rbb
File length: 5445 byte(s)
Diff to previous 85706 (colored)
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.

Revision 85706 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 21:35:27 2000 UTC (9 years, 5 months ago) by rbb
File length: 5029 byte(s)
Diff to previous 85705 (colored)
Move the checks for bcopy and memmove down to APR.  APR now defines memmove
and bzero on platforms that do not natively support them.

Revision 85705 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 21:28:31 2000 UTC (9 years, 5 months ago) by jim
File length: 5047 byte(s)
Diff to previous 85704 (colored)
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:

Revision 85704 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 21:16:52 2000 UTC (9 years, 5 months ago) by jim
File length: 5050 byte(s)
Diff to previous 85703 (colored)
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:

Revision 85703 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 21:02:12 2000 UTC (9 years, 5 months ago) by jim
File length: 5024 byte(s)
Diff to previous 85701 (colored)
We need to preload first, before running any other configures.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 85701 - (view) (annotate) - [select for diffs]
Modified Tue Jun 27 20:06:21 2000 UTC (9 years, 5 months ago) by rbb
File length: 5025 byte(s)
Diff to previous 85663 (colored)
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.

Revision 85663 - (view) (annotate) - [select for diffs]
Modified Thu Jun 22 22:49:50 2000 UTC (9 years, 5 months ago) by rbb
File length: 4990 byte(s)
Diff to previous 85645 (colored)
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.

Revision 85645 - (view) (annotate) - [select for diffs]
Modified Wed Jun 21 13:15:30 2000 UTC (9 years, 5 months ago) by trawick
File length: 5351 byte(s)
Diff to previous 85595 (colored)
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

Revision 85595 - (view) (annotate) - [select for diffs]
Modified Sat Jun 17 11:13:05 2000 UTC (9 years, 5 months ago) by ben
File length: 5276 byte(s)
Diff to previous 85559 (colored)
Command handler revamp. Note that this makes the code produce a LOT of
warnings!

Revision 85559 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 23:34:23 2000 UTC (9 years, 5 months ago) by rbb
File length: 5265 byte(s)
Diff to previous 85538 (colored)
Remove the check for EAGAIN.  With APR handling the error codes, this is
no longer an issue that Apache needs to deal with.

Revision 85538 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 16:31:54 2000 UTC (9 years, 5 months ago) by rbb
File length: 5340 byte(s)
Diff to previous 85528 (colored)
Apache doesn't use struct tm anymore, Remove a check that defines a
macro that we never use.

Revision 85528 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 06:44:26 2000 UTC (9 years, 5 months ago) by sascha
File length: 5353 byte(s)
Diff to previous 85526 (colored)
Build only needed parts of libpcre. This is more light-wheight than
having a complete build-subsystem for PCRE.

Revision 85526 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 04:17:45 2000 UTC (9 years, 5 months ago) by rbb
File length: 5344 byte(s)
Diff to previous 85525 (colored)
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.

Revision 85525 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 03:35:13 2000 UTC (9 years, 5 months ago) by rbb
File length: 5357 byte(s)
Diff to previous 85512 (colored)
Apache doesn't need to check for inline or pid's, because APR provides
both ap_inline and ap_proc_t.

Revision 85512 - (view) (annotate) - [select for diffs]
Modified Sun Jun 11 11:44:50 2000 UTC (9 years, 5 months ago) by sascha
File length: 5383 byte(s)
Diff to previous 85509 (colored)
Split generating Makefiles and creating config_vars.mk.

The Makefiles are now rebuilt, when you run config.status.

Revision 85509 - (view) (annotate) - [select for diffs]
Modified Sun Jun 11 10:46:59 2000 UTC (9 years, 5 months ago) by sascha
File length: 5345 byte(s)
Diff to previous 85488 (colored)
Fix path for helpers/PrintPath which is in $srcdir.

Revision 85488 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 22:05:36 2000 UTC (9 years, 5 months ago) by rbb
File length: 5339 byte(s)
Diff to previous 85487 (colored)
Remove waitpid from the config checks and all calls to waitpid from the
server.

Revision 85487 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 21:19:52 2000 UTC (9 years, 5 months ago) by rbb
File length: 5349 byte(s)
Diff to previous 85486 (colored)
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.

Revision 85486 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 18:57:16 2000 UTC (9 years, 5 months ago) by rbb
File length: 5394 byte(s)
Diff to previous 85476 (colored)
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.

Revision 85476 - (view) (annotate) - [select for diffs]
Modified Thu Jun 8 21:32:13 2000 UTC (9 years, 5 months ago) by rbb
File length: 5405 byte(s)
Diff to previous 85473 (colored)
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

Revision 85473 - (view) (annotate) - [select for diffs]
Modified Thu Jun 8 19:29:40 2000 UTC (9 years, 5 months ago) by rbb
File length: 5389 byte(s)
Diff to previous 85463 (colored)
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.

Revision 85463 - (view) (annotate) - [select for diffs]
Modified Thu Jun 8 00:28:35 2000 UTC (9 years, 5 months ago) by rbb
File length: 5486 byte(s)
Diff to previous 85262 (colored)
Remove all occurances of gettimeofday.  Replace it with ap_now which
provides the same function but works cross-paltform.

Revision 85262 - (view) (annotate) - [select for diffs]
Modified Fri May 19 23:13:31 2000 UTC (9 years, 6 months ago) by rbb
File length: 5501 byte(s)
Diff to previous 85183 (colored)
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.

Revision 85183 - (view) (annotate) - [select for diffs]
Modified Thu May 11 03:20:15 2000 UTC (9 years, 6 months ago) by trawick
File length: 5278 byte(s)
Diff to previous 85153 (colored)
use helpers/PrintPath instead of which to find the location of
the perl interpreter

Revision 85153 - (view) (annotate) - [select for diffs]
Modified Fri May 5 23:17:54 2000 UTC (9 years, 6 months ago) by rbb
File length: 5264 byte(s)
Diff to previous 85150 (colored)
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.

Revision 85150 - (view) (annotate) - [select for diffs]
Modified Fri May 5 20:10:33 2000 UTC (9 years, 6 months ago) by rbb
File length: 5303 byte(s)
Diff to previous 85127 (colored)
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.

Revision 85127 - (view) (annotate) - [select for diffs]
Modified Wed May 3 02:02:54 2000 UTC (9 years, 6 months ago) by sascha
File length: 5250 byte(s)
Diff to previous 85126 (colored)
Configure creates config.nice now containing your configure options.
Syntax: ./config.nice [--more-options]

Obtained from: PHP

Revision 85126 - (view) (annotate) - [select for diffs]
Modified Wed May 3 00:48:54 2000 UTC (9 years, 6 months ago) by jim
File length: 5217 byte(s)
Diff to previous 85125 (colored)
Blurf. Move the preload down a bit to
ensure that the location of config.guess is set :)

Revision 85125 - (view) (annotate) - [select for diffs]
Modified Wed May 3 00:09:05 2000 UTC (9 years, 6 months ago) by jim
File length: 5217 byte(s)
Diff to previous 85113 (colored)
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:

Revision 85113 - (view) (annotate) - [select for diffs]
Modified Sun Apr 30 18:27:18 2000 UTC (9 years, 6 months ago) by sascha
File length: 5164 byte(s)
Diff to previous 85102 (colored)
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.

Revision 85102 - (view) (annotate) - [select for diffs]
Modified Sun Apr 30 00:06:07 2000 UTC (9 years, 6 months ago) by sascha
File length: 4717 byte(s)
Diff to previous 85053 (colored)
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)

Revision 85053 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 04:21:21 2000 UTC (9 years, 7 months ago) by rbb
File length: 4717 byte(s)
Diff to previous 85050 (colored)
Add the support directory back into the build process.

Revision 85050 - (view) (annotate) - [select for diffs]
Modified Wed Apr 26 21:08:26 2000 UTC (9 years, 7 months ago) by rbb
File length: 4699 byte(s)
Diff to previous 85046 (colored)
Fix the progname stuff to work the same way the rest of the configure
scheme works.
Submitted by:	Sascha Schumann
Reviewed by:	Ryan Bloom

Revision 85046 - (view) (annotate) - [select for diffs]
Modified Wed Apr 26 14:50:33 2000 UTC (9 years, 7 months ago) by trawick
File length: 4685 byte(s)
Diff to previous 85041 (colored)
Define HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
at configure time.  Some of the modules use these.

Revision 85041 - (view) (annotate) - [select for diffs]
Modified Tue Apr 25 23:20:36 2000 UTC (9 years, 7 months ago) by rbb
File length: 4440 byte(s)
Diff to previous 85035 (colored)
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.

Revision 85035 - (view) (annotate) - [select for diffs]
Modified Tue Apr 25 21:29:27 2000 UTC (9 years, 7 months ago) by rbb
File length: 4346 byte(s)
Diff to previous 84962 (colored)
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.

Revision 84962 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 14:32:20 2000 UTC (9 years, 7 months ago) by martin
File length: 4209 byte(s)
Diff to previous 84944 (colored)
Fix minor configuration & platform dependencies

Revision 84944 - (view) (annotate) - [select for diffs]
Modified Tue Apr 11 13:47:20 2000 UTC (9 years, 7 months ago) by martin
File length: 4163 byte(s)
Diff to previous 84935 (colored)
In my libnsl, there's gethostname but not gethostbyname

Revision 84935 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 02:45:11 2000 UTC (9 years, 7 months ago) by trawick
File length: 4132 byte(s)
Diff to previous 84931 (colored)
Recognize an EBCDIC platform during configuration and turn on
CHARSET_EBCDIC.

Revision 84931 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 02:02:39 2000 UTC (9 years, 7 months ago) by trawick
File length: 4117 byte(s)
Diff to previous 84905 (colored)
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.)

Revision 84905 - (view) (annotate) - [select for diffs]
Modified Tue Apr 4 13:31:13 2000 UTC (9 years, 7 months ago) by bjh
File length: 4101 byte(s)
Diff to previous 84871 (colored)
Under OS/2 (well actually EMX gcc) libraries don't have a 'lib' prefix. In
main code libtool handles it. This deals with APR.

Revision 84871 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 02:38:33 2000 UTC (9 years, 7 months ago) by manoj
File length: 4080 byte(s)
Diff to previous 84868 (colored)
Eliminate src/apaci, and replace with a header file containing paths:
include/ap_config_path.h.

Revision 84868 - (view) (annotate) - [select for diffs]
Modified Thu Mar 30 21:50:20 2000 UTC (9 years, 7 months ago) by rbb
File length: 3673 byte(s)
Diff to previous 84791 (colored)
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

Revision 84791 - (view) (annotate) - [select for diffs]
Modified Sat Mar 18 11:09:52 2000 UTC (9 years, 8 months ago) by ben
File length: 3669 byte(s)
Diff to previous 84691 (colored)
Strict prototypes are no use until someone rewrites the config API.

Revision 84691 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 02:12:49 2000 UTC (9 years, 8 months ago) by manoj
File length: 3538 byte(s)
Diff to previous 84690 (colored)
Oops, EXTRA_CFLAGS wasn't getting set.

Revision 84690 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 02:01:03 2000 UTC (9 years, 8 months ago) by manoj
File length: 3511 byte(s)
Diff to previous 84595 (colored)
A little CFLAGS reformation. Additions to Apache's CFLAGS should be
using EXTRA_CFLAGS instead, so we don't affect packages that Apache
configures.

Revision 84595 - (view) (annotate) - [select for diffs]
Modified Wed Feb 9 01:33:24 2000 UTC (9 years, 9 months ago) by rbb
File length: 3595 byte(s)
Diff to previous 84484 (colored)
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.

Revision 84484 - (view) (annotate) - [select for diffs]
Modified Mon Jan 17 20:34:44 2000 UTC (9 years, 10 months ago) by manoj
File length: 3506 byte(s)
Diff to previous 84475 (colored)
Remove vestiges of automake.

Revision 84475 - (view) (annotate) - [select for diffs]
Modified Sun Jan 16 20:00:51 2000 UTC (9 years, 10 months ago) by sascha
File length: 3637 byte(s)
Diff to previous 84474 (colored)
Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR.

Revision 84474 - (view) (annotate) - [select for diffs]
Modified Sun Jan 16 18:24:39 2000 UTC (9 years, 10 months ago) by sascha
File length: 3891 byte(s)
Diff to previous 84423 (colored)
Rewrite pthreads check to be more tool-independent, and propagate flags
to APR.

Revision 84423 - (view) (annotate) - [select for diffs]
Modified Tue Jan 11 13:11:13 2000 UTC (9 years, 10 months ago) by sascha
File length: 3851 byte(s)
Diff to previous 84367 (colored)
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

Revision 84367 - (view) (annotate) - [select for diffs]
Modified Fri Dec 24 18:40:27 1999 UTC (9 years, 11 months ago) by rasmus
File length: 3133 byte(s)
Diff to previous 84365 (colored)
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.

Revision 84365 - (view) (annotate) - [select for diffs]
Modified Fri Dec 24 18:31:10 1999 UTC (9 years, 11 months ago) by rbb
File length: 2963 byte(s)
Diff to previous 84363 (colored)
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.

Revision 84363 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 21:01:31 1999 UTC (9 years, 11 months ago) by rbb
File length: 3118 byte(s)
Diff to previous 84355 (colored)
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.

Revision 84355 - (view) (annotate) - [select for diffs]
Modified Tue Dec 21 21:41:53 1999 UTC (9 years, 11 months ago) by rbb
File length: 2963 byte(s)
Diff to previous 84333 (colored)
Remove a bunch of functions that are being replaced by functions in APR.
Also finished porting Apache to use APR in most cases.

Revision 84333 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 05:03:01 1999 UTC (9 years, 11 months ago) by manoj
File length: 2974 byte(s)
Diff to previous 84330 (colored)
Speed up building, by making --disable-shared the default until we put
proper DSO support into the autoconf configuration scripts.

Revision 84330 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 04:15:08 1999 UTC (9 years, 11 months ago) by manoj
File length: 2956 byte(s)
Diff to previous 84329 (colored)
Make building a little easier by not requiring a separate make of APR.

Revision 84329 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 03:09:50 1999 UTC (9 years, 11 months ago) by manoj
File length: 2943 byte(s)
Diff to previous 84325 (colored)
Eliminate the .h.stub files; AC_DEFINE can generate the necessary
#defines in the config header for us.

Revision 84325 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 01:54:39 1999 UTC (9 years, 11 months ago) by manoj
File length: 2877 byte(s)
Diff to previous 84225 (colored)
Make Apache's configure script run APR's.

Revision 84225 - (view) (annotate) - [select for diffs]
Modified Sun Dec 5 10:33:41 1999 UTC (9 years, 11 months ago) by manoj
File length: 2803 byte(s)
Diff to previous 84223 (colored)
autoconf: Start adding support for selecting modules on the
./configure line. This commit only supports mod_env and mod_log_config.

Revision 84223 - (view) (annotate) - [select for diffs]
Modified Sun Dec 5 08:54:39 1999 UTC (9 years, 11 months ago) by manoj
File length: 2776 byte(s)
Diff to previous 84203 (colored)
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.

Revision 84203 - (view) (annotate) - [select for diffs]
Modified Wed Dec 1 04:57:07 1999 UTC (9 years, 11 months ago) by manoj
File length: 2636 byte(s)
Diff to previous 84202 (colored)
Fix a couple of comments

Revision 84202 - (view) (annotate) - [select for diffs]
Modified Wed Dec 1 04:25:01 1999 UTC (9 years, 11 months ago) by manoj
File length: 2710 byte(s)
Diff to previous 84200 (colored)
Place ap_config_auto.h in src/include. It didn't seem to work earlier,
but it does now. *shrug*

Revision 84200 - (view) (annotate) - [select for diffs]
Modified Wed Dec 1 01:16:23 1999 UTC (9 years, 11 months ago) by manoj
File length: 2702 byte(s)
Diff to previous 84193 (colored)
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.

Revision 84193 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 03:52:57 1999 UTC (9 years, 11 months ago) by manoj
File length: 2039 byte(s)
Diff to previous 84191 (colored)
Deal with times() properly in autoconf. This also changes NO_TIMES to
!HAVE_TIMES.

Revision 84191 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 03:07:32 1999 UTC (9 years, 11 months ago) by manoj
File length: 2053 byte(s)
Diff to previous 84190 (colored)
Some extra autoconf macros that might help us compile on "a POSIXized
ISC UNIX" or MINIX if someone ever tries to do it.

Revision 84190 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 02:40:56 1999 UTC (9 years, 11 months ago) by manoj
File length: 2019 byte(s)
Diff to previous 84187 (colored)
Fix a thinko. Apache's configure.in shouldn't attempt to create APR's
Makefile.

Revision 84187 - (view) (annotate) - [select for diffs]
Added Mon Nov 29 23:47:33 1999 UTC (9 years, 11 months ago) by manoj
File length: 2036 byte(s)
The second part of the big autoconf patch, which actually adds autoconf
building to the tree.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2