Commit Graph

35 Commits

Author SHA1 Message Date
a1a3b578a5 Fix the configuration process. If no modules are specified in a given
directory, then that directory is no longer added to the build process.
Also, I have added a .cvsignore to the file_cache directory and removed
a generated file from this directory.  Finally, I have removed
some unnecessary checks from the config.m4 files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85561 13f79535-47bb-0310-9956-ffa450edef68
2000-06-13 01:22:06 +00:00
ec58094da8 All of Apache uses APR for shared memory, so Apache doesn't need to check
for SHM_[RW].


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85539 13f79535-47bb-0310-9956-ffa450edef68
2000-06-12 17:04:39 +00:00
1825b9845d Split generating Makefiles and creating config_vars.mk.
The Makefiles are now rebuilt, when you run config.status.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85512 13f79535-47bb-0310-9956-ffa450edef68
2000-06-11 11:44:50 +00:00
88b6c4ac2b Get FreeBSD building again with the resource limiting changes (FreeBSD
3.4, at least).

rlim_t is defined in <sys/types.h>, so we usually need that.

Some stuff in <sys/resource.h> needs <sys/time.h> for timeval just to
be able to compile :(


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85500 13f79535-47bb-0310-9956-ffa450edef68
2000-06-10 12:02:29 +00:00
20c08c06da fix typo in AC_TYPE_RLIM_T
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85477 13f79535-47bb-0310-9956-ffa450edef68
2000-06-08 23:12:22 +00:00
f888d95c83 Fix typo in configure script when checking for mod_so. bash
doesn't seem to have a problem but /bin/sh on Solaris does.
Symptom: "./configure: test: unknown operator =="


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85434 13f79535-47bb-0310-9956-ffa450edef68
2000-06-06 00:51:20 +00:00
bed6974573 Fix mod_so handling. Basically, if --enable-so or
--enable-some-module=shared is specified on the ./configure line, then
mod_so is included in the build, -ldl is added to LIBS, and --enable-dso is
added to APR's configure line.  Otherwise, mod_so is turned off, -ldl is
not added, and APR is specifically told to build without DSO support.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85418 13f79535-47bb-0310-9956-ffa450edef68
2000-06-05 16:51:06 +00:00
6412ac159c Vertically align all the descriptions of the modules in ./configure --help
(m4 is gnarly)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85190 13f79535-47bb-0310-9956-ffa450edef68
2000-05-11 19:32:11 +00:00
afb48ffe10 Configure creates config.nice now containing your configure options.
Syntax: ./config.nice [--more-options]

Obtained from: PHP


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85127 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 02:02:54 +00:00
56faece2ad And preload from the top.
Next on the list: using hints.m4 to set whether to use HSregex and
 to select the "default" mpm for each OS type.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85125 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 00:09:05 +00:00
0ce9111af4 Allow for help messages for modules.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85105 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:19:30 +00:00
0cfb1d0be3 Add ap_sigwait() to support old-style sigwait().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85101 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 23:57:54 +00:00
ce2268f43d Allow the Apache-2.0 executable name to be specified with the
--with-program-name command line argument to configure.  This does not
change the name of the config files or anything else, yet.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85035 13f79535-47bb-0310-9956-ffa450edef68
2000-04-25 21:29:27 +00:00
3353aa3ad7 On all the systems I could get hold of (Solaris, ReliantUNIX, BS2000, SINIX),
SHM_R was always 0400, never 0x400. My assumption is that is usually (always) is.
Feel free to change it to an OS test like this (if your OS differs):
case `uname -s` in
  SunOS | POSIX-BC | SINIX-* | ReliantUNIX-* ) # BS2000
    AC_DEFINE(SHM_R, 0400, [ ])
    AC_DEFINE(SHM_W, 0200, [ ])
    ;;
  *)
    AC_DEFINE(SHM_R, 0x400, [ ])
    AC_DEFINE(SHM_W, 0x200, [ ])
    ;;
esac


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84953 13f79535-47bb-0310-9956-ffa450edef68
2000-04-13 11:03:20 +00:00
689a3da99b Recognize an EBCDIC platform during configuration and turn on
CHARSET_EBCDIC.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84935 13f79535-47bb-0310-9956-ffa450edef68
2000-04-07 02:45:11 +00:00
0a4a79db15 These changes didn't get into the patch for dynamic modules. With this,
dynamic modules should work.  :-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84641 13f79535-47bb-0310-9956-ffa450edef68
2000-02-18 02:12:16 +00:00
620c82bd75 Back out most of the last commit. Keep APR macros seperate from Apache
macros.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84504 13f79535-47bb-0310-9956-ffa450edef68
2000-01-21 01:25:25 +00:00
6be94dea6d Convert HAVE_NETINET... to the APR mac
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84503 13f79535-47bb-0310-9956-ffa450edef68
2000-01-20 22:14:15 +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
db95a6d2b0 gcc on AIX takes -mthreads. I wonder what they smoked during creating
all those wonderful flags.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84449 13f79535-47bb-0310-9956-ffa450edef68
2000-01-12 20:41:57 +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
5ba4711862 (APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also
added confdefs checks for the other included header files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84373 13f79535-47bb-0310-9956-ffa450edef68
1999-12-29 23:41:56 +00:00
f6044a399a Cleanup the threads check, also resets the CFLAGS and LDFLAGS variables
in cases where no threading library was found.
Submitted by:	Sascha Schumann
Reviewed by:	Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84370 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 21:22:27 +00:00
83c8f02d26 Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by:	Rasmus Lerdorf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84368 13f79535-47bb-0310-9956-ffa450edef68
1999-12-24 19:04:40 +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
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
8fed55ed89 An indented "#include" can cause problems on some compilers. Make sure
it isn't indented.

Submitted by:	Ralf Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84252 13f79535-47bb-0310-9956-ffa450edef68
1999-12-09 01:13:08 +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
a653c44bc8 The possibility of a libenv module and a libenv system library (for
example) irks me. Take a page from PHP and make the module's library
names unique.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84224 13f79535-47bb-0310-9956-ffa450edef68
1999-12-05 09:09:16 +00:00
c264c5e2a1 Fix what I think is a bug where rlim_t won't be #defined on systems
that need it if the autoconf check for it was cached.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84201 13f79535-47bb-0310-9956-ffa450edef68
1999-12-01 01:21:38 +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
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