summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-28 23:49:55 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-28 23:49:55 +0000
commitfb599c9a030ac438755627f5919bfc40a57a0b9e (patch)
treea6f981b7ef3fa609698fb2511076e9cd9d5efa92 /configure
parent58a26b477e9f864f67a205ee0a8436c4632a389f (diff)
downloadqemu-fb599c9a030ac438755627f5919bfc40a57a0b9e.tar.gz
qemu-fb599c9a030ac438755627f5919bfc40a57a0b9e.tar.bz2
qemu-fb599c9a030ac438755627f5919bfc40a57a0b9e.zip
Implement a HCI passthrough to host.
This allows using a host's physical HCI as one of the HCIs attached to the virtual machine. This brings various limitations because not all commands/events are passed through by Linux kernel, some are interpreted by the host's kernel for a speed gain. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5344 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 5030558a45..826da7c01a 100755
--- a/configure
+++ b/configure
@@ -110,6 +110,7 @@ curses="yes"
aio="yes"
nptl="yes"
mixemu="no"
+bluez="yes"
signalfd="no"
eventfd="no"
@@ -293,6 +294,8 @@ for opt do
;;
--disable-brlapi) brlapi="no"
;;
+ --disable-bluez) bluez="no"
+ ;;
--enable-profiler) profiler="yes"
;;
--enable-cocoa)
@@ -429,6 +432,7 @@ echo " --enable-mixemu enable mixer emulation"
echo " --disable-brlapi disable BrlAPI"
echo " --disable-vnc-tls disable TLS encryption for VNC server"
echo " --disable-curses disable curses output"
+echo " --disable-bluez disable bluez stack connectivity"
echo " --disable-nptl disable usermode NPTL support"
echo " --enable-system enable all system emulation targets"
echo " --disable-system disable all system emulation targets"
@@ -891,6 +895,16 @@ EOF
fi # test "$curses"
##########################################
+# bluez support probe
+if test "$bluez" = "yes" ; then
+ `pkg-config bluez` || bluez="no"
+fi
+if test "$bluez" = "yes" ; then
+ bluez_cflags=`pkg-config --cflags bluez`
+ bluez_libs=`pkg-config --libs bluez`
+fi
+
+##########################################
# AIO probe
if test "$aio" = "yes" ; then
aio=no
@@ -1254,6 +1268,12 @@ if test "$brlapi" = "yes" ; then
echo "#define CONFIG_BRLAPI 1" >> $config_h
echo "BRLAPI_LIBS=-lbrlapi" >> $config_mak
fi
+if test "$bluez" = "yes" ; then
+ echo "CONFIG_BLUEZ=yes" >> $config_mak
+ echo "CONFIG_BLUEZ_CFLAGS=$bluez_cflags" >> $config_mak
+ echo "CONFIG_BLUEZ_LIBS=$bluez_libs" >> $config_mak
+ echo "#define CONFIG_BLUEZ 1" >> $config_h
+fi
if test "$aio" = "yes" ; then
echo "#define CONFIG_AIO 1" >> $config_h
echo "CONFIG_AIO=yes" >> $config_mak