X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=config.h.in;h=bae0e8c44ef9f37e6c1de26a62520b57ef5e280a;hb=8afc2ffa646f8d7510c014b8179b812c7ca9a769;hp=e135d287482706e74a6d64187dd2880b367ab6c2;hpb=f18a4483825ae96f7fd57ec8122b3c006eb451be;p=libfirm diff --git a/config.h.in b/config.h.in index e135d2874..bae0e8c44 100644 --- a/config.h.in +++ b/config.h.in @@ -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 @@ -106,3 +109,10 @@ #else #define INLINE #endif + +/* Firm statistics need hooks */ +#ifdef FIRM_STATISTICS +#ifndef FIRM_ENABLE_HOOKS +#define FIRM_ENABLE_HOOKS +#endif +#endif