summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix sequencing for older autoconf/libtool. Thanks for the report, Jeff.wrowe2009-11-141-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836077 13f79535-47bb-0310-9956-ffa450edef68
* bump to 2.59 baseline for autoconf (it -was- 5 yrs old, this year)wrowe2009-11-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835659 13f79535-47bb-0310-9956-ffa450edef68
* These are needed in 2.2.6 libtool to correctly libtoolize --copywrowe2009-11-121-0/+3
| | | | | | | and to create .dll's on win32 from the buildconf/configure schema git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835602 13f79535-47bb-0310-9956-ffa450edef68
* Just punt for now... jim2009-10-131-4/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824818 13f79535-47bb-0310-9956-ffa450edef68
* More Darwin mojo magic. Use Apple's apr.h edits as a guidejim2009-10-131-9/+11
| | | | | | | | and provide "hooks" to allow for other OS's to override at app-compile time some values and be safe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824762 13f79535-47bb-0310-9956-ffa450edef68
* Backport all poll changes from r734707 up to nowjim2009-10-021-0/+122
| | | | | | | from trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821199 13f79535-47bb-0310-9956-ffa450edef68
* Merge r809745, r810472 from trunk:jim2009-09-101-0/+9
| | | | | | | | | | | | | | | This is the right one... Fix APR_OFF_T_FMT which is lld for OS X 10.6 (darwin 10.0.0) since off_t ends up as a long long. predict future and keep mr rowe happy Reviewed/backported by: jim git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@813582 13f79535-47bb-0310-9956-ffa450edef68
* Backport r794485 and r795267 from the trunk.bojan2009-07-171-1/+106
| | | | | | | | Use more elaborate checks for epoll_create1, dup3 and accept4. PR 47519. Patch contribution: Chetan Reddy <chetanreddy gmail.com>. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@795268 13f79535-47bb-0310-9956-ffa450edef68
* Backport r793192 and r794118 from the trunk.bojan2009-07-161-0/+3
| | | | | | | | | | | | | Link again on OS X, where fdatasync() does not seem to exist. * configure.in Add check for fdatasync. * file_io/unix/readwrite.c (apr_file_datasync): Use fsync when fdatasync is not available. Move check for fdatasync out of extended file descriptor handling block. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@794484 13f79535-47bb-0310-9956-ffa450edef68
* Initialize several non-crosscompile decisions; Backports: r790392wrowe2009-07-011-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@790393 13f79535-47bb-0310-9956-ffa450edef68
* Backport r747990, r748361, r748371, r748565, r748988, r749810, r783958bojan2009-06-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | from the trunk. Set CLOEXEC flags where appropriate. Either use new O_CLOEXEC flag and associated functions, such as dup3(), accept4(), epoll_create1() etc., or simply set CLOEXEC flag using fcntl(). Patch by Stefan Fritsch <sf sfritsch.de> and Arkadiusz Miskiewicz <arekm pld-linux.org>. PR 46425. fix unused variable warning for builds without HAVE_DUP3 Unroll APR_SET_FD_CLOEXEC macro. * One missing unroll of APR_SET_FD_CLOEXEC. Document CLOEXEC patch. Only set CLOEXEC on dup() if both NOCLEANUP and INHERIT flags are clear. Retain the INHERIT/NOCLEANUP flags of new_file in apr_file_dup2(). Patch by Stefan Fritsch <sf sfritsch.de>. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@783970 13f79535-47bb-0310-9956-ffa450edef68
* Merge r733052 from trunk:jim2009-02-091-0/+4
| | | | | | | | | | | | | | | | | Fix buildconf with libtool 2.2: * buildconf: Use a different Extremely Ugly Hack to extract and copy the list of .m4 files needed directly from libtoolize. * configure.in: Include more files which might be needed by libtool. * build/: Ignore more. Submitted by: jorton Reviewed/backported by: jim git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@742743 13f79535-47bb-0310-9956-ffa450edef68
* Backport r731783 from the trunk.bojan2009-01-061-0/+3
| | | | | | | | Add AC_MSG_RESULT after AC_MSG_CHECKING. PR 46427 Patch by Rainer Jung <rainer.jung kippdata.de> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@731784 13f79535-47bb-0310-9956-ffa450edef68
* Fix APR_PID_T_FMT detection on Solaris.bojan2008-08-081-16/+16
| | | | | | | | Patch by Rainer Jung <rainer.jung kippdata.de>. PR 45513. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@683771 13f79535-47bb-0310-9956-ffa450edef68
* resolve testprocmutex failures on AIX and HP-UX by recognizing EACCEScovener2008-06-261-0/+64
| | | | | | | | in fcntl-based apr_proc_mutex_trylock(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@671955 13f79535-47bb-0310-9956-ffa450edef68
* Back out the 2.60 requirement, adopt conditional handling for thewrowe2008-06-201-1/+6
| | | | | | | | | | new AC_USE_SYSTEM_EXTENSIONS as of 2.60. Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@670000 13f79535-47bb-0310-9956-ffa450edef68
* Autoconf 2.60's 2nd birthday this coming thursday. As thiswrowe2008-06-201-2/+1
| | | | | | | is for maintainers, it's time to bump. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@669927 13f79535-47bb-0310-9956-ffa450edef68
* Using AC_CACHE_CHECK. So avoid warning about:jim2008-06-091-3/+3
| | | | | | | | configure.in:354: warning: AC_CACHE_VAL(atomic_builtins, ...): suspicious cache-id, must contain _cv_ to be cached git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@664702 13f79535-47bb-0310-9956-ffa450edef68
* Fix PR44367.bojan2008-05-291-1/+14
| | | | | | | | | | | | Caveats: - no idea if IBM's proprietary OSes actually have thread-safe version of getservbyname() function, just assumed that by looking at other similar functions being marked safe in APR detection code - works on Linux (Fedora 9, i.e. glibc2) Use thread safe versions of getservbyname(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@661178 13f79535-47bb-0310-9956-ffa450edef68
* Avert the pid "ld" format when building to huge-longs on solaris 64 bit.wrowe2008-05-021-1/+5
| | | | | | | | PR: 43388 Submitted by: Eric Covener <covener gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@652859 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Prefer /dev/urandom over /dev/random.jorton2008-05-021-1/+1
| | | | | | | | PR: 44881 Submitted by: bojan git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@652830 13f79535-47bb-0310-9956-ffa450edef68
* ignore /dev/*random on z/OS < V1R7trawick2007-11-181-1/+17
| | | | | | | Submitted by: David Jones; heavily modified by trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596126 13f79535-47bb-0310-9956-ffa450edef68
* add missing autoconf/m4 quoting to correct the dso implementationtrawick2007-11-031-3/+3
| | | | | | | | | choice on older Darwin/OS X as well as HP-UX throw in a similar fix for detection of ancient AIX git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@591624 13f79535-47bb-0310-9956-ffa450edef68
* On Darwin 9.0 the NSLoad... dyld API is deprecated; use dlopen.wrowe2007-11-021-5/+26
| | | | | | | | | On HPUX 64bit PA-RISC or IA64... shl_ API is deprecated; use dlopen. (Unless we can't in which case we'll jump on shl at the end.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@591191 13f79535-47bb-0310-9956-ffa450edef68
* Radical change that corrects a horrible misassumption; the featurewrowe2007-10-291-0/+4
| | | | | | | | | | | | | APR_HAS_LARGE_FILES means that we support offsets larger than memory could contain. An audit of the code reveals no functional changes in the compilation of the library. The testlfs.c source proves that this is the assumption of the users of this 'undocumented feature'. In fact, it's not possible to properly determine this publicly to adjust testlfs.c based on any other public symbol from the library. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589910 13f79535-47bb-0310-9956-ffa450edef68
* size_t is unsigned long on AIXtrawick2007-10-291-1/+1
| | | | | | | | fix hard-coded format string to match git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589841 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Move the ino_t test outside the enable_lfs=yes branch,jorton2007-10-291-8/+18
| | | | | | | | | and only define apr_ino_t as unsigned long in the case where a 32-bit ino_t is detected and hence may vary by _FILE_OFFSET_BITS; it's not necessary in the other cases. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589583 13f79535-47bb-0310-9956-ffa450edef68
* Define apr_ino_t in such a way that it doesn't change definitionwrowe2007-10-241-0/+9
| | | | | | | | | | based on the library consumer's -D'efines to the filesystem. Submitted by: Lucian Adrian Grijincu <lucian.grijincu gmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@587779 13f79535-47bb-0310-9956-ffa450edef68
* Pick up AIX 5.2 onwardswrowe2007-10-171-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@585348 13f79535-47bb-0310-9956-ffa450edef68
* Fill in apr_fileinfo_t member st_csize on Netware and Unixwrowe2007-10-171-2/+19
| | | | | | | | | | | | | | And refine the file times down to apr_time_t resolution if supported by a st_atimensec or st_atim.tv_nsec value by the OS. Additional msec implementations are possible if exposed through autoconf. PR: 41678 Authored by: William Rowe, Nicklas Edmundsson <nikke acc.umu.se> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@585343 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, Makefile.in: Define the libtool versioning hint in thejorton2007-09-251-1/+2
| | | | | | | Makefile rather than hard-coding in the (shared) apr_rules.mk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@579264 13f79535-47bb-0310-9956-ffa450edef68
* Improve detection of the printf format identifiers for apr_ssize_t and ↵davi2007-07-101-47/+65
| | | | | | | | | | | apr_size_t using the gcc (and icc) built-in __builtin_types_compatible_p (used to determine if two types are the same). This could also be achieved with another gcc extension (type redeclaration), but using the built-in seems more forward compatible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@554963 13f79535-47bb-0310-9956-ffa450edef68
* open(2) reads: mode must be specified when O_CREAT is in the flags.davi2007-07-051-1/+1
| | | | | | | | Submitted by: Rainer Jung <rainer.jung kippdata.de> PR: 42821 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553652 13f79535-47bb-0310-9956-ffa450edef68
* New apr_atomic implementation for PowerPC native atomic operations.davi2007-07-041-0/+9
| | | | | | | PR: 42806 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553293 13f79535-47bb-0310-9956-ffa450edef68
* Given a modern compiler, this patch provides fast atomic operations on variousdavi2007-07-041-0/+42
| | | | | | | | | | | | | | platforms (alpha, ia32, ia64, powerpc, etc). Tested on: 2x Pentium D, Ubuntu 7.04, gcc 4.1.2 16x Itanium II, RHEL 5, gcc 4.1.1 PR: 42806 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553290 13f79535-47bb-0310-9956-ffa450edef68
* This patch tries to address some of the apr_atomic problems by reorganizingdavi2007-07-041-1/+1
| | | | | | | | | | the various backends. The generic implementation is used when no specialized implementation fits the defined criterias, or when the user forces the choice. PR: 42806 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553289 13f79535-47bb-0310-9956-ffa450edef68
* Properly quote case pattern.davi2007-06-301-1/+1
| | | | | | | Noticed by: Joe Orton git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@552134 13f79535-47bb-0310-9956-ffa450edef68
* Define SEM_FAILED if it isn't already defined, as the proc mutexdavi2007-06-291-0/+9
| | | | | | | | code already does it. Also search for the sem_open function in the realtime library. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@551917 13f79535-47bb-0310-9956-ffa450edef68
* Some rare autoconf/m4 environments translitate differently and are droppingwrowe2006-09-081-1/+1
| | | | | | | | | | | | | the 'e's of our symbol, resulting in ac_cv_file__dv_zro - which then fails all the way down the line for providing pthread mechanics. Noted this especially on Solaris 8.x. Depreciate APR_CHECK_FILE, which will be shot dead with APR 2.0, thus @deprecate symbol for when we look to mass-purge dead APIs with grep. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@441558 13f79535-47bb-0310-9956-ffa450edef68
* Make apr compile on FreeBSD-4.xmartin2006-07-181-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@423003 13f79535-47bb-0310-9956-ffa450edef68
* Provide suitable hints to autoconf that mingw (Win32)'s process locks andjerenkrantz2006-07-141-0/+1
| | | | | | | mutexes are global. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421976 13f79535-47bb-0310-9956-ffa450edef68
* Link to librpcrt4.a.jerenkrantz2006-07-141-0/+1
| | | | | | | | | | | | | Rearrange header ordering in rand.c to ensure that the link decorations are imported correctly. Originally titled: [patch 17/17] Uuid Submitted by: John Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421805 13f79535-47bb-0310-9956-ffa450edef68
* Allow APR_HAS_PROC_INVOKED to be overriden for mingw by autoconf.jerenkrantz2006-07-131-0/+6
| | | | | | | | | | Originally titled: [patch 15/17] APR_HAS_PROC_INVOKED Submitted by: John Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421540 13f79535-47bb-0310-9956-ffa450edef68
* Move some of the mingw-specific checks into the hints m4 file instead.jerenkrantz2006-07-131-11/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421539 13f79535-47bb-0310-9956-ffa450edef68
* Allow mingw to have access to the Win32 'unicode' FS system.jerenkrantz2006-07-121-0/+11
| | | | | | | | | | Originally titled: [patch 06/17] Win32 unicode filesystem Submitted by: John Mark Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421094 13f79535-47bb-0310-9956-ffa450edef68
* Define struct iovec for mingw.jerenkrantz2006-07-121-0/+8
| | | | | | | | | | | | This patch also moves the iovec 'workaround' from apr.hw into apr_want.h too. Originally titled: [patch 09/17] struct iovec Submitted by: John Mark Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421075 13f79535-47bb-0310-9956-ffa450edef68
* Move the autoconf check for type 'in_addr' into a macro, and improve it to workjerenkrantz2006-07-121-11/+6
| | | | | | | | | | | | for Windows as well. Originally titled: [patch 11/17] struct in_addr Submitted by: John Mark Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421071 13f79535-47bb-0310-9956-ffa450edef68
* Set up apr.h and apr_private.h so that mingw can compile.jerenkrantz2006-07-121-0/+14
| | | | | | | | | Originally titled: [patch 05/17] win32api support Inspired by: John Mark Vandenberg git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421063 13f79535-47bb-0310-9956-ffa450edef68
* Allow configure to complete successfully on mingw.jerenkrantz2006-07-111-9/+51
| | | | | | | | | | | | | | | | | | | Originally titled: [patch 02/17] Windows library dependencies --- Windows symbols may a suffix of @<arg count>. A new macro APR_CHECK_DLL_FUNC looks for a @ sign in the function name; when present it will verify a symbol exists with the correct argument count. Otherwise, APR_CHECK_DLL_FUNC falls back to emulating AC_CHECK_LIB. Enables native threads, locking, DSO loading and shared memory. --- Submitted by: John Mark Vandenberg Tweaked by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421013 13f79535-47bb-0310-9956-ffa450edef68
* Implement apr_thread_yield on Unix in terms of pthread_yield or sched_yield.rooneg2006-06-301-1/+7
| | | | | | | | | | | | | | | | | Submitted by: Keisuke Nishida <keisuke.nishida gmail.com> Reviewed by: rooneg, Henry Jen <henryjen ztune.net> * configure.in: Look for pthread_yield and sched_yield. * include/arch/unix/apr_arch_threadproc.h: Include sched.h if it's present. * threadproc/unix/thread.c (apr_thread_yield): Actually do something in here... * CHANGES: Note change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@418351 13f79535-47bb-0310-9956-ffa450edef68