$NetBSD: patch-at,v 1.1 2005/09/07 11:39:55 reed Exp $

--- apr/build/apr_hints.m4.orig	2005-07-15 15:19:19.000000000 +0000
+++ apr/build/apr_hints.m4
@@ -140,6 +140,12 @@ dnl	       # Not a problem in 10.20.  Ot
         # fcntl() lies about O_NONBLOCK on an accept()ed socket (PR kern/26950)
         APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
 	;;
+    *-dragonfly*)
+	APR_ADDTO(CFLAGS, [-funsigned-char])
+	APR_SETIFNULL(enable_threads, [no])
+        APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
+	APR_ADDTO(CPPFLAGS, [-D_REENTRANT])
+	;;
     *-freebsd*)
 	case $host in
 	    *freebsd[2345]*)
