]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- extended debug information 74/head
authorArvin Schnell <aschnell@suse.de>
Thu, 17 Apr 2014 10:57:57 +0000 (12:57 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 17 Apr 2014 10:57:57 +0000 (12:57 +0200)
server/Client.cc

index 99be8c16a371ae03a7f3b55c348a10b2dabe3184..98d23ed47d689e273065b96ab6dab99cb0b84f42 100644 (file)
@@ -20,6 +20,8 @@
  */
 
 
+#include "config.h"
+
 #include <snapper/Log.h>
 #include <snapper/SnapperTmpl.h>
 #include <snapper/AsciiFile.h>
@@ -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);