]> code.ossystems Code Review - openembedded-core.git/commit
site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
authorRoy.Li <rongqing.li@windriver.com>
Thu, 29 Nov 2012 09:19:25 +0000 (09:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Dec 2012 14:41:12 +0000 (14:41 +0000)
commitf31a7ed3463e169dc93f36cc0bbe084d3f99772a
tree24791d0c5bb0c3259350b196974cfedb55d3cbf1
parente85e1aace604626914a06dab4663094d6dd9b035
site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux

When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited
is always set to yes in cross compiling environment. This flag is intended to
think the socket, returned from accept(), inherit file status flags such as
O_NONBLOCK from the listening socket, but socket never inherits file status
from the listening socket on Linux (more information to man accept).

This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux
to site/common-linux.

If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the
same ip address(URL) with Apache web server via http(port 80) and https(port443)
without redirection

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/site/common-linux
meta/site/powerpc32-linux