$NetBSD: patch-aa,v 1.1 2007/02/02 16:56:58 joerg Exp $

--- configure.orig	2007-02-02 16:37:43.000000000 +0000
+++ configure
@@ -20607,12 +20607,16 @@ fi
 
 
 case "$host_os" in
-  *bsd*|linux*|beos|irix*|solaris*)
+  *bsd*|linux*|beos|irix*|solaris*|*dragonfly*)
     YASM_FORMAT="-f elf"
     ;;
   [cC][yY][gG][wW][iI][nN]*|mingw32*|mks*)
     YASM_FORMAT="-f win32"
     ;;
+  *)
+    echo "Unknown OS, don't know binary format"
+    exit 1
+    ;;
 esac
 
 case "$host" in
