Skip to content
Snippets Groups Projects
Commit 8b0ec931 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews
Browse files

daemon: prevent compiling dbus when clang is used

Change-Id: I8118635b55de2367d1990bbdeeb17159ff7a742c
Refs: #46066
parent 308bb1c3
Branches
Tags
No related merge requests found
...@@ -240,7 +240,10 @@ AS_IF([test "x$with_dbus" = "xyes"], [ ...@@ -240,7 +240,10 @@ AS_IF([test "x$with_dbus" = "xyes"], [
PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,, AC_MSG_WARN([Missing dbus development files])) PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,, AC_MSG_WARN([Missing dbus development files]))
AC_CONFIG_FILES([src/client/dbus/Makefile \ AC_CONFIG_FILES([src/client/dbus/Makefile \
doc/dbus-api/Makefile]) doc/dbus-api/Makefile])
]); AS_IF([test "x$CLANG" = "xyes"], [
AC_MSG_ERROR([dbus does not compile when clang is used, rerun with --without-dbus])
]);
]);
AC_DEFINE_UNQUOTED([HAVE_DBUS], `if test "x$with_dbus" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have dbus support]) AC_DEFINE_UNQUOTED([HAVE_DBUS], `if test "x$with_dbus" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have dbus support])
AM_CONDITIONAL(USE_DBUS, test "x$with_dbus" = "xyes" ) AM_CONDITIONAL(USE_DBUS, test "x$with_dbus" = "xyes" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment