From d75f400ce3fee7d523def8c6a61f85f53d0e7589 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Thu, 17 Apr 2014 12:57:57 +0200 Subject: [PATCH] - extended debug information --- server/Client.cc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/server/Client.cc b/server/Client.cc index 99be8c16..98d23ed4 100644 --- a/server/Client.cc +++ b/server/Client.cc @@ -20,6 +20,8 @@ */ +#include "config.h" + #include #include #include @@ -1343,6 +1345,27 @@ Client::debug(DBus::Connection& conn, DBus::Message& msg) const hoho << s.str(); } + hoho << "compile options:"; + hoho << " VERSION " VERSION; +#ifdef ENABLE_BTRFS + hoho << " ENABLE_BTRFS"; +#endif +#ifdef ENABLE_LVM + hoho << " ENABLE_LVM"; +#endif +#ifdef ENABLE_EXT4 + hoho << " ENABLE_EXT4"; +#endif +#ifdef ENABLE_XATTRS + hoho << " ENABLE_XATTRS"; +#endif +#ifdef ENABLE_ROLLBACK + hoho << " ENABLE_ROLLBACK"; +#endif +#ifdef HAVE_LIBBTRFS + hoho << " HAVE_LIBBTRFS"; +#endif + hoho.close_array(); conn.send(reply); -- 2.47.3