Commit 8b0ec931 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews

daemon: prevent compiling dbus when clang is used

Change-Id: I8118635b55de2367d1990bbdeeb17159ff7a742c
Refs: #46066
parent 308bb1c3
......@@ -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]))
AC_CONFIG_FILES([src/client/dbus/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])
AM_CONDITIONAL(USE_DBUS, test "x$with_dbus" = "xyes" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment