summaryrefslogtreecommitdiff
path: root/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up conditionals in unix DSO code so that we decide based on thewsanchez2001-04-191-0/+4
| | | | | | | | dynamic loading implementation, which we noticed at configure time, instead of by operating system, which should be simpler to maintain. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61534 13f79535-47bb-0310-9956-ffa450edef68
* Carefully select an appropriate native type for apr_int64_t andfielding2001-04-121-0/+2
| | | | | | | | | | define its format as APR_INT64_T_FMT and literal using APR_INT64_C(). Submitted by: Justin Erenkrantz, William Rowe Reviewed by: Roy Fielding git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61500 13f79535-47bb-0310-9956-ffa450edef68
* Configure elements of FreeBSD's accept_filter for APR.dreid2001-04-031-0/+1
| | | | | | | | Obtained from: Ryan Bloom <rbb@covalent.com> Reviewed by: David Reid <dreid@apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61437 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_OS_PROC_T_FMT. Hopefully this will be used to get ridtrawick2001-03-011-0/+1
| | | | | | | | of various unfortunate constructs in Apache (like using %ld for pid_t but then casting the arg to long). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61331 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_sigwait to the apr_private.h file. This allows us to removerbb2001-02-211-0/+6
| | | | | | | | a couple of #ifdefs, and standardize some code. This macro comes directly from the Apache code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61277 13f79535-47bb-0310-9956-ffa450edef68
* This patch adds support for TCP_NOPUSH to APR. Basically we look fordreid2001-01-041-0/+4
| | | | | | | | | | | | | | | | | TCP_CORK or TCP_NOPUSH and if we find them we define APR_HAVE_CORKABLE_TCP. Once defined we then make os_cork and os_uncork available. At present they're not used except in the apr_sendfile code, but there may be uses for the routines in other areas of our network code as well, hence the change. In addition I've changed SOL_TCP to IPPROTO_TCP as this is more portable. Also tiny change to the way we check the version number in configure.in to decide if we want to use sendfile on FreeBSD. Submitted by: Tony Finch <dot@dotat.at> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61016 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_SIZE_T_FMT to help work around the fact that apr_size_t/trawick2000-12-011-0/+1
| | | | | | | | apr_ssize_t is long on AIX. Get the other APR_xx_T_FMT variables defined properly on AIX. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60840 13f79535-47bb-0310-9956-ffa450edef68
* Provide a socklen_t to the user of APR as a portability aid. Sometrawick2000-09-221-4/+0
| | | | | | | | | | | | | | | | | | systems have unsigned sockaddr len parameters; others have signed. When passing the length by address (as to accept()) a warning is generated if the sign is not correct. This patch assumes that, if no native socklen_t is provided, apr_socklen_t is always signed; that can be easily tweaked for certain platforms later. Inside APR, apr_socklen_t is only used currently in the Unix implementation. Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60538 13f79535-47bb-0310-9956-ffa450edef68
* The strcasecmp()->stricmp() mapping is done in apr_general.h so don't dobjh2000-07-071-4/+0
| | | | | | | | it in apr_private.h as well as it causes redefinition warnings all through the APR build. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60313 13f79535-47bb-0310-9956-ffa450edef68
* Remove a duplicate definition of ap_inline. This is provided by apr.h, sorbb2000-06-201-23/+0
| | | | | | | we don't need it in ap_private.h. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60231 13f79535-47bb-0310-9956-ffa450edef68
* Add support to ap_xlate_open() for an app to specify that thetrawick2000-06-141-0/+1
| | | | | | | | | | | charset of the locale is to be used for the source or target charset. At EBCDIC initialization, use the locale charset as one of the pair when setting up the default translation handles for content. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60203 13f79535-47bb-0310-9956-ffa450edef68
* Next part of adding support for BONE. Basically this sets up defines thatdreid2000-06-131-0/+7
| | | | | | | we can use to know what level of support BeOS has available. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60194 13f79535-47bb-0310-9956-ffa450edef68
* Allow buildconf to work again. Basiaclly #undef HAVE_BONE_VERSION so thatrbb2000-06-131-0/+3
| | | | | | | autoconf knows what to do with the AC_DEFINE for it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60193 13f79535-47bb-0310-9956-ffa450edef68
* Change the APR configure process to call MM's configure script earlyrbb2000-06-101-0/+2
| | | | | | | | | | instead of at the end of the script. With this change, APR can determine if shared memory is provided using a file that multiple platforms can open, or if it is acheived using some sort of shared memory (including MMAP'ed files). This information is used in Apache to provide some optimizations. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60163 13f79535-47bb-0310-9956-ffa450edef68
* Add a couple of checks necessary because unix and BeOS code are beingrbb2000-05-161-0/+2
| | | | | | | combined git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60051 13f79535-47bb-0310-9956-ffa450edef68
* fix a typo in a commenttrawick2000-05-041-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60023 13f79535-47bb-0310-9956-ffa450edef68
* Substitute sigthreadmask for pthread_sigmask, if necessary.sascha2000-05-021-4/+0
| | | | | | | | | | | | Note that the behaviour of sigprocmask in a multi-threaded program is undefined. The AIX 4.3 documentation explicitly says "The sigprocmask, sigsetmask, and sigblock subroutines must not be used in a multi-threaded application." This change allows us to build the Dexter and mpmt_pthread MPM on AIX. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60012 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-221-3/+3
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* Here's my first stab at getting mod_auth_digest working under 2.0stoddard2000-04-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quick change summary: - moved the random byte generation into APR This patch adds ap_generate_random_bytes() - now uses ap_time_t - compiles and runs on linux - tested with amaya still to do: - test win32 (This will have to be someone with a windows box :-) I think I did everything correctly. APR_HAS_RANDOM should be defined on windows and there is a lib/apr/misc/win32/rand.c which is basically a copy of what mod_auth_digest used to use. - error handling cleanup Since there is not currently a usable ap_strerror it is commented out. win32 error handling is virtually non-existant. I just don't know enough about win32 to touch this stuff. Brian Submitted by: Brian Martin Reviewed by: Bill Stoddard (very quick review, moving in right direction) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59866 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings, update dependencies.ben2000-03-181-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59724 13f79535-47bb-0310-9956-ffa450edef68
* Fix the logic for ap_signal, so it is exposed in external header files in APR.rbb2000-03-021-16/+0
| | | | | | | Also change the header file included in http_log.c. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59676 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protect the HAVE_SEMUN variable that was added. This has notrbb2000-01-241-1/+0
| | | | | | | | been tested fully, because I don't have access to a platform that uses semaphores, but the logic is sound. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59617 13f79535-47bb-0310-9956-ffa450edef68
* Typedef socklen_t instead of defining it.sascha2000-01-111-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59587 13f79535-47bb-0310-9956-ffa450edef68
* Use always ap_signal() in APR to avoid redefining the system call signal()sascha1999-12-311-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59564 13f79535-47bb-0310-9956-ffa450edef68
* Clean up APR's configure script a bit. This commit also allows Apache torbb1999-12-221-0/+1
| | | | | | | | | | specify that APR should be built without threads for the prefork MPM. This is broken if we then try to configure Apache again using a threaded MPM, but this is easily fixable, and I will be doing that soon. Lastly, I removed all thread calls from APR when it is told to build without threads. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59552 13f79535-47bb-0310-9956-ffa450edef68
* A couple of new functions for APR's time library.rbb1999-12-211-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59549 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup some mistakes I made. We are now configuring the APR_HAS_FOOrbb1999-12-061-2/+0
| | | | | | | | | | macros in a cleaner way IMO, and that required that we always use #if instead of #ifdef. I also used the wrong #if HAVE_SIGNAL_H macro in apr_pools.c. Submitted by: David Reid git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59505 13f79535-47bb-0310-9956-ffa450edef68
* Add Sendfile to APR. This is not well tested, and a test case is needed.rbb1999-12-041-0/+1
| | | | | | | | | | I did some minor cleanup work, mainly to integrate sendfile into the APR autoconf stuff. Submitted by: John Zedlewski Reviewed by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59503 13f79535-47bb-0310-9956-ffa450edef68
* The next step in removing the APR HAVE_*_H leak. This removes all of thoserbb1999-12-011-3/+0
| | | | | | | | | checks from the public include files, and removes all unnecessary #include of system headers from public APR headers. The final step will add back in the checks once I can protect the namespace. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59495 13f79535-47bb-0310-9956-ffa450edef68
* Some more cleanup. Stop trying to compile signals.rbb1999-11-171-2/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59479 13f79535-47bb-0310-9956-ffa450edef68
* Handle the fact that FreeBSD has threaded functions injim1999-11-131-0/+2
| | | | | | | libc_r and not libpthread git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59474 13f79535-47bb-0310-9956-ffa450edef68
* Fix a problem with the configure script. AC_CHECK_SIZEOF is only meant torbb1999-11-101-0/+1
| | | | | | | | | | | be used for built-in types. ssize_t is not a built-in type on all systems, so SIZEOF_SSIZE_T was consistently getting defined to 0 on all of my systems. This fixes that problem by re-writing AC_TRY_RUN (the default AC_TRY_RUN has issues that don't allow for getting the return code from the program) and using it to get the size of SSIZE_T. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59466 13f79535-47bb-0310-9956-ffa450edef68
* Defining _POSIX_THREAD_SAFE_FUNCTIONS for OS/2 is no longer appropriate.bjh1999-10-201-5/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59384 13f79535-47bb-0310-9956-ffa450edef68
* Remove all of the ugly SAFETY_LOCK code. APR determines if it has threadingrbb1999-10-191-0/+2
| | | | | | | | | | | support turned on. If so, it uses re-entrant functions that should be there. If the functions aren't there, we use non-re-entrant functions. If this causes problems in the future, we'll provide implementations of the re-entrant functions. For now though, this should work, and it is definately cleaner than what we had before. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59383 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Prevent locking around C library functions as they are thread safe.bjh1999-10-181-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59363 13f79535-47bb-0310-9956-ffa450edef68
* Isolate the APR thread-safety macros. This makes any macro available torbb1999-10-141-34/+0
| | | | | | | | ANY portion of APR. It also makes these macros internal to APR only, because this header file is not exposed to programs which use APR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59349 13f79535-47bb-0310-9956-ffa450edef68
* Map strcasecmp to stricmp if stricmp is available but strcasecmp isn't.bjh1999-10-111-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59306 13f79535-47bb-0310-9956-ffa450edef68
* Bring the misc code up to the APR parameter order spec. This also fixes a fewrbb1999-10-081-1/+1
| | | | | | | files I missed when doing the locks argument ordering fixes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59294 13f79535-47bb-0310-9956-ffa450edef68
* Fix some stupid bugs with the SAFETY_LOCK code.rbb1999-10-081-4/+3
| | | | | | | | | | PR: Obtained from: Submitted by: Manoj Kasichainula and Greg Stein Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59290 13f79535-47bb-0310-9956-ffa450edef68
* Make time functions threadsafe in APR. This is the current way to makerbb1999-10-061-0/+34
| | | | | | | | | a function thread-safe, when the C Run-Time function it relies on is NOT thread-safe. For more information, please read the message that will be posted to new-httpd@apache.org regarding this topic. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59273 13f79535-47bb-0310-9956-ffa450edef68
* Changes to let APR compile and build on AIX with a non GNU compiler.rbb1999-08-191-0/+24
| | | | | | | I'll test these on other systems now. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59165 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionrbb1999-08-171-0/+46
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68