summaryrefslogtreecommitdiffstats
path: root/configure.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Would be nice to have some sort of canonical definitionJim Jagielski2012-09-241-1/+2
| | | | | | | | | of server loading for Apache. So create a struct that holds some useful data. The hope is that for those platforms that lack getloadavg(), people will write replacements. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1389481 13f79535-47bb-0310-9956-ffa450edef68
* consolidate hints/instructions about using APR (and maybe APR-util) with httpdJeff Trawick2012-09-231-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1389060 13f79535-47bb-0310-9956-ffa450edef68
* Spin off module-specific build options into separate build vars.Kaspar Brand2012-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | [second try, supersedes r1385214] Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands, which are available to modules for customization on a per-subdir basis (by adding definitions to modules.mk). Reduces the risk of side-effects when a module needs to add CFLAGS, LDFLAGS etc. and these would be added to the global settings (ALL_CFLAGS etc.). Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate, mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx build variables. Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where they appear at the proper position in the build commands. Consistently use "--with-xxx=PATH" in configure help strings which are used to specify a path to the installation directory of an auxiliary package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385216 13f79535-47bb-0310-9956-ffa450edef68
* revert r1385214, as I inadvertently left out acinclude.m4.Kaspar Brand2012-09-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385215 13f79535-47bb-0310-9956-ffa450edef68
* Spin off module-specific build options into separate build vars.Kaspar Brand2012-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands, which are available to modules for customization on a per-subdir basis (by adding definitions to modules.mk). Reduces the risk of side-effects when a module needs to add CFLAGS, LDFLAGS etc. and these would be added to the global settings (ALL_CFLAGS etc.). Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate, mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx build variables. Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where they appear at the proper position in the build commands. Consistently use "--with-xxx=PATH" in configure help strings which are used to specify a path to the installation directory of an auxiliary package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385214 13f79535-47bb-0310-9956-ffa450edef68
* fix APREQ declarations for MinGW buildsJeff Trawick2012-07-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363033 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Enforce 1.4.0 as minimum APR version requirement.Joe Orton2012-06-081-1/+10
| | | | | | | PR: 52748 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1347998 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Correct handling of --with-suexec-logfile in r1341905,Joe Orton2012-06-011-0/+2
| | | | | | | thanks to rpluem. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345147 13f79535-47bb-0310-9956-ffa450edef68
* Make ap_regcomp() return AP_REG_ESPACE if out of memory. Make ap_pregcomp()Stefan Fritsch2012-05-271-0/+5
| | | | | | | | | abort if out of memory. This raises the minimum PCRE requirement to version 6.0, released in 2005. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1343109 13f79535-47bb-0310-9956-ffa450edef68
* suexec: Support use of setgid/setuid capability bits on Linux, aJoe Orton2012-05-231-0/+9
| | | | | | | | | | | | | | | | | weaker set of privileges than the full setuid/setgid root binary. * configure.in: Add --enable-suexec-capabilites flag. * Makefile.in: If configured, use setcap instead of chmod 7555 on installed suexec binary. * modules/arch/unix/mod_unixd.c (unixd_pre_config): Drop test for setuid bit if capability bits are used. * docs/manual/: Add docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1342065 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Use AC_MSG_NOTICE so passing --silent works as advertised.Joe Orton2012-05-231-6/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1341913 13f79535-47bb-0310-9956-ffa450edef68
* suexec: Add support for logging to syslog as an alternative to aJoe Orton2012-05-231-1/+18
| | | | | | | | | | | | | | logfile. * support/suexec.c (err_output) [AP_LOG_SYSLOG]: Log to syslog. (main): Close syslog fd if open, before execv. Add -V output for AP_LOG_SYSLOG. * configure.in: Add --with-suexec-syslog argument; allow --without-suexec-logfile to omit definition of AP_LOG_EXEC. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1341905 13f79535-47bb-0310-9956-ffa450edef68