summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* configure: Assume crypt() does not support SHA-2 when cross-compiling.Yann Ylavic2023-02-151-1/+1
| | | | | | | | Can be forced with "./configure ap_cv_crypt_sha2=yes ..." still. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907672 13f79535-47bb-0310-9956-ffa450edef68
* Use 'command -v' instead of 'which' which is more portable.Ruediger Pluem2023-01-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906387 13f79535-47bb-0310-9956-ffa450edef68
* core: log_tid support on FreeBSD.Yann Ylavic2022-06-161-0/+2
| | | | | | | | | | | Use pthread_getthreadid_np() when available. BZ: 65835 Submitted by: David CARLIER <devnexen gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901975 13f79535-47bb-0310-9956-ffa450edef68
* -qinitauto=FE conflicts with -qcheck=unsetEric Covener2022-06-041-1/+1
| | | | | | | | | | | maintainer mode only causes a warning for every compiler invocation. If automatics are initialized by -qinitauto, use before being assigned cannot be detected with -qcheck=unset (part of all) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901633 13f79535-47bb-0310-9956-ffa450edef68
* mod_unixd: Make CoreDumpDirectory work for FreeBSD 11+. PR 65819.Yann Ylavic2022-01-201-0/+2
| | | | | | | | | | FreeBSD 11+ coredumping requires tracing enabled via procctl(PROC_TRACE_CTL). Submitted by: David CARLIER <devnexen gmail.com> Reviewed by: ylavic (by inspection) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897269 13f79535-47bb-0310-9956-ffa450edef68
* bump autuconf min to 2.60Eric Covener2022-01-161-1/+1
| | | | | | | | AC_CHECK_TARGET_TOOLS is new in "2.59b" but not baking that weird arg in. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897136 13f79535-47bb-0310-9956-ffa450edef68
* * test infrastruture:Stefan Eissing2021-10-111-4/+1
| | | | | | | | | | | | - moved common pytest code into test/pyhttpd - does basic setup for a list of host names and some htdocs - added modules/core and moved encoding tests from http2 there - all test methods have module name in in prefix now, so to test only core, run > pytest -k test_core git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894134 13f79535-47bb-0310-9956-ffa450edef68
* * test/module/http2: test suite from github mod_h2 repositoryStefan Eissing2021-08-201-0/+4
| | | | | | | | | | | slightly adapted to run in a source build. usage: > make install # to have httpd, apxs etc. in place > cd test > pytest git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1892476 13f79535-47bb-0310-9956-ffa450edef68
* Enable mod_cgid stderr handling via Unix socket fd transfer byJoe Orton2021-02-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | default, rather than as an opt-in configure flag. (This has been tested in Fedora for >12 months without seeing any new problems) * configure.in: Check for CMSG_DATA here, and define HAVE_FDPASSING and $ap_has_fdpassing if fd passing is supported. * modules/generator/config5.m4, modules/generator/mod_cgid.c: Drop configure flag for mod_cgid fdpassing support, instead enable where possible by default. * modules/proxy/config.m4: Rely on configure test for CMSG_DATA. * .travis.yml: Switch test for cgid fdpassing for testing w/o CMSG_DATA. Github: closes #172 PR: 54221 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886912 13f79535-47bb-0310-9956-ffa450edef68
* 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-081-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-041-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