]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Add a declaration check for CMSG_DATA to mod_proxy_fdpass.
authorRainer Jung <rjung@apache.org>
Fri, 2 Jan 2009 18:15:02 +0000 (18:15 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 2 Jan 2009 18:15:02 +0000 (18:15 +0000)
commit13618e8c659bed4a80de4cfabf3d4bda022c0877
tree5cc22d41f0cdf0992ed13261222aec051d2046a4
parent59b02aa75bdb23e08475fc11225f6092677a29e0
Add a declaration check for CMSG_DATA to mod_proxy_fdpass.
Also move '#error' after the includes, because it seems
CMSG_DATA is commonly defined in sys/socket.h.

The check also overwrites _apmod_error_fatal in case
CMSG_DATA is not defined to allow building when configure
was called with "--enable-proxy". Otherwise one would need
to explicitly disable mod_proxy_fdpass.

We might want to remove the #error completely, because the
new feature test prevents the building of the module when
the symbol is not defined.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730803 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/config.m4
modules/proxy/mod_proxy_fdpass.c