summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Make it so that the installed programs must explicitly set a value injerenkrantz2002-05-161-14/+17
| | | | | | | | | | | | the APR_FIND_APR, APR_FIND_APU macros to allow searching in the "default" locations when no --with-apr{-util} value is specified. Searching for default locations arbitrarily may result in locations being used that are out-of-date. (A variation on this may be to ignore directories that are equivalent to our prefix, but this seems safer.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63404 13f79535-47bb-0310-9956-ffa450edef68
* Enable autoconf/autoheader to be redefined by users.sascha2002-05-151-1/+1
| | | | | | | Submitted by: Joe Orton <joe@manyfish.co.uk> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63400 13f79535-47bb-0310-9956-ffa450edef68
* Added apr_strmatch.h to the precompile list that generates the final exportbnicholes2002-05-151-0/+1
| | | | | | | list for NetWare git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63399 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_MKDIR_P_CHECK macro based on httpd-2.0's APACHE_MKDIR_P_CHECK.jerenkrantz2002-05-141-0/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63396 13f79535-47bb-0310-9956-ffa450edef68
* Merge bjh's change to mkdir.sh from httpd-2.0.jerenkrantz2002-05-141-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63395 13f79535-47bb-0310-9956-ffa450edef68
* Linux, AIX: Use crypt_r() instead of crypt() because the nativetrawick2002-05-101-0/+53
| | | | | | | | | crypt() is not thread-safe. The misuse of crypt() led to intermittent failures with Apache basic authentication when crypt passwords were being used. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63385 13f79535-47bb-0310-9956-ffa450edef68
* Add /usr/local/apache2 directory to our default search path so thatjerenkrantz2002-05-101-1/+1
| | | | | | | | | | | | | people who have basic configurations of httpd-2.0 can find their APR and APR-util. (Kevin committed this to SVN.) Submitted by: Kevin Pilch-Bisson <kevin@pilch-bisson.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63380 13f79535-47bb-0310-9956-ffa450edef68
* Darwin: Global mutexes don't need an intraprocess mutex when Posixtrawick2002-05-091-0/+1
| | | | | | | sems are used for the crossprocess mutex. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63379 13f79535-47bb-0310-9956-ffa450edef68
* AIX: Global mutexes don't need an intraprocess mutex when SysVtrawick2002-05-091-0/+1
| | | | | | | sems are used for the crossprocess mutex. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63377 13f79535-47bb-0310-9956-ffa450edef68
* Fix a problem with global mutexes on OS/390 when something othertrawick2002-05-091-1/+1
| | | | | | | | | | | | | | than the default mechanism (fcntl) was used. The mutexes didn't necessarily block out other threads in the same process. This commit also adds the infrastructure to allow any individual process mutex mechanism to be declared as global for a platform so that APR doesn't wastefully use an extra thread mutex for any operations on a global mutex based on that process mutex mechanism. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63376 13f79535-47bb-0310-9956-ffa450edef68
* don't require that the DNS can map 127.0.0.1 when checkingtrawick2002-04-301-1/+1
| | | | | | | | | for the presence/usability of getnameinfo() PR: 7642 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63319 13f79535-47bb-0310-9956-ffa450edef68
* for the gethostbyname() path in apr_sockaddr_info_get(), always handletrawick2002-04-241-47/+0
| | | | | | | | | | | numeric address strings... this solved a weird binary compatibility problem Submitted by: Jon Travis Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63301 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresjerenkrantz2002-04-222-4/+6
| | | | | | | | | | | | srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to succeed when configured from an empty directory.jerenkrantz2002-04-181-2/+2
| | | | | | | | | | (Justin removed some unneeded changes in Makefile.in.) Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63274 13f79535-47bb-0310-9956-ffa450edef68
* Merge in latest GNU config.guess and config.sub files. Synchronize alljerenkrantz2002-04-162-503/+814
| | | | | | | | | | | | | | | | | | | | | | | | | | | | config.guess/config.sub files to be identical. Previously, we had three different versions of the guess files - now they are the same. I attempted to merge in ASF changes that were marked and still needed. Please verify that these work on your platform. (Particular attention is required for the IBM platforms.) Part of PR 7818 stems from the fact that the bundled expat did not have an included config.guess/config.sub. Therefore, it would take the config.guess from the system. Icarus's autoconf/libtool is very old (2.13/1.3.5). The machine that was used to roll 2.0.32 had a recent autoconf/libtool which explains the behavior that Sander saw in the PR. Therefore, we now explicitly provide a config.guess/.sub for the bundled expat so that all of the versions are in sync. This should minimize configuration problems. pcre was using a config.guess that was imported when Brian made the 3.9 import. It did not have the Apache modifications, but seems to have had the Darwin changes. Go figure. Sync it up as well. PR: 7818 Obtained from: GNU FSF - ftp.gnu.org/gnu/config git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63269 13f79535-47bb-0310-9956-ffa450edef68
* Added a test to determine whether the O_NONBLOCK socket flagbrianp2002-04-151-0/+113
| | | | | | | | is inherited across an accept(2). (Solaris 8, at least, has this property.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63265 13f79535-47bb-0310-9956-ffa450edef68
* Beos locks are global.dreid2002-04-131-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63257 13f79535-47bb-0310-9956-ffa450edef68
* Finished removing the locks API on NetWarebnicholes2002-04-091-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63240 13f79535-47bb-0310-9956-ffa450edef68
* pick up Brian Havard's fix to the Apache copy of this filetrawick2002-04-081-1/+1
| | | | | | | (from Apache 2.0.36-dev) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63231 13f79535-47bb-0310-9956-ffa450edef68
* FreeBSD: switch to FLOCK serialization by default (thanks, Jeff!) andgregames2002-04-011-5/+1
| | | | | | | clean up the STATUS file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63216 13f79535-47bb-0310-9956-ffa450edef68
* FreeBSD: use fcntl cross-process locks by default. Make note of problemsgregames2002-04-011-0/+5
| | | | | | | experienced with flock and SysV sems. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63215 13f79535-47bb-0310-9956-ffa450edef68
* define _XOPEN_SOURCE_EXTENDED on HP-UX 11; that gets us the sockettrawick2002-03-281-1/+1
| | | | | | | interface that APR uses git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63199 13f79535-47bb-0310-9956-ffa450edef68
* Added the NetWare version of atomic.c to the buildbnicholes2002-03-271-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63197 13f79535-47bb-0310-9956-ffa450edef68
* Make sure gethostbyname() can handle 255.255.255.255. Otherwise,trawick2002-03-241-0/+4
| | | | | | | | | | | we won't trust it to deal with numeric address strings properly and will use our own logic in apr_sockaddr_info_get(). This fixes an assertion failure at Apache startup when using vhosts on HP-UX. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63190 13f79535-47bb-0310-9956-ffa450edef68
* get APR_PATH_RELATIVE() to work on Tru64 and Solaris 8 againtrawick2002-03-231-1/+1
| | | | | | | | | (it still works on Linux) I think this is a shell issue dealing with nested double quotes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63188 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protect the "local" variables in this m4/autoconf macro.aaron2002-03-211-10/+10
| | | | | | | | Also, to satisfy the pedant in me, put {} delimiters around all the variables, and "" around the RHS of all assignments (in case of spaces). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63177 13f79535-47bb-0310-9956-ffa450edef68
* slight apr_sockaddr_info_get() simplification/speed-up:trawick2002-03-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | in the getaddrinfo() flavor we were needlessly building a string form of the port number to pass to getaddrinfo() so it would put it in the sockaddrs it built... but then we stuffed the port number in the sockaddrs anyway given that we no longer need getaddrinfo() to be able to handle port numbers properly, there is no sense checking for that ability at configure time suddenly we think that AIX 4.3.3.no-fixes has a working getaddrinfo() (it previously failed the pass-the-port-number- to-getaddrinfo check) but that level of AIX doesn't fill in the family field in the sockaddrs built by getaddrinfo()... rather than kludge around it in apr_sockaddr_info_get(), it is better to change the configure test to refuse to use getaddrinfo() on such a system git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63125 13f79535-47bb-0310-9956-ffa450edef68
* Lesser of 2 evils :)jim2002-03-141-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63118 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-133-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Fix weird error report... not sure whatjim2002-03-131-1/+1
| | | | | | | | brain damaged shell would misinterpret the current method, but this safes it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63116 13f79535-47bb-0310-9956-ffa450edef68
* make it work on linuxianh2002-03-111-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63102 13f79535-47bb-0310-9956-ffa450edef68
* configure now sets APR_RESOLV_RETRANSRETRY is the dns's timeout/retryianh2002-03-111-0/+28
| | | | | | | settings can be changed git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63100 13f79535-47bb-0310-9956-ffa450edef68
* Add a new m4 function, APR_PATH_RELATIVE, which takes a path variable andaaron2002-03-081-0/+20
| | | | | | | | | | | a prefix path to strip, and will only strip if they are relative. It also ensures that any additional /'s on the front of the stripped path are removed. Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63097 13f79535-47bb-0310-9956-ffa450edef68
* This is an ugly patch, but fixes a bug when subdir's are actuallyjim2002-03-071-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | symlinks to the real locations. For example, let's assume we have something like this: $ pwd /disk2/jim/src/CVS $ ls apr apr-util httpd-2.0 and httpd-2.0/srclib/apr is actually a symlink to ../../apr. Under Solaris, 'sh' (and maybe others) have this behavior: $ cd httpd-2.0 $ pwd /disk2/jim/src/CVS/httpd-2.0 $ cd srclib/apr $ pwd /disk2/jim/src/CVS/apr Thus, when APR_SUBDIR_CONFIG makes the cache-file pathname relative, we point someplace else. Ensuring that cache-file is absolute fixes this problem and means there's little restriction on the layouts of your httpd-2.0 tree. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63095 13f79535-47bb-0310-9956-ffa450edef68
* update for Mac OS X. -traditional-cpp is no longer recommended.fitz2002-03-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63093 13f79535-47bb-0310-9956-ffa450edef68
* Switching from a project build file to GNU make filesbnicholes2002-03-014-0/+727
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63075 13f79535-47bb-0310-9956-ffa450edef68
* Add a new m4 function APR_EXPAND_VAR that will iterativelyaaron2002-02-281-0/+22
| | | | | | | | interpolate the contents of a variable, such as $sysconfdir, for use in a borne script. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63069 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix APR locating script to take into account that scripts don't passbjh2002-02-231-4/+11
| | | | | | | | test -x on OS/2 as there's no x attribute to distinguish them from plain text files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63060 13f79535-47bb-0310-9956-ffa450edef68
* Ok... couldn't have gone so far without this script, so here it is.wrowe2002-02-211-0/+149
| | | | | | | | | | | | In fact, the Win32 .zip packages have been nothing more than lineends.pl converted Unix tarballs for several revisions now, although I regularly check out on Win32, expand the .html docs, and then diff to the tar converted package - to prove they are identical. Your results may vary, all reservations righted, void if detached. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63040 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of the global mutex APIsbnicholes2002-02-201-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63033 13f79535-47bb-0310-9956-ffa450edef68
* move all setting of CC to the APR_CC_HINTS mechanism.gregames2002-02-181-9/+27
| | | | | | | Suggested by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63025 13f79535-47bb-0310-9956-ffa450edef68
* Realign internal.c as the required apr_app static fn's, and removedwrowe2002-02-181-1/+1
| | | | | | | common code from apr_app into misc.c and internal.c git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63014 13f79535-47bb-0310-9956-ffa450edef68
* provide APR_CC_HINTS. This allows us to specify a default compilergregames2002-02-151-2/+16
| | | | | | | | | | | | | | which the user can override externally (i.e., the compiler choice isn't forced). Then AC_PROG_CC can verify that the compiler works, and logic in APR_PRELOAD can make decisions based on the compiler choice. This is most useful when AC_PROG_CC picks a compiler which exists but which isn't appropriate for APR's needs. On os390, AC_PROG_CC chose c89 which doesn't support long long by default. This caused problems with apr_int64_t in apr.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62991 13f79535-47bb-0310-9956-ffa450edef68
* Add autoconf-2.52f+ support. (It sets abs_builddir to be relative notjerenkrantz2002-02-151-1/+1
| | | | | | | | | | absolute!) Submitted by: Blair Zajac <blair@orcaware.com> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62988 13f79535-47bb-0310-9956-ffa450edef68
* Check for a directory not a non-empty string.jerenkrantz2002-02-151-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62986 13f79535-47bb-0310-9956-ffa450edef68
* This wasn't used in 2.0.31, so no fault, no foul; but we must be puttingwrowe2002-02-132-9/+9
| | | | | | | | | | | | Release stuff in Release paths. Also adds misc.c since my reorganization of some code in a bit will make more things tightly private and shared from misc.c. The misc.c code never includes exports, and the libapr_app code needs some of these private bits. An apr_app, on the other hand, does build with internal symbols exposed, so we don't need a recompile of the utf8_ucs2.c file - we can share. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62983 13f79535-47bb-0310-9956-ffa450edef68
* Fix how we do "and" tests.gstein2002-02-091-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62938 13f79535-47bb-0310-9956-ffa450edef68
* Added the renaming of apr_ldap.hnw to the prebuild for NetWarebnicholes2002-02-081-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62933 13f79535-47bb-0310-9956-ffa450edef68
* be a bit more restrictive: look for an exectuable apr-config, rathergstein2002-02-071-1/+1
| | | | | | | than just an existing file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62924 13f79535-47bb-0310-9956-ffa450edef68
* Big revamp of the find_apr.m4 script for locating an installed/bundledgstein2002-02-061-134/+53
| | | | | | | | | | | | | | | | | | copy of APR. Some associated changes in apr-config to better support the concept, and to fix some issues with apps using it for flags. * find_apr.m4: dramatic simplification. if we can find apr-config, then we can get all the possible information we might need: libraries, includes, linker flags, etc. So, most of the code was cut and we now just look for apr-config. The parameters to APR_FIND_APR have been clarified and cleand up to better support VPATH builds. * apr-config.in: glom all flags together to prevent newlines from getting in there. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62918 13f79535-47bb-0310-9956-ffa450edef68