$NetBSD: patch-ac,v 1.3 2010/08/10 07:49:57 asau Exp $

DragonFly support.

--- configure.orig	2010-08-04 21:36:28.000000000 +0400
+++ configure	2010-08-10 11:03:31.000000000 +0400
@@ -7052,7 +7052,7 @@
         YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.dylib"
         PRE_INSTALL_ENV="DYLD_LIBRARY_PATH=\$(abs_top_builddir)"
 	;;
-      *netbsd*|*freebsd*)
+      *netbsd*|*freebsd*|*dragonfly*)
 	if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
         then
 	  #an a.out system
