From: Arvin Schnell Date: Thu, 17 Apr 2014 10:57:57 +0000 (+0200) Subject: - extended debug information X-Git-Tag: v0.2.3~12^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F74%2Fhead;p=thirdparty%2Fsnapper.git - extended debug information --- 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);