Skip to content
Snippets Groups Projects
Commit a171957a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #26839: daemon: ensure that HAVE_DBUS is defined

parent 879f8a1f
No related branches found
No related tags found
No related merge requests found
...@@ -190,10 +190,9 @@ dnl DBus-C++ detection ...@@ -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 pkg-config doesn't like 0.6.0-pre1 version number, it assumes that it is
dnl more recent than (unreleased) 0.6.0 dnl more recent than (unreleased) 0.6.0
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1 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)])) AC_MSG_ERROR([You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)]))
# Instant Messaging # Instant Messaging
# required dependency(ies): libxpat # required dependency(ies): libxpat
AC_ARG_WITH([instant_messaging], AC_ARG_WITH([instant_messaging],
......
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
* as that of the covered work. * as that of the covered work.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <map> #include <map>
#include <pjsip.h> #include <pjsip.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment