AC_ARG_ENABLE([hildon],AS_HELP_STRING([--enable-hildon],[Build for Hildon]),
[enable_hildon=$enableval], [enable_hildon=no])
+AC_ARG_ENABLE([itbtdbus],AS_HELP_STRING([--enable-itbtdbus],[Use IT D-Bus Bluetooth interface]),
+ [enable_itbtdbus=$enableval], [enable_itbtdbus=no])
+
+AC_ARG_ENABLE([btdbus],AS_HELP_STRING([--enable-btdbus],[Use D-Bus bluez interface]),
+ [enable_btdbus=$enableval], [enable_btdbus=no])
+
if test "x$enable_770" = "xno" ; then
WITH_DEVICE_770=no
else
AC_DEFINE([WITH_DEVICE_770], 1, [With 770/N800 specific code])
fi
+if test "x$enable_itbtdbus" = "xno" ; then
+ WITH_HILDON_DBUS_BT=no
+ enable_btdbus=yes
+else
+ WITH_HILDON_DBUS_BT=yes
+ AC_DEFINE([WITH_HILDON_DBUS_BT], 1, [IT D-Bus bluetooth])
+fi
+
+if test "x$enable_btdbus" = "xno" ; then
+ WITH_BLUEZ_DBUS_BT=no
+else
+ WITH_BLUEZ_DBUS_BT=yes
+ AC_DEFINE([WITH_BLUEZ_DBUS_BT], 1, [bluez D-Bus bluetooth])
+fi
+
if test "x$enable_hildon" = "xyes" ; then
dnl Ckeck for hildon-libs
PKG_CHECK_MODULES(HILDON, hildon-libs, HAVE_HILDON=yes, HAVE_HILDON=no)
po/Makefile
)
-echo "Hildon: ${enable_hildon}"
-echo "770/N800: ${enable_770}"
-
+echo "Hildon: ${enable_hildon}"
+echo "IT specials (770/N800): ${enable_770}"
+echo "IT D-Bus Bluetooth: ${enable_itbtdbus}"
+echo "Bluez D-Bus: ${enable_btdbus}"