summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge r1812263, r1812301 from trunk:Jim Jagielski2017-10-171-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix maintainer mode with GCC/Clang. 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. Follow up to r1812263. 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. Submitted by: rjung, ylavic Reviewed by: ylavic, rjung, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1812437 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1702948, r1759415 from trunk:Jim Jagielski2016-12-021-2/+21
| | | | | | | | | | | httpd compiles warning free on gcc and every new warning will be treated as an error, standard c-89 is enforced http_config: follow up to r1702948: maybe unused, yet maybe usefull too. Submitted by: icing, ylavic Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1772330 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1753315, r1753316 from trunk:Jim Jagielski2016-09-231-3/+3
| | | | | | | | | | | | | | | | | | configure: move away from obsolete AC_OUTPUT args 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. configure: remove orphaned APACHE_OUTPUT macro The last use of APACHE_OUTPUT appears to have been removed back in r87231. Submitted by: jchampion Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1762055 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1693919 from trunk:Jim Jagielski2015-09-051-1/+1
| | | | | | | | | | | | | | | | | Add HTTPD_VERSION and HTTPD_MMN to the variables available with apxs -q PR58202. Submitted By: Daniel Shahaf Committed By: covener Submitted by: covener Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1701408 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1652982 from trunk:Jim Jagielski2015-01-221-1/+1
| | | | | | | | | | | Fix detection of old Solaris versions. Autotools need double square brackets. Submitted by: rjung Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1653963 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1652929, r1652931 from trunk:Jim Jagielski2015-01-221-1/+1
| | | | | | | | | | | | Fix --enable-v4-mapped configuration on *BSD. PR 53824. Submitted by: olli hauer <ohauer gmx.de> Committed by: ylavic Submitted by: ylavic Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1653962 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1551685 from trunk:Jim Jagielski2014-02-201-1/+4
| | | | | | | | | | | | | FreeBSD: Disable IPv4-mapped listening sockets by default for versions 5+ instead of just for FreeBSD 5. PR: 53824 Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1570322 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1503680 from trunk:Jim Jagielski2013-08-191-0/+4
| | | | | | | | | maintainer-mode should auto-enable mod_bucketeer Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1515477 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1496429 from trunk:Jim Jagielski2013-06-261-2/+3
| | | | | | | | | | | | | | | core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization on Linux kernel versions 3.x and above. PR: 55121 Submitted by: Bradley Heilbrun <apache heilbrun.org> Reviewed by: trawick Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1496916 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1397687 from trunk:Jim Jagielski2013-01-091-31/+41
| | | | | | | | | | configure: Fix processing of --disable-FEATURE for various features. Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1430949 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1343109:Stefan Fritsch2012-12-091-0/+5
| | | | | | | | | | | | | Make ap_regcomp() return AP_REG_ESPACE if out of memory. Make ap_pregcomp() abort if out of memory. This raises the minimum PCRE requirement to version 6.0, released in 2005. Reviewed by: jim, sf, minfrin git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1418930 13f79535-47bb-0310-9956-ffa450edef68
* * core: Add in ap_get_sload() and ap_get_loadavg().Jim Jagielski2012-11-151-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1409924 13f79535-47bb-0310-9956-ffa450edef68
* backport r1385216, r1387610 from trunk:Jim Jagielski2012-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Spin off module-specific build options into separate build vars. [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/branches/2.4.x@1390518 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1341906, r1341913 from trunk:Joe Orton2012-07-231-6/+18
| | | | | | | | | | | * acinclude.m4: Use AC_MSG_NOTICE. * configure.in: Use AC_MSG_NOTICE so passing --silent works as advertised. Reviewed by: rjung, humbedooh, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364675 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1347998 from trunk:Jim Jagielski2012-07-101-1/+10
| | | | | | | | | | | | * configure.in: Enforce 1.4.0 as minimum APR version requirement. PR: 52748 Submitted by: jorton Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1359688 13f79535-47bb-0310-9956-ffa450edef68
* Fix shell syntax error introduced in r1243670.Rainer Jung2012-02-141-2/+2
| | | | | | | Backport of r1243797 and r1243799 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1243800 13f79535-47bb-0310-9956-ffa450edef68
* Fix out of tree build using apr and apr-util in srclib.Rainer Jung2012-02-131-3/+3
| | | | | | | Also rephrase remaining mentioning of the deps package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1243670 13f79535-47bb-0310-9956-ffa450edef68
* Correct the --with_included_apr error message. We no longer provideJim Jagielski2012-02-081-1/+1
| | | | | | | | an included/bundled version of apr/apu for the convenience of our users. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1241897 13f79535-47bb-0310-9956-ffa450edef68
* configure: Move the --with-included-apr check so that srcdir!=builddir buildsRainer Jung2012-01-311-10/+10
| | | | | | | | | aren't broken by it. Backport of r1232838 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1238400 13f79535-47bb-0310-9956-ffa450edef68
* Backport:Graham Leggett2012-01-171-8/+14
| | | | | | | | configure: Improve the error message when --with-included-apr is specified but either APR or APR-Util is not included. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1232576 13f79535-47bb-0310-9956-ffa450edef68
* Set --enable-load-all-modules implicitely inRainer Jung2011-11-121-9/+14
| | | | | | | | | maintainer mode unless disabled explicitely. Backport of r1201306 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1201307 13f79535-47bb-0310-9956-ffa450edef68
* Add default proxy-html.conf file (defines links to be rewrittenNick Kew2011-11-101-1/+1
| | | | | | | according to W3C HTML 4 and XHTML 1). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200060 13f79535-47bb-0310-9956-ffa450edef68
* Load all modules in the generated default configurationRainer Jung2011-11-081-0/+8
| | | | | | | when using --enable-load-all-modules with configure. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199467 13f79535-47bb-0310-9956-ffa450edef68
* By default, only load those modules that are either requiredStefan Fritsch2011-11-081-0/+4
| | | | | | | | | or explicitly selected by a configure --enable-foo argument. The LoadModule statements for modules enabled by --enable-mods-shared=most and friends will be commented out. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199027 13f79535-47bb-0310-9956-ffa450edef68
* Add some CFLAGS in maintainer mode if supported by gcc:Stefan Fritsch2011-10-081-20/+10
| | | | | | | | | | | | -Wformat -Wformat-security -Werror=format-security -Werror=declaration-after-statement Add new macro APACHE_ADD_GCC_CFLAGS to do the compatibility check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180331 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1129808:Stefan Fritsch2011-07-231-1/+0
| | | | | | | | | | | | Incorporate the ap_ldap incomplete API, as there is no interest or effort at APR to make this a complete abstraction, and it was voted 'off the island' with APR 2.0. This will allow httpd 2.3 to build against either apr-2.0 or apr+util 1.x. This also reverts part of r1142938, which needs to be re-done. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/revert-ap-ldap@1150172 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1131393:Stefan Fritsch2011-07-231-3/+0
| | | | | | | | | Several fixes for the ap_ldap build logic. This should fix compilation without --with-ldap. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/revert-ap-ldap@1150165 13f79535-47bb-0310-9956-ffa450edef68
* Move PCRE_LIBS from HTTPD_LDFLAGS toRainer Jung2011-07-051-1/+0
| | | | | | | | | | | | PROGRAM_LDADD. Otherwise -lpcre comes before libmain which leads to undefined recences during linking of httpd. Followup to r1142739. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142893 13f79535-47bb-0310-9956-ffa450edef68
* Line already contained in aclocal.m4.Rainer Jung2011-07-041-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142742 13f79535-47bb-0310-9956-ffa450edef68
* Only link the httpd binary against PCRE.Rainer Jung2011-07-041-1/+2
| | | | | | | No other support binary needs PCRE. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142739 13f79535-47bb-0310-9956-ffa450edef68
* Add support to ErrorLogFormat for logging the system uniqueStefan Fritsch2011-06-221-0/+12
| | | | | | | thread id under Linux git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1138616 13f79535-47bb-0310-9956-ffa450edef68
* Several fixes for the ap_ldap build logic. This should fix compilationStefan Fritsch2011-06-041-0/+3
| | | | | | | without --with-ldap. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1131393 13f79535-47bb-0310-9956-ffa450edef68
* Incorporate the ap_ldap incomplete API, as there is no interest or effortWilliam A. Rowe Jr2011-05-311-0/+1
| | | | | | | | | | at APR to make this a complete abstraction, and it was voted 'off the island' with APR 2.0. This will allow httpd 2.3 to build against either apr-2.0 or apr+util 1.x. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1129808 13f79535-47bb-0310-9956-ffa450edef68
* Silence autoconf 2.68 warnings.Rainer Jung2011-05-091-2/+2
| | | | | | | | Add AC_LANG_SOURCE to the two occurences of AC_COMPILE_IFELSE in configure.in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101216 13f79535-47bb-0310-9956-ffa450edef68
* keep -DAP_HOOK_PROBES_ENABLED (--enable-hook-probes) andJeff Trawick2011-05-091-2/+4
| | | | | | | | | | -DAP_DECLARE_EXPORT (MinGW builds) out of the *CPPFLAGS used for third-party module builds introduce INTERNAL_CPPFLAGS for that; apxs bypasses this git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101211 13f79535-47bb-0310-9956-ffa450edef68
* Use AP_ instead of APR_ and move into the compile CPPJim Jagielski2011-05-091-1/+2
| | | | | | flags git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101077 13f79535-47bb-0310-9956-ffa450edef68
* Start of ap_hooks.h setupJim Jagielski2011-05-091-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101066 13f79535-47bb-0310-9956-ffa450edef68
* move -L/path/to/pcrelib -lpcre out beyond all the LDFLAGSJeff Trawick2011-04-141-3/+1
| | | | | | | this fixes unresolved symbol errors on on MinGW git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092445 13f79535-47bb-0310-9956-ffa450edef68
* AP_ENABLE_V4_MAPPED with WinNT MPMJeff Trawick2011-04-121-22/+25
| | | | | | | | | | | mpm_winnt.c: Fail to compile if enabled, and add a hint about the issue to address before it will work. configure.in: Move the --enable-v4-mapped check to below the MPM logic, and default to --disable-v4-mapped if using the WinNT MPM git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091467 13f79535-47bb-0310-9956-ffa450edef68
* Allow apr and apr-util to be in 2 different location.Jean-Frederic Clere2011-04-121-1/+9
| | | | | | | Otherwise: apr_version.h is not found when apr-util is tested. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1091330 13f79535-47bb-0310-9956-ffa450edef68
* Fix link errors for crypt() with --no-add-needed/--no-copy-dt-needed-entries,Stefan Fritsch2011-02-161-0/+7
| | | | | | | which is the default for the gold linker. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1071426 13f79535-47bb-0310-9956-ffa450edef68
* revert r1066944, r1067177 for nowStefan Fritsch2011-02-051-5/+1
| | | | | | | | | breaks MacOS X and wherever this code will go, server/main.c does not seem to be the right place. See http://mail-archives.apache.org/mod_mbox/httpd-dev/201102.mbox/%3C01930193-8A3B-4635-9EB0-5EE31349E49C@jaguNET.com%3E git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1067483 13f79535-47bb-0310-9956-ffa450edef68
* Reload resolv.conf on graceful restartsStefan Fritsch2011-02-031-1/+5
| | | | | | | | PR: 50619 Submitted by: Matt Miller <m miller f5 com>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1066944 13f79535-47bb-0310-9956-ffa450edef68
* A new mode that is maintainer + O0 (for better gdb)Jim Jagielski2011-01-311-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1065751 13f79535-47bb-0310-9956-ffa450edef68
* Move some "nice to be able to change" balancer stuff to shmJim Jagielski2011-01-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1065748 13f79535-47bb-0310-9956-ffa450edef68
* Mkae gcc no longer silent when doing arith on void*...Jim Jagielski2011-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1061883 13f79535-47bb-0310-9956-ffa450edef68
* Use -Wdeclaration-after-statement in maintainer mode if we use a recentStefan Fritsch2011-01-111-0/+10
| | | | | | | enough gcc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1057868 13f79535-47bb-0310-9956-ffa450edef68
* Support large log files in suexecStefan Fritsch2010-08-221-1/+2
| | | | | | | PR: 45856 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987861 13f79535-47bb-0310-9956-ffa450edef68
* prevent an error message if an old autoconf without AC_PROG_CC_C99 is used butStefan Fritsch2010-06-141-1/+1
| | | | | | | print a meaningful warning instead git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954588 13f79535-47bb-0310-9956-ffa450edef68
* Building DSOs by default should set MOD_SO_ENABLED.Rainer Jung2010-06-071-1/+1
| | | | | | Without this patch apxs doesn't recognize we have DSO support. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952384 13f79535-47bb-0310-9956-ffa450edef68