Commit Graph

24 Commits

Author SHA1 Message Date
6929a75fd3 Oops, EXTRA_CFLAGS wasn't getting set.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84691 13f79535-47bb-0310-9956-ffa450edef68
2000-03-02 02:12:49 +00:00
b19a48bc44 A little CFLAGS reformation. Additions to Apache's CFLAGS should be
using EXTRA_CFLAGS instead, so we don't affect packages that Apache
configures.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84690 13f79535-47bb-0310-9956-ffa450edef68
2000-03-02 02:01:03 +00:00
8901d28816 Fix prefix handling. Before this patch, when using --prefix on the
configure line, the binary ignored it when setting HTTPD_ROOT.  This
patch fixes that problem.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84595 13f79535-47bb-0310-9956-ffa450edef68
2000-02-09 01:33:24 +00:00
afb25f19b3 Remove vestiges of automake.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84484 13f79535-47bb-0310-9956-ffa450edef68
2000-01-17 20:34:44 +00:00
ab6abdbd53 Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84475 13f79535-47bb-0310-9956-ffa450edef68
2000-01-16 20:00:51 +00:00
e959e6b340 Rewrite pthreads check to be more tool-independent, and propagate flags
to APR.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84474 13f79535-47bb-0310-9956-ffa450edef68
2000-01-16 18:24:39 +00:00
bbe1a3601e These changes are committed together, because they depend on each other.
-   shared modules can be built in the tree
    -   added support for --with-layout, uses APACI's config.layout
    -   working 'make install'
    -   working 'make depend'
    -   working Pthreads checks
    -   buildconf replaced


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84423 13f79535-47bb-0310-9956-ffa450edef68
2000-01-11 13:11:13 +00:00
191c4462f1 Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by:	Rasmus Lerdorf

    -   INADDR_NONE is not defined. Supply a replacement
    -   APACHE_MODULE() used a non-portable shell construct
    -   inet_addr() needs -lnsl -lsocket. Neccessary checks added
    -   For POSIX conformance, _POSIX_PTHREAD_SEMANTICS is
        required. This fixes i.e. sigwait() problems.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84367 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 18:40:27 +00:00
ef6a9f850c Finish the MPM decision logic. This moves the threads checking stuff into
the mpm directory where it belongs.  It also adds logic so that if threads
aren't detected, we automatically choose to use the prefork mpm.  Lastly,
I also cleaned up a variable name to make it more consistent with the other
variables used in our configure script.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84365 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 18:31:10 +00:00
84f9b5d2c6 First stab at logic to determine which threading library to use. This also
gets rid of the hack of always putting -pthread in the CFLAGS variable.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84363 13f79535-47bb-0310-9956-ffa450edef68
1999-12-23 21:01:31 +00:00
53e662b1f2 Remove a bunch of functions that are being replaced by functions in APR.
Also finished porting Apache to use APR in most cases.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84355 13f79535-47bb-0310-9956-ffa450edef68
1999-12-21 21:41:53 +00:00
135f1dd2b8 Speed up building, by making --disable-shared the default until we put
proper DSO support into the autoconf configuration scripts.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84333 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 05:03:01 +00:00
f1451acffb Make building a little easier by not requiring a separate make of APR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84330 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 04:15:08 +00:00
8c0183b985 Eliminate the .h.stub files; AC_DEFINE can generate the necessary
#defines in the config header for us.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84329 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 03:09:50 +00:00
d90986d3cd Make Apache's configure script run APR's.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84325 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 01:54:39 +00:00
876b8f3508 autoconf: Start adding support for selecting modules on the
./configure line. This commit only supports mod_env and mod_log_config.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84225 13f79535-47bb-0310-9956-ffa450edef68
1999-12-05 10:33:41 +00:00
869a58d8f7 autoconf: Generate modules.c based on configuration. This is the first
step to supporting selection of modules, and it seems to make --with-mpm
actually work now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84223 13f79535-47bb-0310-9956-ffa450edef68
1999-12-05 08:54:39 +00:00
6fc9499b65 Fix a couple of comments
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84203 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 04:57:07 +00:00
b1cb0fb04a Place ap_config_auto.h in src/include. It didn't seem to work earlier,
but it does now. *shrug*


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84202 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 04:25:01 +00:00
04c494c2b5 Eliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.h
is used instead, and autoconf's configure script will check for
everything else.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84200 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 01:16:23 +00:00
3cfe8158af Deal with times() properly in autoconf. This also changes NO_TIMES to
!HAVE_TIMES.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84193 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 03:52:57 +00:00
8906cb9e2c Some extra autoconf macros that might help us compile on "a POSIXized
ISC UNIX" or MINIX if someone ever tries to do it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84191 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 03:07:32 +00:00
ed08c67f3a Fix a thinko. Apache's configure.in shouldn't attempt to create APR's
Makefile.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84190 13f79535-47bb-0310-9956-ffa450edef68
1999-11-30 02:40:56 +00:00
c6b9cc45c1 The second part of the big autoconf patch, which actually adds autoconf
building to the tree.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84187 13f79535-47bb-0310-9956-ffa450edef68
1999-11-29 23:47:33 +00:00