summaryrefslogtreecommitdiffstats
path: root/acinclude.m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid AC_TRY_RUN break with cross-compile.Guenter Knauf2012-04-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1328445 13f79535-47bb-0310-9956-ffa450edef68
* Next step to make cross compilation a bit easier.Guenter Knauf2012-04-201-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1328390 13f79535-47bb-0310-9956-ffa450edef68
* Improve indentation, no code changeStefan Fritsch2012-01-221-18/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234565 13f79535-47bb-0310-9956-ffa450edef68
* Make APACHE_MODULE() accept an optional prerequisite module for configure.Stefan Fritsch2012-01-201-3/+20
| | | | | | | | | | Introduce the following configure time dependencies: mod_proxy_* (except proxy_html) require mod_proxy mod_dav_* require mod_dav mod_session_* require mod_session git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234180 13f79535-47bb-0310-9956-ffa450edef68
* A stab at libapreq build integration, still disabled by default.Joe Orton2011-11-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200715 13f79535-47bb-0310-9956-ffa450edef68
* Only load the really imporant modules (i.e. those enabled by the 'few'Stefan Fritsch2011-11-101-1/+1
| | | | | | | | | | | selection) by default. Don't handle modules enabled with --enable-foo specially. This fixes problems with module dependencies until someone implements a mechanism for resolving module dependencies. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200491 13f79535-47bb-0310-9956-ffa450edef68
* Fix selection of loaded modules on AIX because its grep doesn't understand ↵Stefan Fritsch2011-11-101-2/+2
| | | | | | \< and \> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200064 13f79535-47bb-0310-9956-ffa450edef68
* Load all modules in the generated default configurationRainer Jung2011-11-081-0/+1
| | | | | | | 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-4/+9
| | | | | | | | | 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-0/+22
| | | | | | | | | | | | -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
* Allow to explicitly disable modules even with module selection 'reallyall'Stefan Fritsch2011-08-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154875 13f79535-47bb-0310-9956-ffa450edef68
* Enforce OpenSSL 0.9.7 as a minimum requirement in configure, andKaspar Brand2011-08-071-12/+9
| | | | | | | remove #ifdef'ed code which was relevant for earlier versions only. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154688 13f79535-47bb-0310-9956-ffa450edef68
* Drop support for the RSA BSAFE SSL-C toolkit from configure,Kaspar Brand2011-08-071-115/+60
| | | | | | | | | | | and remove #ifdef'ed code from mod_ssl and ab where applicable. Consensus for dropping support for SSL/TLS toolkits other than OpenSSL was reached on dev@httpd in June 2010 (message with ID <20100602162310.GA11156@redhat.com> and follow-ups). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154683 13f79535-47bb-0310-9956-ffa450edef68
* Simplify dependency checking code for mod_proxy_fdpass. This also fixesStefan Fritsch2011-08-051-0/+3
| | | | | | | | | mod_proxy_fdpass being built shared even with --enable-mods-static=reallyall. Document bug/limitiation in APACHE_MODULE macro. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154126 13f79535-47bb-0310-9956-ffa450edef68
* Enable ldap modules in 'all' and 'most' selections if ldap is compiled intoStefan Fritsch2011-08-051-0/+21
| | | | | | | apr-util git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154114 13f79535-47bb-0310-9956-ffa450edef68
* enable mod_ssl at level 'most'Stefan Fritsch2011-07-241-131/+136
| | | | | | | | | | | | | Let's assume that if a system has the openssl dev headers installed in the default location, it is very unlikely that crypto is forbidden in the country that the system is located in. If no ssl toolkit is found, disable mod_ssl instead of aborting. The actual change is small, use 'diff -b' to review git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1150471 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail if a module is selected for 'most' or 'all' but the dependenciesStefan Fritsch2011-07-241-8/+14
| | | | | | | are not fulfilled git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1150464 13f79535-47bb-0310-9956-ffa450edef68
* Tolerate dependency checking failures in configureRainer Jung2011-07-051-1/+1
| | | | | | | for modules that have been enabled only implicitely. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142892 13f79535-47bb-0310-9956-ffa450edef68
* Support reallyall option to configure also forRainer Jung2011-07-041-4/+4
| | | | | | | --enable-mods-static. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142623 13f79535-47bb-0310-9956-ffa450edef68
* keep -DAP_HOOK_PROBES_ENABLED (--enable-hook-probes) andJeff Trawick2011-05-091-0/+1
| | | | | | | | | | -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
* Removed leftover from 2.0.x.Guenter Knauf2010-10-201-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1025499 13f79535-47bb-0310-9956-ffa450edef68
* - Add reallyall option to configure to build everything that can be built withStefan Fritsch2010-06-191-12/+26
| | | | | | | | | | the available libs. - Remove redundant --with-distcache option. Simply enable distcache if mod_socache_dc is selected. - Enable serf support by default if serf is available in /usr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956221 13f79535-47bb-0310-9956-ffa450edef68
* Fix MPM event/libserf build problems: If libserf was installed during build,Stefan Fritsch2010-06-131-2/+46
| | | | | | | | | | | MPM event was picking up the headers but not linking with libserf, causing unresolved symbol errors. Now build MPM event with or without serf support depending on --with-serf being specified or not. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954273 13f79535-47bb-0310-9956-ffa450edef68
* make shared moduled and module set "most" the default.Rainer Jung2010-06-071-18/+40
| | | | | | | | | | | | | | | | | Static building can be achieved with --enable-mods-static or as previously using --enable-MODULE=static. The existing --enable-mods-shared still works for compatibility with existing build scripts. Modules build with --with-module=... will still be build static. For dynamic builds of external modules there is apxs. The default set of modules os now "most". To build a small set of modules use the new "few". If APR doesn't support DSOs we fall back to static binding. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952007 13f79535-47bb-0310-9956-ffa450edef68
* fix VPATH builds, broken by the support for --enable-mpms-sharedJeff Trawick2009-11-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@880775 13f79535-47bb-0310-9956-ffa450edef68
* fix bad doc for an argument to APACHE_MPM_MODULE()Jeff Trawick2009-11-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@836358 13f79535-47bb-0310-9956-ffa450edef68
* Add a LoadModule directive for the default MPM to the conf file when ↵Jeff Trawick2009-11-041-0/+4
| | | | | | | | | building MPMs as shared modules. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832778 13f79535-47bb-0310-9956-ffa450edef68
* Change the configure-based MPM build mechanism to support buildingJeff Trawick2009-11-031-0/+53
| | | | | | | | | | | an MPM as a shared shared or dynamic module, primarily using the APACHE_MPM_MODULE() function. --enable-mpms-shared now builds/installs the MPMs as dynamic modules. (But no LoadModule directives are added.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832434 13f79535-47bb-0310-9956-ffa450edef68
* Remove code to support per-dir-CA configuration which relies on aJoe Orton2009-03-231-1/+0
| | | | | | | | | | | | | | | function which was never included in OpenSSL: * acinclude.m4: Remove test for fictional function. * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Remove code. * modules/ssl/ssl_engine_config.c (MODSSL_SET_CA): Remove unused macro. (ssl_cmd_SSLCACertificatePath, ssl_cmd_SSLCACertificateFile): Fail if per-dir-CA is configured. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757380 13f79535-47bb-0310-9956-ffa450edef68
* Make OpenSSL pkg-config usage consistent so that we don't run the earlyJustin Erenkrantz2009-01-031-25/+29
| | | | | | | | | | | | | | configure checks against a /usr installed OpenSSL and then link against a different pkg-config installed OpenSSL. (Hint: Try with Mac OS X with MacPorts's OpenSSL or FreeBSD w/OpenSSL ports.) * acinclude.m4 (APACHE_CHECK_SSL_TOOLKIT): Load in pkg-config variables first before doing any OpenSSL checks so that we don't clobber things later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730926 13f79535-47bb-0310-9956-ffa450edef68
* Fix up SSL autoconf-fu so as not to emit bogus lines.Justin Erenkrantz2009-01-031-5/+4
| | | | | | | | | | * acinclude.m4 (APACHE_CHECK_SSL_TOOLKIT): Move CHECKING line to match; convert a warning to AC_MSG_WARN; remove a spurious SSL-C checking; redirect stderr from the pkgconfig so as not to spew on errors. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730914 13f79535-47bb-0310-9956-ffa450edef68
* SSL libs are needed in linking only for ab and mod_ssl.Rainer Jung2009-01-031-1/+7
| | | | | | | | | | | | In both cases we already include SSL_LIBS, so lets add the necessary link flags only to SSL_LIBS and not to EXTRA_LDFLAGS. The last of a series of changes of type "restrict link dependencies where possible". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730883 13f79535-47bb-0310-9956-ffa450edef68
* * Correctly set SSL_LIBS during openssl detection if pkgconfig is not available.Ruediger Pluem2008-11-061-2/+2
| | | | | | | PR: 46018 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711993 13f79535-47bb-0310-9956-ffa450edef68
* This macro for SSL detection was altogether wrong. RefactoringWilliam A. Rowe Jr2008-06-201-67/+45
| | | | | | | | | to restore the ability to build and link against a specified --with-ssl[c]=path, including use of pkg-config variables which were ignored during the autoconf test phase. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@669924 13f79535-47bb-0310-9956-ffa450edef68
* Since we are using AC_CACHE_CHECK, avoid warningJim Jagielski2008-06-091-4/+4
| | | | | | | about non-cached item by adding the required _cv_ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664701 13f79535-47bb-0310-9956-ffa450edef68
* Enable to configure the https port - missing pieces.Guenter Knauf2007-12-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@606806 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4: When enabling a static library, ensure that the module'sJustin Erenkrantz2006-03-181-0/+3
| | | | | | | | | dependent libraries are passed to the httpd link line. Some supported versions of GNU libtool as well as APR's jlibtool do not bubble-up static library dependencies. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@386792 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4 (APACHE_CHECK_SSL_TOOLKIT): Add PKG_CONFIG_PATH forJoe Orton2006-02-171-0/+4
| | | | | | | | | | specified OpenSSL location to avoid picking up system pkg-config configuration. PR: 38277 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@378473 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4 (APACHE_ENABLE_MODULES): Support passing "none" toJoe Orton2005-12-161-9/+14
| | | | | | | --enable-modules to build an httpd with no optional modules enabled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357168 13f79535-47bb-0310-9956-ffa450edef68
* Invert the "yes" and "no" values for $ap_void_ptr_lt_long, whichColm MacCarthaigh2005-10-041-3/+3
| | | | | | | as Rudiger points out; are exactly wrong. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@294902 13f79535-47bb-0310-9956-ffa450edef68
* One way or another, whether we leave the casts in or out, right now we areColm MacCarthaigh2005-10-041-0/+21
| | | | | | | | | | using "void *" containers to store long integers; Add a configure-time check to ensure that it is valid to assume that a "void *" container is large enough to store a long int. See <200510031150.j93Boh700945@devsys.jaguNET.com> and ensuing discussion on httpd-dev. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@294809 13f79535-47bb-0310-9956-ffa450edef68
* Use rsync to install manual and htdocs to speed up installation times.Justin Erenkrantz2005-09-301-0/+1
| | | | | | | | | | | | | | * Makefile.in: Update install-man and install-htdocs to use rsync if available, otherwise fail back to current cp -rp and rm -rf .svn/ strategy. * configure.in: Look for rsync. * acinclude.m4: Include RSYNC in exported config_vars.mk (Incorporates suggestions on rsync flags from colm.) Reviewed by: colm, trawick (concept), niq (concept) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@292718 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4 (APACHE_CHECK_APxVER): New macro, for checkingJoe Orton2005-09-271-0/+41
| | | | | | | an apr/apu version requirement. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291972 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, acinclude.m4: Substitute AP[RU]_CONFIG with locationJoe Orton2004-08-131-0/+2
| | | | | | | | | | | of installed ap[ru]-config scripts so third-party modules can use `apxs -q APR_CONFIG`. * support/apxs.in: Use new AP[RU]_CONFIG variables; use apr-config --apr-libtool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104641 13f79535-47bb-0310-9956-ffa450edef68
* Teach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-configJustin Erenkrantz2004-08-021-0/+2
| | | | | | | (httpd-2.1+ will be APR 1.0 or higher which uses this convention.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104443 13f79535-47bb-0310-9956-ffa450edef68
* Workaround RHEL 3 'cuteness' for OpenSSL by calling pkg-config openssl.Justin Erenkrantz2004-07-191-0/+14
| | | | | | | For more info, see: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82369 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104329 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4 (APACHE_MODPATH_ADD): Give the convenience library aJoe Orton2004-03-261-1/+1
| | | | | | | | less generic name; libtool 1.5 gets confused when linking libssl.la against -lssl if libssl.la already exists in the cwd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103164 13f79535-47bb-0310-9956-ffa450edef68
* Fix use of mod_ssl as a DSO linked against static SSL libraries; alsoJoe Orton2004-03-061-6/+9
| | | | | | | | | | | | | | | | | | | | stop linking all of support/* against the SSL libraries: * acinclude.m4 (APACHE_MODULE): Define MOD_FOO_LDADD which each module .la library will be linked against. (APACHE_MODPATH_ADD): Link static modules against the provided libraries. (APACHE_CHECK_SSL_TOOLKIT): Put SSL libraries in SSL_LIBS and export that to config_vars.mk. * support/Makefile.in: Link ab against SSL_LIBS. * modules/ssl/config.m4: Add SSL_LIBS and distcache libraries to MOD_SSL_LDADD. PR: 17217 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102870 13f79535-47bb-0310-9956-ffa450edef68
* Correct use of libtool: libtool convenience libraries which are to beJoe Orton2004-01-191-1/+2
| | | | | | | | | | | | | | | | | | linked directly into a program must be linked using -static and not -module. Fixes build issues with libtool HEAD. * acinclude.m4 (APACHE_MODPATH_ADD): For a static module, use a filename with a lib prefix. * build/rules.mk.in (MOD_LINK): Use -static not -module. * build/special.mk (install-modules): Adjust special-case for installation of shared modules to look for libso.la not mod_so.la. * build/library.mk: Link libraries using -static. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102381 13f79535-47bb-0310-9956-ffa450edef68
* * acinclude.m4 (APACHE_MODULE): Remove redundant $ac_n and $ac_cJoe Orton2004-01-091-1/+1
| | | | | | | variables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102242 13f79535-47bb-0310-9956-ffa450edef68