~ubuntu-branches/ubuntu/intrepid/kdebluetooth/intrepid-proposed

« back to all changes in this revision

Viewing changes to kdebluetooth/configure.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-08-07 09:49:47 UTC
  • mto: This revision was merged to the branch mainline in revision 56.
  • Revision ID: james.westby@ubuntu.com-20080807094947-pj6q3uxwuv7l844q
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#MIN_CONFIG(3.0.0)
2
 
 
3
 
AM_INIT_AUTOMAKE(kdebluetooth, 1.00-beta8)
4
 
AC_C_BIGENDIAN
5
 
AC_CHECK_KDEMAXPATHLEN
6
 
 
7
 
KDEBLUETOOTH_VERSION=1.00-beta8
8
 
 
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])
12
 
 
13
 
# DBUS
14
 
PKG_CHECK_MODULES(DBUS, "dbus-1")
15
 
 
16
 
AC_SUBST(DBUS_CFLAGS)
17
 
AC_SUBST(DBUS_LIBS)     
18
 
 
19
 
# DBUS QT BINDING ### stolen from kpowersave and knetworkmanager ;) #   
20
 
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS $all_includes -DDBUS_API_SUBJECT_TO_CHANGE"
21
 
AC_LANG_SAVE
22
 
AC_LANG_CPLUSPLUS
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
26
 
AC_LANG_RESTORE
27
 
 
28
 
# OBEXFTP
29
 
AC_CHECK_HEADER([obexftp/obexftp.h],,[AC_MSG_ERROR([kio_obex need obexftp])])
30
 
 
31
 
# BLUEZ
32
 
PKG_CHECK_MODULES(BLUETOOTH, "bluez")
33
 
 
34
 
AC_SUBST(BLUETOOTH_CFLAGS)
35
 
AC_SUBST(BLUETOOTH_LIBS)        
36