aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 5030558a4..826da7c01 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