change for selective Backtrace (SENF_BACKTRACE). Included via autoconf if SENF_DEBUG...
[senf.git] / senf / config.hh
index 5bdf0cf..4e26793 100644 (file)
@@ -96,7 +96,11 @@ namespace config {
 #     define SENF_PACKET_ANNOTATION_SLOTSIZE 16
 # endif
 #
-
+# ifdef SENF_DEBUG
+#     ifdef HAVE_EXECINFO_H
+#          define SENF_BACKTRACE
+#     endif
+# endif
 //-/////////////////////////////////////////////////////////////////////////////////////////////////
 #endif