* #26839: daemon: ensure that HAVE_DBUS is defined

This commit is contained in:
Tristan Matthews
2013-07-12 17:55:50 -04:00
parent 879f8a1f5b
commit a171957a74
2 changed files with 5 additions and 2 deletions

View File

@ -190,10 +190,9 @@ dnl DBus-C++ detection
dnl pkg-config doesn't like 0.6.0-pre1 version number, it assumes that it is
dnl more recent than (unreleased) 0.6.0
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,,
PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1, AC_DEFINE_UNQUOTED(HAVE_DBUS, 1, [D-Bus support enabled]),
AC_MSG_ERROR([You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)]))
# Instant Messaging
# required dependency(ies): libxpat
AC_ARG_WITH([instant_messaging],

View File

@ -29,6 +29,10 @@
* as that of the covered work.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <map>
#include <pjsip.h>