# HG changeset patch # User Thinker K.F. Li # Date 1258032275 -28800 # Node ID 6e18550c8fa8695f2ab95193907c1edb5efee6cb # Parent cd6f57b9b104d07b2e550041aedeb5a716754729 Header file to config graphic engine diff -r cd6f57b9b104 -r 6e18550c8fa8 configure.ac --- a/configure.ac Thu Nov 12 21:24:31 2009 +0800 +++ b/configure.ac Thu Nov 12 21:24:35 2009 +0800 @@ -4,7 +4,7 @@ AC_PREREQ(2.61) AC_INIT([MadButterfly],[0.0],[http://www.assembla.com/spaces/MadButterfly]) AC_CONFIG_SRCDIR([README.h]) -AC_CONFIG_HEADER([include/mb_config.h]) +AC_CONFIG_HEADER([config.h include/mb_config.h]) AM_INIT_AUTOMAKE([foreign]) # Checks for programs. diff -r cd6f57b9b104 -r 6e18550c8fa8 include/mb_config.h.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/mb_config.h.in Thu Nov 12 21:24:35 2009 +0800 @@ -0,0 +1,10 @@ +#ifndef __MB_CONFIG_H_ +#define __MB_CONFIG_H_ + +/* Enable Cairo Graphic Engine */ +#undef CAIRO_GRAPH_ENGINE + +/* Enable Skia Graphic Engine */ +#undef SKIA_GRAPH_ENGINE + +#endif /* __MB_CONFIG_H_ */ diff -r cd6f57b9b104 -r 6e18550c8fa8 src/event.c --- a/src/event.c Thu Nov 12 21:24:31 2009 +0800 +++ b/src/event.c Thu Nov 12 21:24:35 2009 +0800 @@ -9,7 +9,7 @@ #include "mb_redraw_man.h" #include "mb_shapes.h" #endif -#include "mb_config.h" +#include "config.h" #define OK 0 #define ERR -1 diff -r cd6f57b9b104 -r 6e18550c8fa8 src/redraw_man.c --- a/src/redraw_man.c Thu Nov 12 21:24:31 2009 +0800 +++ b/src/redraw_man.c Thu Nov 12 21:24:35 2009 +0800 @@ -9,7 +9,7 @@ #include "mb_redraw_man.h" #include "mb_observer.h" #include "mb_prop.h" -#include "mb_config.h" +#include "config.h" /* required by rdman_img_ldr_load_paint() */ #include "mb_paint.h"