diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-08-28 16:17:35 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-08-28 16:17:35 +0000 |
commit | 236030d697c5dfed497447fe506cae15ccd3e530 (patch) | |
tree | 25f68a4fb4e6312112e1d4cf4119c5832fd175d6 | |
parent | 772e5ace32bbf5ca0248edd5192b41db681fdac1 (diff) | |
download | libapr-236030d697c5dfed497447fe506cae15ccd3e530.tar.gz |
* build/apr_hints.m4 (APR_PRELOAD): Override the test for O_NONBLOCK
inheritance on OpenBSD since binding to an ephemeral port fails
on that platform.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65314 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/apr_hints.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 5aa03c952..edd5f9770 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -131,6 +131,9 @@ dnl # Not a problem in 10.20. Otherwise, who knows? ;; *-openbsd*) APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS]) + # binding to an ephemeral port fails on OpenBSD so override + # the test for O_NONBLOCK inheritance across accept(). + APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes]) ;; *-netbsd*) APR_ADDTO(CPPFLAGS, [-DNETBSD]) |