comparison configure.ac @ 466:cd6f57b9b104 Android_Skia

Add graph_engine_skia.c
author Thinker K.F. Li <thinker@branda.to>
date Thu, 12 Nov 2009 21:24:31 +0800
parents d8181696b689
children 6e18550c8fa8
comparison
equal deleted inserted replaced
465:d8181696b689 466:cd6f57b9b104
73 [case "${enableval}" in 73 [case "${enableval}" in
74 yes) skia=true ;; 74 yes) skia=true ;;
75 no) skia=false ;; 75 no) skia=false ;;
76 *) AC_MSG_ERROR([bad value ${enableval} for --enable-skia]) ;; 76 *) AC_MSG_ERROR([bad value ${enableval} for --enable-skia]) ;;
77 esac],[skia=false]) 77 esac],[skia=false])
78 AM_CONDITIONAL([SKIA_BACKEND], [test x$skia = xtrue]) 78 AM_CONDITIONAL([SKIA_GRAPH_ENGINE], [test x$skia = xtrue])
79 AM_CONDITIONAL([CAIRO_BACKEND], [test x$skia != xtrue]) 79 AM_CONDITIONAL([CAIRO_GRAPH_ENGINE], [test x$skia != xtrue])
80 [if [ x"${skia}" = xtrue ]; then ] 80 [if [ x"${skia}" = xtrue ]; then ]
81 AC_DEFINE([SKIA_BACKEND]) 81 AC_DEFINE([SKIA_GRAPH_ENGINE])
82 cairo=false 82 cairo=false
83 [else] 83 [else]
84 AC_DEFINE([CAIRO_BACKEND]) 84 AC_DEFINE([CAIRO_GRAPH_ENGINE])
85 cairo=true 85 cairo=true
86 [fi] 86 [fi]
87 87
88 # Define AM and AC variable for sh_text 88 # Define AM and AC variable for sh_text
89 AM_CONDITIONAL([SH_TEXT], [test x$sh_text = xtrue -a x$cairo = xtrue]) 89 AM_CONDITIONAL([SH_TEXT], [test x$sh_text = xtrue -a x$cairo = xtrue])
119 inkscape/Makefile 119 inkscape/Makefile
120 tools/Makefile]) 120 tools/Makefile])
121 121
122 AH_TEMPLATE([SH_TEXT],[Enable sh_text object]) 122 AH_TEMPLATE([SH_TEXT],[Enable sh_text object])
123 AH_TEMPLATE([SH_STEXT],[Enable sh_stext object]) 123 AH_TEMPLATE([SH_STEXT],[Enable sh_stext object])
124 AH_TEMPLATE([SKIA_BACKEND], [Enable Skia Graphic Engine]) 124 AH_TEMPLATE([SKIA_GRAPH_ENGINE], [Enable Skia Graphic Engine])
125 AH_TEMPLATE([CAIRO_BACKEND], [Enable Cairo Graphic Engine]) 125 AH_TEMPLATE([CAIRO_GRAPH_ENGINE], [Enable Cairo Graphic Engine])
126 AH_TEMPLATE([X_SUPP], [Enable X backend]) 126 AH_TEMPLATE([X_SUPP], [Enable X backend])
127 127
128 AC_OUTPUT 128 AC_OUTPUT