jorton 2004/08/28 09:17:35
Modified: build apr_hints.m4
Log:
* 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.
Revision Changes Path
1.69 +3 -0 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.68
retrieving revision 1.69
diff -d -w -u -r1.68 -r1.69
--- apr_hints.m4 12 Aug 2004 13:44:29 -0000 1.68
+++ apr_hints.m4 28 Aug 2004 16:17:35 -0000 1.69
@@ -131,6 +131,9 @@
;;
*-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])