1 $NetBSD: patch-ao,v 1.2 2009/03/24 20:04:51 abs Exp $
3 --- ioemu/configure.orig 2008-04-25 15:03:12.000000000 +0200
4 +++ ioemu/configure 2009-03-31 17:41:22.000000000 +0200
6 if test -z "$prefix" ; then
9 -mandir="$prefix/share/man"
11 datadir="$prefix/share/xen/qemu"
12 -docdir="$prefix/share/doc/qemu"
13 -bindir="$prefix/$libdir/xen/bin"
15 +docdir="$prefix/share/doc/xen"
16 +bindir="$prefix/libexec"
17 +configdir="/usr/pkg/etc/xen"
20 echo "Install prefix $prefix"
22 echo "#define CONFIG_WIN32 1" >> $config_h
23 elif test -f "/usr/include/byteswap.h" ; then
24 echo "#define HAVE_BYTESWAP_H 1" >> $config_h
25 +elif test -f "/usr/include/machine/bswap.h" ; then
26 + echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
28 if test "$darwin" = "yes" ; then
29 echo "CONFIG_DARWIN=yes" >> $config_mak
31 echo "VPATH=$source_path" >> $config_mak
33 echo "TARGET_DIRS=$target_list" >> $config_mak
34 -if [ "$build_docs" = "yes" ] ; then
35 - echo "BUILD_DOCS=yes" >> $config_mak
37 if [ "$build_acpi_tables" = "yes" ] ; then
38 echo "BUILD_ACPI_TABLES=yes" >> $config_mak