From fb599c9a030ac438755627f5919bfc40a57a0b9e Mon Sep 17 00:00:00 2001 From: balrog Date: Sun, 28 Sep 2008 23:49:55 +0000 Subject: 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 --- configure | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure') 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" @@ -890,6 +894,16 @@ EOF fi 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 @@ -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 -- cgit v1.2.3-55-g7522