$NetBSD: patch-ac,v 1.1 2006/01/11 18:35:19 joerg Exp $

--- configure.orig	2006-01-11 18:15:45.000000000 +0000
+++ configure
@@ -6058,7 +6058,7 @@ fi
 	INSTALL_DLLS=""
         CC="cc -no-cpp-precomp"
 	;;
-      *netbsd*|*freebsd*)
+      *netbsd*|*freebsd*|*dragonfly*)
 	if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
         then
 	  #an a.out system
