$NetBSD: patch-ao,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $

--- ioemu/configure.orig	2006-10-04 04:28:06.000000000 +0200
+++ ioemu/configure	2006-10-18 17:37:42.000000000 +0200
@@ -517,7 +517,7 @@
 datadir="$prefix/share/xen/qemu"
 docdir="$prefix/share/doc/qemu"
-bindir="$prefix/$libdir/xen/bin"
+bindir="$prefix/libexec"
-configdir="/etc/xen"
+configdir="@XENDCONFDIR@"
 fi
 
 echo "Install prefix    $prefix"
@@ -653,6 +653,8 @@
   echo "#define CONFIG_WIN32 1" >> $config_h
 elif test -f "/usr/include/byteswap.h" ; then
   echo "#define HAVE_BYTESWAP_H 1" >> $config_h
+elif test -f "/usr/include/machine/bswap.h" ; then
+  echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
 fi
 if test "$darwin" = "yes" ; then
   echo "CONFIG_DARWIN=yes" >> $config_mak
