dreid 01/11/09 17:14:49
Modified: build apr_hints.m4
Log:
BSDi 4.1 needs to have the _REENTRANT flag set to get a correct build.
Not sure about newer/older versions of BSDi, but ISTR that threads were
not implemented correctly prior to 4.1 so it shouldn't be an issue with
older versions.
Revision Changes Path
1.25 +7 -0 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- apr_hints.m4 2001/10/16 12:07:57 1.24
+++ apr_hints.m4 2001/11/10 01:14:49 1.25
@@ -135,6 +135,13 @@
*486-*-bsdi*)
APR_ADDTO(CFLAGS, [-m486])
;;
+ *-*-bsdi*)
+ case $host in
+ *bsdi4.1)
+ APR_ADDTO(CFLAGS, [-D_REENTRANT])
+ ;;
+ esac
+ ;;
*-openbsd*)
APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS])
;;