# HG changeset patch # User Thinker K.F. Li # Date 1258032788 -28800 # Node ID 00f6b36ec5d29ce1959245066030291d90ff5996 # Parent ba64f928542b5ae47d06ca947db88044da6eea45 Conditional include mb_X_supp.h according X_SUPP diff -r ba64f928542b -r 00f6b36ec5d2 include/mb.h --- a/include/mb.h Thu Nov 12 21:32:58 2009 +0800 +++ b/include/mb.h Thu Nov 12 21:33:08 2009 +0800 @@ -1,9 +1,13 @@ #ifndef __MB_H_ #define __MB_H_ +#include "mb_config.h" + #include "mb_types.h" #include "mb_redraw_man.h" +#ifdef X_SUPP #include "mb_X_supp.h" +#endif #include "mb_animate.h" #include "mb_shapes.h" diff -r ba64f928542b -r 00f6b36ec5d2 include/mb_config.h.in --- a/include/mb_config.h.in Thu Nov 12 21:32:58 2009 +0800 +++ b/include/mb_config.h.in Thu Nov 12 21:33:08 2009 +0800 @@ -13,4 +13,7 @@ /* Enable sh_stext */ #undef SH_STEXT +/* Enable X backend */ +#undef X_SUPP + #endif /* __MB_CONFIG_H_ */