diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-09-28 08:57:29 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-09-28 08:57:29 +0000 |
commit | dc6b87bd2ab1bc393d08c245f341c9c1204ae703 (patch) | |
tree | 265697d839c6188e79bd428bba95b6aa40d7a81d /stat_menu.h | |
parent | 6fee9a41f0d1f524e8b51f7434a07f050d05621f (diff) |
Avoid to add an empty menu if there's no Lua.
svn path=/trunk/; revision=19346
Diffstat (limited to 'stat_menu.h')
-rw-r--r-- | stat_menu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stat_menu.h b/stat_menu.h index 1d9d0aab79..1dd56f9009 100644 --- a/stat_menu.h +++ b/stat_menu.h @@ -51,7 +51,9 @@ typedef enum { REGISTER_STAT_GROUP_TELEPHONY, /* XXX - split into telephony and VoIP? */ REGISTER_ANALYZE_GROUP_NONE, +#ifdef HAVE_LUA_5_1 REGISTER_TOOLS_GROUP_NONE, +#endif } register_stat_group_t; #ifdef __cplusplus |