aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-22 21:03:55 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-22 21:03:55 +0000
commit6806364989f71456a65c630bc380249c9462204c (patch)
tree0e3b81d05997c1fa33b895d1e4611c5204b55d2d /configure
parent6972f93538fc3ad18e791c69ffa1342da11d7159 (diff)
Native BSD host USB support (Juergen Lock, Lonnie Mendez)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5780 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index b1daf440b4..ac458dce42 100755
--- a/configure
+++ b/configure
@@ -221,6 +221,7 @@ audio_drv_list="oss"
audio_possible_drivers="oss alsa sdl esd pa"
linux="yes"
linux_user="yes"
+usb="linux"
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
kqemu="yes"
audio_possible_drivers="$audio_possible_drivers fmod"
@@ -231,6 +232,7 @@ esac
if [ "$bsd" = "yes" ] ; then
if [ "$darwin" != "yes" ] ; then
make="gmake"
+ usb="bsd"
fi
bsd_user="yes"
fi
@@ -1365,6 +1367,19 @@ fi
echo "#define CONFIG_UNAME_RELEASE \"$uname_release\"" >> $config_h
+# USB host support
+case "$usb" in
+linux)
+ echo "HOST_USB=linux" >> $config_mak
+;;
+bsd)
+ echo "HOST_USB=bsd" >> $config_mak
+;;
+*)
+ echo "HOST_USB=stub" >> $config_mak
+;;
+esac
+
tools=
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
tools="qemu-img\$(EXESUF) $tools"