comments
[libfirm] / config.h.in
index e135d28..bae0e8c 100644 (file)
@@ -98,6 +98,9 @@
 /* undef to disable inlining */
 #undef USE_INLINING
 
+/* Define to 1 if Firm hooks are activated */
+#undef FIRM_ENABLE_HOOKS
+
 /* Define to 1 if Firm statistics are activated */
 #undef FIRM_STATISTICS
 
 #else
 #define INLINE
 #endif
+
+/* Firm statistics need hooks */
+#ifdef FIRM_STATISTICS
+#ifndef FIRM_ENABLE_HOOKS
+#define FIRM_ENABLE_HOOKS
+#endif
+#endif