summaryrefslogtreecommitdiffstats
path: root/configure.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a new way to document changesRuediger Pluem2020-07-131-0/+1
| | | | | | | | | | | | | | | | | * Makefile.in: Define the update-changes target to merge the change files from the changes directory to the top of the CHANGES file and remove them afterwards. If a Subversion binary was found during configure try to svn rm them otherwise just delete them. * configure.in: Search for the Subversion binary. * acinclude.m4: Set the corresponding Makefile variable for the Subversion binary. * README.CHANGES: New file to document the new approach. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879822 13f79535-47bb-0310-9956-ffa450edef68
* Check for and use gettid() directly if available; glibc 2.30 and laterJoe Orton2020-07-071-5/+9
| | | | | | | | | | | | provides a wrapper for the system call: * configure.in: Check for gettid() and define HAVE_SYS_GETTID if gettid() is only usable via syscall(). * server/log.c (log_tid): Use gettid() directly if available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879591 13f79535-47bb-0310-9956-ffa450edef68
* configure: Add manualdir and proxycachedir to the APR_ENABLE_LAYOUT macro callGraham Leggett2019-12-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872103 13f79535-47bb-0310-9956-ffa450edef68
* Update APR version requirement to 1.6 or later per rough consensus onJoe Orton2019-11-121-2/+2
| | | | | | | | | | | | dev@ (see list thread from msgid <20191108094020.GA12979@redhat.com>). * configure.in: Fail with APR < 1.6. * .travis.yml: Build on Bionic by default, only build w/APR 1.5.x for the 2.4.x branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869684 13f79535-47bb-0310-9956-ffa450edef68
* Add support for SHA-2 crypt() algorithm in htpasswd.Joe Orton2019-06-211-0/+22
| | | | | | | | | | | | | | | | | * configure.in: Detect SHA-2 support in crypt(). * support/passwd_common.h: Define ALG_CRYPT_SHA256, ALG_CRYPT_SHA512, include ap_config_auto.h. * support/htpasswd.c (check_args): Allow -2, -5, -r arguments for SHA-256, SHA-256 and rounds options respectively. * support/passwd_common.c (parse_common_options): Parse -2, -5, -r args. (mkhash): Generate crypt hash for SHA256/SHA512 algorithms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861793 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, acinclude.m4: Inline APACHE_GEN_MAKEFILES in AC_CONFIG_COMMANDSJoe Orton2019-06-211-1/+6
| | | | | | | and run during the "normal" phase of ./config.status rather than as init-cmds. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861787 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Move modules.c creation to config.status.Joe Orton2019-06-211-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861769 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Fix enabling httpdunit w/o --enable-reduced-exports.Joe Orton2019-06-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861768 13f79535-47bb-0310-9956-ffa450edef68
* Add an --enable-reduced-exports configure option to link libmain.aJoe Orton2019-06-201-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | using ld's --whole-archive mode and avoid building exports.c entirely. This reduces the size of a minimal httpd binary by 18% on Linux/x86_64 (687K to 560K) with no difference to the set of symbols available to modules. This option is only appropriate to use if using a shared libapr* build, hence is non-default. * configure.in: Add --enable-reduced-exports; disable httpdunit build if used. Define AP_FORCE_EXPORTS if not enabled (default) in place of AP_USING_AUTOCONF. * server/main.c (ap_suck_in_APR): Only build if AP_FORCE_EXPORTS is defined. * Makefile.in: Link libmain.la using LIBMAIN_LIB. * server/Makefile.in: Conditionally build exports.c into libmain. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861685 13f79535-47bb-0310-9956-ffa450edef68
* Define "state directory" for storing persistent child-writable state,Joe Orton2018-10-051-1/+1
| | | | | | | | | | | | | | | | | | with default from config.layout, configurable via DefaultStateDir. * server/core.c (set_state_dir, ap_state_dir_relative): New functions. * config.layout, acinclude.m4, Makefile.in, configure.in: Define statedir variables, drop davlockdb. * include/ap_config_layout.h.in: Define DEFAULT_REL_STATEDIR, DEFAULT_EXP_STATEDIR in place of _DAVLOCKDB. * include/ap_mmn.h: Bump MMN minor. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842929 13f79535-47bb-0310-9956-ffa450edef68
* Patch PR 62567. Fix by Michal Karm Babacek <michal.babacek gmail.com>Jim Jagielski2018-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837717 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, Makefile.in: Handle no-test-suite case throughJoe Orton2018-06-071-1/+3
| | | | | | | | check-no rule. Only regenerate the test suite on repeated "make check" run if a header file has changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1833122 13f79535-47bb-0310-9956-ffa450edef68
* Fix pcre feature detection in configure whenRainer Jung2017-11-091-0/+4
| | | | | | | | using pcre2. Follow up to r1773454. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814662 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Fix help text for --with-suexec-syslog.Joe Orton2017-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1814465 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1812263.Yann Ylavic2017-10-161-15/+20
| | | | | | | | | | | | As suggested by Joe, add --maintainer/debugger-mode's CFLAGS in NOTEST_CFLAGS to avoid interractions with autoconf's AC_LANG_PROGRAM. APACHE_ADD_GCC_CFLAG now also forces -Wno-strict-prototypes for -Werror to work despite AC_LANG_PROGRAM generating this warning by itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812301 13f79535-47bb-0310-9956-ffa450edef68
* Fix maintainer mode with GCC/Clang.Rainer Jung2017-10-161-0/+4
| | | | | | | | | | | | | | | | | | | Setting -Wstrict-prototypes in combination with -Werror leads to compiler errors during configure checks (autoconf generates incomplete prototypes). Adding -Wno-error=strict-prototypes lets the compiler tolerate those. Possible future enhancement: remember such "configure time only" flags and remove them from CFLAGS before generating our build time files (Makefile, config_vars.mk etc.), so that the full -Werror is in place during building. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812263 13f79535-47bb-0310-9956-ffa450edef68
* GCC/Clang strict-prototypes handling in configure:Rainer Jung2017-10-161-10/+0
| | | | | | | | revert r1810998 and r1810448 before applying a more general solution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1812261 13f79535-47bb-0310-9956-ffa450edef68
* Also affects official clang 5 (maybe older ones too...)Jim Jagielski2017-10-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810998 13f79535-47bb-0310-9956-ffa450edef68
* Get maintainer-mode working again w/ clang-900Jim Jagielski2017-10-021-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810448 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: a Check-based unit test suiteJacob Champion2017-05-251-0/+16
| | | | | | | | | | | | | | | | | | | | Add a unit test suite based on Check: https://libcheck.github.io/check/ The suite depends on the build system to automatically generate the code stubs that call every test case. httpdunit is automatically enabled in the build if configure is able to find Check via pkg-config. At the moment pkg-config is the only official (non-deprecated) way to build and link against Check with an autoconf system, since platforms may distribute Check as a static library. Note that Check is an LGPL'd library, so we can't distribute test objects and binaries. Building and running the suite remains optional and is not required to run the server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796202 13f79535-47bb-0310-9956-ffa450edef68
* --with-test-suite: error instead of warning if Makefile.PL doesn't existJacob Champion2017-01-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/trunk-test-integration@1777695 13f79535-47bb-0310-9956-ffa450edef68
* Add a --with-test-suite option for "in-tree" testingJacob Champion2017-01-051-0/+15
| | | | | | | Step one. It's not actually "in-tree" yet, since it requires running `make install` first, but at least it gives us a `make check`. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/trunk-test-integration@1777384 13f79535-47bb-0310-9956-ffa450edef68
* Need to preserve --with-pcre value if not a path refWilliam A. Rowe Jr2016-12-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773870 13f79535-47bb-0310-9956-ffa450edef68
* Resolve shell syntax error noted by jim, tested against pcre8/pcre2-10William A. Rowe Jr2016-12-121-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773839 13f79535-47bb-0310-9956-ffa450edef68
* Diagnostic statement wasn't necessaryWilliam A. Rowe Jr2016-12-121-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773742 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to --with-pcre. Refuse to consider --without-pcre, that isWilliam A. Rowe Jr2016-12-121-2/+8
| | | | | | | | nonsequitor. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773741 13f79535-47bb-0310-9956-ffa450edef68
* Replace PCRE with PCRE2 where it is available.William A. Rowe Jr2016-12-091-10/+10
| | | | | | | | | | | | | | | | This patch removes the needless assignment of re_erroffset in the conf pool by the worker threads; such mistakes break the shared copy-on-write pages of memory that should have remained common between all httpd worker processes. Two de-optimizations are inherent in this patch, the former ovector-on-stack opportunity is lost unless implemented as a new general context. Safer that we either create a new general context using pool allocation, or recycle a per pool or per thread match_data buffer of some arbitrary 10 elts or so. Submitted by: wrowe, Petr Pisar <ppisar@redhat.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773454 13f79535-47bb-0310-9956-ffa450edef68
* configure: remove orphaned APACHE_OUTPUT macroJacob Champion2016-07-181-1/+1
| | | | | | | The last use of APACHE_OUTPUT appears to have been removed back in r87231. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753316 13f79535-47bb-0310-9956-ffa450edef68
* configure: move away from obsolete AC_OUTPUT argsJacob Champion2016-07-181-3/+3
| | | | | | | | AC_OUTPUT's use with arguments was obsoleted back at or before autoconf 2.50. Replace it with the preferred AC_CONFIG_FILES/AC_CONFIG_COMMANDS calls. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753315 13f79535-47bb-0310-9956-ffa450edef68
* httpd compiles warning free on gcc and every new warning will be treated as ↵Stefan Eissing2015-09-141-2/+22
| | | | | | an error, standard c-89 is enforced git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1702948 13f79535-47bb-0310-9956-ffa450edef68
* Add HTTPD_VERSION and HTTPD_MMN to the variables available with apxs -qEric Covener2015-08-031-1/+1
| | | | | | | | | | | | PR58202. Submitted By: Daniel Shahaf Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1693919 13f79535-47bb-0310-9956-ffa450edef68
* Work around issues w/ "broken" BSD Makefile translation...Jim Jagielski2015-04-241-0/+2
| | | | | | | If we have gmake, then prefer that. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675819 13f79535-47bb-0310-9956-ffa450edef68
* Fix detection of old Solaris versions.Rainer Jung2015-01-191-1/+1
| | | | | | | Autotools need double square brackets. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1652982 13f79535-47bb-0310-9956-ffa450edef68
* Fix --enable-v4-mapped configuration on *BSD. PR 53824.Yann Ylavic2015-01-191-1/+1
| | | | | | | | Submitted by: olli hauer <ohauer gmx.de> Committed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1652929 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, acinclude.m4: Move systemd check to APACHE_CHECK_SYSTEMDJoe Orton2014-07-311-12/+1
| | | | | | | and use pkg-config where available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614821 13f79535-47bb-0310-9956-ffa450edef68
* Fix syntax error introduced in r1612921.Rainer Jung2014-07-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613029 13f79535-47bb-0310-9956-ffa450edef68
* Check for correct minimum PCRE version in configure,Rainer Jung2014-07-231-1/+3
| | | | | | | do not check in source code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612921 13f79535-47bb-0310-9956-ffa450edef68
* Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't inBen Reser2014-04-071-0/+3
| | | | | | | the default includes path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1585590 13f79535-47bb-0310-9956-ffa450edef68
* Check if PCRE_DUPNAMES exists at configure timeJim Jagielski2014-03-191-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1579259 13f79535-47bb-0310-9956-ffa450edef68
* Allow user to explicitly determine whether or not BSD syntaxJim Jagielski2013-12-231-16/+35
| | | | | | | | | makefiles should be created... The default is NO unless we are on a *BSD* system, in which case we actually see if 'make' is gmake or not. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1553134 13f79535-47bb-0310-9956-ffa450edef68
* For *bsd* systems, see if we are using BSD make and,Jim Jagielski2013-12-201-2/+13
| | | | | | | if so, then use that format for include/ifdef/else/endif git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1552779 13f79535-47bb-0310-9956-ffa450edef68
* FreeBSD: Disable IPv4-mapped listening sockets by default for versionsJeff Trawick2013-12-171-1/+4
| | | | | | | | | 5+ instead of just for FreeBSD 5. PR: 53824 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551685 13f79535-47bb-0310-9956-ffa450edef68
* Don't link support/* against systemd libs.Joe Orton2013-10-011-1/+3
| | | | | | | | | | * Makefile.in: Link httpd using $(HTTPD_LIBS). * configure.in: Add systemd to HTTPD_LIBS rather than LIBS. Add PCRE libs to HTTPD_LIBS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528034 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Simplify/fix systemd detection: move later to fixJoe Orton2013-10-011-9/+13
| | | | | | | | | | | autoconf warnings; define HAVE_SYSTEMD rather than using CPPFLAGS. * server/listen.c: Use HAVE_SYSTEMD for systemd #define. * modules/arch/unix/config5.m4: Update systemd headers check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528032 13f79535-47bb-0310-9956-ffa450edef68
* Add support for systemd socket activation to listener sockets.Paul Querna2013-08-061-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1511033 13f79535-47bb-0310-9956-ffa450edef68
* maintainer-mode should auto-enable mod_bucketeerJim Jagielski2013-07-161-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1503680 13f79535-47bb-0310-9956-ffa450edef68
* core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimizationJeff Trawick2013-06-251-2/+3
| | | | | | | | | | | on Linux kernel versions 3.x and above. PR: 55121 Submitted by: Bradley Heilbrun <apache heilbrun.org> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496429 13f79535-47bb-0310-9956-ffa450edef68
* Avoid valgrind warnings in mod_ssl random number generatorStefan Fritsch2013-02-041-0/+16
| | | | | | | | | | We intentionally add uninitialized stack memory. To avoid warnings, make valgrind believe that the memory is defined. Add configure option to enable valgrind support git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442307 13f79535-47bb-0310-9956-ffa450edef68
* follow-up to r1389481: find/use getloadavg() prototype on SolarisJeff Trawick2012-10-121-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1397716 13f79535-47bb-0310-9956-ffa450edef68
* configure: Fix processing of --disable-FEATURE for various features.Jeff Trawick2012-10-121-34/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1397687 13f79535-47bb-0310-9956-ffa450edef68