enable_btdbus=yes
else
WITH_HILDON_DBUS_BT=yes
+ AC_CHECK_HEADERS([bt-dbus.h], [ac_cv_btdbus_h=yes])
AC_DEFINE([WITH_HILDON_DBUS_BT], 1, [IT D-Bus bluetooth])
fi
WITH_BLUEZ_DBUS_BT=no
else
WITH_BLUEZ_DBUS_BT=yes
+ PKG_CHECK_MODULES(BLUEZ, bluez)
+ AC_SUBST(BLUEZ_LIBS)
+ AC_SUBST(BLUEZ_CFLAGS)
AC_DEFINE([WITH_BLUEZ_DBUS_BT], 1, [bluez D-Bus bluetooth])
fi
AM_CONDITIONAL(WITH_HILDON, test "x$HAVE_HILDON" = "xyes")
AM_CONDITIONAL(WITH_OSSO, test "x$HAVE_OSSO" = "xyes")
-PKG_CHECK_MODULES(BLUEZ, bluez)
-AC_SUBST(BLUEZ_LIBS)
-AC_SUBST(BLUEZ_CFLAGS)
-
AC_CHECK_HEADERS([gps.h], [ac_cv_gps_h=yes])
AC_CHECK_LIB(gps, gps_open,[ac_cv_libgps=yes] )
if test "x$ac_cv_libgps" = xyes; then