3
AM_INIT_AUTOMAKE(kdebluetooth, 1.00-beta8)
7
KDEBLUETOOTH_VERSION=1.00-beta8
9
# KDE_EXPAND_MAKEVAR(KDEBLUETOOTH_VERSION, KDEBLUETOOTH_VERSION)
10
# AC_SUBST(KDEBLUETOOTH_VERSION)
11
AC_DEFINE_UNQUOTED(KDEBLUETOOTH_VERSION, "$KDEBLUETOOTH_VERSION", [version of the kdebluetooth package])
14
PKG_CHECK_MODULES(DBUS, "dbus-1")
19
# DBUS QT BINDING ### stolen from kpowersave and knetworkmanager ;) #
20
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS $all_includes -DDBUS_API_SUBJECT_TO_CHANGE"
23
AC_CHECK_HEADER([dbus/connection.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
24
AC_CHECK_HEADER([dbus/message.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
25
CPPFLAGS=$safe_CPPFLAGS
29
AC_CHECK_HEADER([obexftp/obexftp.h],,[AC_MSG_ERROR([kio_obex need obexftp])])
32
PKG_CHECK_MODULES(BLUETOOTH, "bluez")
34
AC_SUBST(BLUETOOTH_CFLAGS)
35
AC_SUBST(BLUETOOTH_LIBS)