$NetBSD: patch-ac,v 1.4 2010/07/31 22:06:25 asau Exp $

--- sigsegv/configure.orig	2010-02-17 00:40:44.000000000 +0300
+++ sigsegv/configure	2010-05-02 22:55:56.000000000 +0400
@@ -10590,7 +10590,7 @@
 
 
 case "$host_os" in
-  sunos4* | freebsd* | openbsd* | netbsd* | kfreebsd* | knetbsd*)
+  sunos4* | freebsd* | openbsd* | netbsd* | dragonfly* | kfreebsd* | knetbsd*)
     CFG_SIGNALS=signals-bsd.h ;;
   hpux*)
     CFG_SIGNALS=signals-hpux.h ;;
@@ -13304,7 +13304,7 @@
 fi
 if test -z "$CFG_FAULT" && test "$sv_cv_fault_bsd" = yes; then
   case "$host_os" in
-    freebsd* | kfreebsd*)
+    freebsd* | dragonfly* | kfreebsd*)
       case "$host_cpu" in
         i?86 | x86_64)
           CFG_FAULT=fault-freebsd-i386.h
@@ -13674,7 +13674,7 @@
 else
   case "$host_os" in
     linux*) CFG_STACKVMA=stackvma-linux.c ;;
-    freebsd*) CFG_STACKVMA=stackvma-freebsd.c ;;
+    freebsd*|dragonfly*) CFG_STACKVMA=stackvma-freebsd.c ;;
     beos*) CFG_STACKVMA=stackvma-beos.c ;;
     macos* | darwin*)
       ac_fn_c_check_func "$LINENO" "vm_region" "ac_cv_func_vm_region"
