config.m4 revision 438b4817913a5ff55d9cad4c7ddf133330b4466e
dnl modules enabled in this directory by default
APACHE_MODPATH_INIT(proxy)
if test "$enable_proxy" = "shared"; then
proxy_mods_enable=shared
elif test "$enable_proxy" = "yes"; then
proxy_mods_enable=yes
else
proxy_mods_enable=no
fi
AC_CHECK_DECL(CMSG_DATA, [
proxy_mods_fdpass_enable="$proxy_mods_enable"
], [
proxy_mods_fdpass_enable="no"
], [
#include <sys/types.h>
#include <sys/socket.h>
])
proxy_objs="mod_proxy.lo proxy_util.lo"
APACHE_MODULE(proxy, Apache proxy module, $proxy_objs, , $proxy_mods_enable)
proxy_connect_objs="mod_proxy_connect.lo"
proxy_ftp_objs="mod_proxy_ftp.lo"
proxy_http_objs="mod_proxy_http.lo"
proxy_fcgi_objs="mod_proxy_fcgi.lo"
proxy_scgi_objs="mod_proxy_scgi.lo"
proxy_fdpass_objs="mod_proxy_fdpass.lo"
proxy_ajp_objs="mod_proxy_ajp.lo ajp_header.lo ajp_link.lo ajp_msg.lo ajp_utils.lo"
proxy_balancer_objs="mod_proxy_balancer.lo"
case "$host" in
*os2*)
# OS/2 DLLs must resolve all symbols at build time and
# these sub-modules need some from the main proxy module
proxy_connect_objs="$proxy_connect_objs mod_proxy.la"
proxy_ftp_objs="$proxy_ftp_objs mod_proxy.la"
proxy_http_objs="$proxy_http_objs mod_proxy.la"
proxy_fcgi_objs="$proxy_fcgi_objs mod_proxy.la"
proxy_scgi_objs="$proxy_scgi_objs mod_proxy.la"
proxy_fdpass_objs="$proxy_fdpass_objs mod_proxy.la"
proxy_ajp_objs="$proxy_ajp_objs mod_proxy.la"
proxy_balancer_objs="$proxy_balancer_objs mod_proxy.la"
;;
esac
APACHE_MODULE(proxy_connect, Apache proxy CONNECT module. Requires and is enabled by --enable-proxy., $proxy_connect_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_ftp, Apache proxy FTP module. Requires and is enabled by --enable-proxy., $proxy_ftp_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_http, Apache proxy HTTP module. Requires and is enabled by --enable-proxy., $proxy_http_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_fcgi, Apache proxy FastCGI module. Requires and is enabled by --enable-proxy., $proxy_fcgi_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_scgi, Apache proxy SCGI module. Requires and is enabled by --enable-proxy., $proxy_scgi_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_fdpass, Apache proxy to Unix Daemon Socket module. Requires --enable-proxy., $proxy_fdpass_objs, , $proxy_mods_fdpass_enable, [
if test $ac_cv_have_decl_CMSG_DATA = "no"; then
AC_MSG_ERROR([Your system does not support CMSG_DATA.])
fi
])
APACHE_MODULE(proxy_ajp, Apache proxy AJP module. Requires and is enabled by --enable-proxy., $proxy_ajp_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_balancer, Apache proxy BALANCER module. Requires and is enabled by --enable-proxy., $proxy_balancer_objs, , $proxy_mods_enable)
APACHE_MODULE(serf, [Reverse proxy module using Serf], , , no, [
APACHE_CHECK_SERF
if test "$ac_cv_serf" = "yes" ; then
APR_SETVAR(MOD_SERF_LDADD, [\$(SERF_LIBS)])
else
enable_serf=no
fi
])
APACHE_MODULE(proxy_express, mass reverse-proxy module. Requires --enable-proxy., , , most)
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
APACHE_MODPATH_FINISH