summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2013-05-29 20:45:41 +0200
committerThomas Haller <thaller@redhat.com>2013-09-25 21:01:04 +0200
commit1013caba7530d7c6106accfc1b4f4838586ac89a (patch)
tree7a500369e5de36f1451213b1e7a444551b307d81 /configure.ac
parenta26271841c1ba65aace1fd216ad1ae6d103a35fd (diff)
downloadNetworkManager-1013caba7530d7c6106accfc1b4f4838586ac89a.tar.gz
bluez: add configure switch for BlueZ 5
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index be15f7986a..c17db5d4f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,6 +267,17 @@ else
fi
AC_SUBST(UDEV_BASE_DIR)
+# BlueZ
+AC_ARG_ENABLE(bluez5, AS_HELP_STRING([--enable-bluez5],
+ [build with BlueZ 5 support instead of BlueZ 4]),
+ [enable_bluez5=${enableval}])
+if (test "${enable_bluez5}" = "yes"); then
+ AC_DEFINE(WITH_BLUEZ5, 1, [Define if you have BlueZ 5 support])
+else
+ AC_DEFINE(WITH_BLUEZ5, 0, [Define if you have BlueZ 5 support])
+fi
+AM_CONDITIONAL(WITH_BLUEZ5, test "${enable_bluez5}" = "yes")
+
# systemd unit support
AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
[Directory for systemd service files]))
@@ -814,6 +825,7 @@ echo " modemmanager-1: $with_modem_manager_1"
echo " concheck: $enable_concheck"
echo " libndp: $libndp_location"
echo " libteamdctl: $enable_teamdctl"
+echo " bluez 5: $enable_bluez5"
echo
echo "Configuration plugins"