annotate configure.ac @ 1423:d82a828e8e26

Optimize the performance. If properties is not changed, we don't call rdman_coord_changed.
author wycc
date Sat, 09 Apr 2011 03:36:51 +0800
parents 41190d180b97
children 74635b07a83a
rev   line source
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
1 # -*- Autoconf -*-
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
2 # Process this file with autoconf to produce a configure script.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
3
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
4 AC_PREREQ(2.61)
182
7d1497608c2f Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents: 178
diff changeset
5 AC_INIT([MadButterfly],[0.0],[http://www.assembla.com/spaces/MadButterfly])
7d1497608c2f Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents: 178
diff changeset
6 AC_CONFIG_SRCDIR([README.h])
467
6e18550c8fa8 Header file to config graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 466
diff changeset
7 AC_CONFIG_HEADER([config.h include/mb_config.h])
1420
41190d180b97 Enable silent rules.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 1129
diff changeset
8 AM_INIT_AUTOMAKE([foreign silent-rules])
41190d180b97 Enable silent rules.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 1129
diff changeset
9 AM_SILENT_RULES([yes])
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
10
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
11 # Checks for programs.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
12 AC_PROG_CC
468
ae784a86ba82 C++ instead of C to bridge to Skia
Thinker K.F. Li <thinker@branda.to>
parents: 467
diff changeset
13 AC_PROG_CXX
182
7d1497608c2f Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents: 178
diff changeset
14 LT_INIT
184
13c1d49c198b Add AC_PROG_LIBTOOL to make older libtool compatible.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 182
diff changeset
15 AC_PROG_LIBTOOL
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
16
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
17 # Checks for header files.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
18 AC_PATH_X
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
19 AC_HEADER_STDC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
20 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
21
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
22 # Checks for typedefs, structures, and compiler characteristics.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
23 AC_C_CONST
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
24 AC_TYPE_SIZE_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
25 AC_HEADER_TIME
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
26 AC_STRUCT_TM
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
27 AC_TYPE_UINT32_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
28 AC_TYPE_UINT64_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
29
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
30 # Explicit initialize pkg-config for conditional PKG_CHECK_MODULE
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
31 # see http://www.flameeyes.eu/autotools-mythbuster/autoconf/macros.html
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
32 # and http://www.flameeyes.eu/autotools-mythbuster/ \
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
33 # pkgconfig/pkg_check_modules.html
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
34 PKG_PROG_PKG_CONFIG
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
35
1129
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
36 # Checks for buuild time tools.
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
37 AC_PATH_PROG([PYTHON_PATH], [python])
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
38 [if [ -z x"${PYTHON_PATH}" ]; then]
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
39 AC_MSG_ERROR([can not found Python script engine (install Python)])
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
40 [fi]
eca737d33a18 Improve performance of function to compute center of an arc.
Thinker K.F. Li <thinker@codemud.net>
parents: 1119
diff changeset
41
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
42 # Checks for library functions.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
43 AC_FUNC_MALLOC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
44 AC_FUNC_REALLOC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
45 AC_FUNC_SELECT_ARGTYPES
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
46 AC_CHECK_FUNCS([gettimeofday memset select sqrt strdup])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
47
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
48 AC_ARG_ENABLE([testcase],
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
49 [AS_HELP_STRING([--enable-testcase],[Enable testcase])],
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
50 [case "${enableval}" in
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
51 (yes) testcase=true ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
52 (no) testcase=false ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
53 (*) AC_MSG_ERROR([bad value ${enableval} for --enable-testcase]) ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
54 esac],[testcase=false])
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
55
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
56 AM_CONDITIONAL([TESTCASE], [test x$testcase = xtrue])
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
57
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
58 AC_ARG_ENABLE([sh_text],
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
59 [AS_HELP_STRING([--disable-sh_text],[Turn off sh_text])],
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
60 [case "${enableval}" in
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
61 (yes) sh_text=true ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
62 (no) sh_text=false ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
63 (*) AC_MSG_ERROR([bad value ${enableval} for --disable-sh_text]) ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
64 esac],[sh_text=true])
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
65
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
66 AC_ARG_ENABLE([sh_stext],
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
67 [AS_HELP_STRING([--disable-sh_stext],[Turn off sh_stext])],
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
68 [case "${enableval}" in
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
69 (yes) sh_stext=true ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
70 (no) sh_stext=false ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
71 (*) AC_MSG_ERROR([bad value ${enableval} for --disable-sh_stext]) ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
72 esac],[sh_stext=true])
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
73
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
74 AM_CONDITIONAL([SH_STEXT], [test x$sh_stext = xtrue])
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
75
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
76 [if [ x"${sh_stext}" = xtrue ]; then]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
77 AC_DEFINE([SH_STEXT])
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
78 [fi]
408
7f7855df2af0 Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents: 402
diff changeset
79
628
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
80 AC_ARG_ENABLE([mbaf],
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
81 [ --disable-mbaf Turn off mbaf],
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
82 [case "${enableval}" in
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
83 yes) mbaf=true ;;
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
84 no) mbaf=false ;;
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
85 *) AC_MSG_ERROR([bad value ${enableval} for --disable-mbaf]) ;;
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
86 esac],[mbaf=true])
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
87
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
88 AC_ARG_WITH([backend],
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
89 [AS_HELP_STRING([--with-backend=FOO],[Use FOO as display backend (default is 'X')])],
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
90 [case "${withval}" in
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
91 ('X') backend='X'; default_graphic_engine="cairo" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
92 ('dfb') backend='dfb'; default_graphic_engine="dfb" ;;
1111
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
93 ('console') backend='console'; default_graphic_engine="openvg" ;;
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
94 ('no') backend='none'; default_graphic_engine="cairo" ;;
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
95 (*) AC_MSG_ERROR([bad value ${withval} for --with-backend]) ;;
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
96 esac],[backend='X'; default_graphic_engine="cairo"])
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
97
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
98 AC_ARG_WITH([graphic-engine],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
99 [AS_HELP_STRING([--with-graphic-engine=FOO],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
100 [Use FOO as graphic engine (default is '${default_graphic_engine}')])],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
101 [case "${withval}" in
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
102 ('cairo') graphic_engine="cairo" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
103 ('skia') graphic_engine="skia" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
104 ('openvg') graphic_engine="openvg" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
105 ('dfb') graphic_engine="dfb" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
106 (*) AC_MSG_ERROR([bad value ${withval} for --with-graphic-engine])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
107 ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
108 esac], [graphic_engine="${default_graphic_engine}"])
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
109
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
110 AC_ARG_WITH([image-loader],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
111 [AS_HELP_STRING([--with-image-loader=FOO],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
112 [Use FOO as image loader (default is 'cairo')])],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
113 [case "${withval}" in
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
114 ('cairo') image_loader="cairo" ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
115 ('imlib2') image_loader="imlib2" ;;
1105
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
116 ('dummy') image_loader="dummy" ;;
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
117 (*) AC_MSG_ERROR([bad value ${withval} for --with-image-loader])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
118 ;;
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
119 esac], [image_loader="cairo"])
579
e2c9117b1e12 Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
120
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
121 xshm=false
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
122 [if [ x"${backend}" = x"X" ]; then ]
694
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
123 AC_ARG_ENABLE([xshm],
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
124 [AS_HELP_STRING([--disable-xshm],[Turn off XSHM supporting])],
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
125 [case "${enableval}" in
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
126 (yes) xshm=true ;;
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
127 (no) xshm=false ;;
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
128 (*) AC_MSG_ERROR([bad value ${enableval} for --disable-xshm]) ;;
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
129 esac], [xshm=true])
579
e2c9117b1e12 Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
130 [fi]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
131
1074
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
132 # Validate options
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
133 [case "${backend}-${graphic_engine}-${image_loader}" in
1105
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
134 X-cairo-*|X-openvg-imlib2|X-openvg-dummy) ;;
1076
8d70dbb70d38 Fix bug of validation for configure options
Thinker K.F. Li <thinker@codemud.net>
parents: 1074
diff changeset
135 dfb-cairo-*) ;;
1119
17cbb862a8c6 Change modeline for cons_supp.c
Thinker K.F. Li <thinker@codemud.net>
parents: 1111
diff changeset
136 console-openvg-imlib2|console-openvg-dummy) ;;
1076
8d70dbb70d38 Fix bug of validation for configure options
Thinker K.F. Li <thinker@codemud.net>
parents: 1074
diff changeset
137 none-*-*) ;;
8d70dbb70d38 Fix bug of validation for configure options
Thinker K.F. Li <thinker@codemud.net>
parents: 1074
diff changeset
138 *)] AC_MSG_ERROR([The combination of --with-backend=${backend}, --with-graphic-engine=${graphic_engine} and --with-image-loader=${image_loader} is invalid]) [;;
1074
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
139 esac]
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
140
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
141 [if [ x"${graphic_engine}" = x"skia" ]; then ]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
142 AC_DEFINE([SKIA_GRAPH_ENGINE])
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
143 [elif [ x"${graphic_engine}" = x"openvg" ]; then ]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
144 AC_DEFINE([OPENVG_GRAPH_ENGINE])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
145 [elif [ x"${graphic_engine}" = x"dfb" ]; then ]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
146 AC_DEFINE([DFB_GRAPH_ENGINE])
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
147 [else]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
148 AC_DEFINE([CAIRO_GRAPH_ENGINE])
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
149 [fi]
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
150
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
151 AM_CONDITIONAL([SKIA_GRAPH_ENGINE], [test x"${graphic_engine}" = x"skia"])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
152 AM_CONDITIONAL([OPENVG_GRAPH_ENGINE], [test x"${graphic_engine}" = x"openvg"])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
153 AM_CONDITIONAL([DFB_GRAPH_ENGINE], [test x"${graphic_engine}" = x"dfb"])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
154 AM_CONDITIONAL([CAIRO_GRAPH_ENGINE], [test x"${graphic_engine}" = x"cairo"])
628
e50c4e111698 Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents: 627
diff changeset
155 AM_CONDITIONAL([MBAF], [test x"$mbaf" = xtrue])
579
e2c9117b1e12 Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
156
543
7630dac0a104 Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 477
diff changeset
157 AC_ARG_ENABLE([nodejs],
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
158 [AS_HELP_STRING([--enable-nodejs],[Turn on nodejs support])],
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
159 [case "${enableval}" in
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
160 (yes) nodejs=true ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
161 (no) nodejs=false ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
162 (*) AC_MSG_ERROR([bad value ${enableval} for --enable-nodejs]) ;;
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
163 esac],[nodejs=false])
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
164
543
7630dac0a104 Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 477
diff changeset
165 [if [ x"${nodejs}" = xtrue ]; then ]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
166 AC_PATH_PROG([NODE_WAF], [node-waf])
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
167 AC_CHECK_PROG([has_node], [node], [true], [false])
543
7630dac0a104 Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 477
diff changeset
168 [fi]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
169
543
7630dac0a104 Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 477
diff changeset
170 AM_CONDITIONAL([NODEJS], [test x"${nodejs}-${has_node}" = xtrue-true])
7630dac0a104 Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents: 477
diff changeset
171
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
172 # Define AM and AC variable for sh_text
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
173
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
174 AM_CONDITIONAL([SH_TEXT],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
175 [test x$sh_text = xtrue -a x"${graphic_engine}" = x"cairo"])
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
176
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
177 [if [ x"${sh_text}" = xtrue -a x"${graphic_engine}" = x"cairo" ]; then]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
178 AC_DEFINE([SH_TEXT])
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
179 [fi]
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
180
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
181 # Define AM and AC variable for display backend
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
182
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
183 AM_CONDITIONAL([X_BACKEND],
1074
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
184 [test x$backend = x'X'])
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
185
1074
ed9ca123d8db Fix configure.ac to make X and OpenVG working together
Thinker K.F. Li <thinker@codemud.net>
parents: 1073
diff changeset
186 [if [ x"${backend}" = x'X' ]; then]
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
187 AC_DEFINE([X_BACKEND])
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
188 [fi]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
189
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
190 AM_CONDITIONAL([DFB_BACKEND],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
191 [test x$backend = x'dfb' -a x"${graphic_engine}" = x"cairo"])
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
192
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
193 [if [ x"${backend}" = x'dfb' -a x"${graphic_engine}" = x"cairo" ]; then]
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
194 AC_DEFINE([DFB_BACKEND])
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
195 [fi]
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
196
1111
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
197 AM_CONDITIONAL([CONSOLE_BACKEND],
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
198 [test x$backend = x'console' -a x"${graphic_engine}" = x"openvg"])
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
199
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
200 [if [ x"${backend}" = x'console' -a x"${graphic_engine}" = x"openvg" ]; then]
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
201 AC_DEFINE([CONSOLE_BACKEND])
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
202 [fi]
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
203
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
204 AM_CONDITIONAL([CAIRO_IMG_LOADER],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
205 [test x"${image_loader}" = x"cairo"])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
206
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
207 [if [ x"${image_loader}" = x"cairo" ]; then]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
208 AC_DEFINE([CAIRO_IMG_LOADER])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
209 [if [ x"${graphic_engine}" != x"cairo" ]; then]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
210 AC_MSG_ERROR([bad value cairo for --with-image-loader while value of --with-graphic-engine is not cairo])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
211 [fi]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
212 [fi]
694
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
213
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
214 AM_CONDITIONAL([IMLIB2_IMG_LOADER],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
215 [test x"${image_loader}" = x"imlib2"])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
216
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
217 [if [ x"${image_loader}" = x"imlib2" ]; then]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
218 AC_DEFINE([IMLIB2_IMG_LOADER])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
219 [fi]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
220
1105
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
221 AM_CONDITIONAL([DUMMY_IMG_LOADER],
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
222 [test x"${image_loader}" = x"dummy"])
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
223
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
224 [if [ x"${image_loader}" = x"dummy" ]; then]
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
225 AC_DEFINE([DUMMY_IMG_LOADER])
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
226 [fi]
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
227
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
228 AM_CONDITIONAL([XSHM],
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
229 [test x"${xshm}" = xtrue -a x"${graphic_engine}" = x"cairo" -a x$backend = x'X'])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
230
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
231 [if [ x"${xshm}" = xtrue -a x"${graphic_engine}" = x"cairo" -a x$backend = x'X' ]; then]
694
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
232 AC_DEFINE([XSHM])
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
233 [fi]
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
234
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
235 # Checks for libraries.
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
236 [if [ x"${graphic_engine}" = x"openvg" ]; then]
1073
d09f603438d8 Merge the work of improvement for graphic engine of openvg branch
Thinker K.F. Li <thinker@codemud.net>
parents: 1067
diff changeset
237 AC_CHECK_HEADERS([EGL/egl.h],, [AC_MSG_ERROR([can not find EGL/egl.h])])
579
e2c9117b1e12 Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
238 [fi]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
239
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
240 [if [ x"${image_loader}" = x"imlib2" ]; then]
603
39d27911c3ae Remove mbe_image_surface_create_for_data()
Thinker K.F. Li <thinker@branda.to>
parents: 601
diff changeset
241 PKG_CHECK_MODULES([imlib2], [imlib2 >= 1.4.1], , AC_MSG_ERROR([imlib2 >= 1.4.1 not found]))
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
242 [fi]
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
243
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
244 [if [ x"${graphic_engine}" = x"cairo" ]; then]
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
245 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found]))
918
92a97858c7e3 Fix the error message when pangocairo is not present.
pingooo
parents: 694
diff changeset
246 #PKG_CHECK_MODULES([cairo2], [cairo2 >= 2.0], , AC_MSG_ERROR([cairo2 >= 2.0 not found]))
633
6f71f1b8e4e7 Let compilation on SMP8655 succeeded.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 623
diff changeset
247 [if [ x"${sh_text}" = xtrue ]; then]
920
f02f3f20ce95 Fix pangocairo error message text
wuman
parents: 918
diff changeset
248 PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found: use --disable-sh_text to configure without pangocairo.]))
633
6f71f1b8e4e7 Let compilation on SMP8655 succeeded.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 623
diff changeset
249 [fi]
464
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
250 [fi]
271212f325b4 Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents: 440
diff changeset
251
623
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
252 AC_CONFIG_FILES([
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
253 Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
254 libmbfly.pc
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
255 libmbfly-uninstalled.pc
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
256 examples/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
257 examples/calculator/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
258 examples/svg2code_ex/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
259 examples/tank/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
260 examples/drag/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
261 examples/dynamic/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
262 examples/menu/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
263 src/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
264 include/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
265 inkscape/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
266 nodejs/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
267 tools/Makefile
ae787bcb475a Polish autoconf script.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 544
diff changeset
268 ])
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
269
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
270 AH_TEMPLATE([SH_TEXT],[Enable sh_text object])
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
271 AH_TEMPLATE([SH_STEXT],[Enable sh_stext object])
466
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
272 AH_TEMPLATE([SKIA_GRAPH_ENGINE], [Enable Skia Graphic Engine])
579
e2c9117b1e12 Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents: 544
diff changeset
273 AH_TEMPLATE([OPENVG_GRAPH_ENGINE], [Enable OpenVG Graphic Engine])
466
cd6f57b9b104 Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents: 465
diff changeset
274 AH_TEMPLATE([CAIRO_GRAPH_ENGINE], [Enable Cairo Graphic Engine])
1067
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
275 AH_TEMPLATE([DFB_GRAPH_ENGINE], [Enable DirectFB Graphic Engine])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
276 AH_TEMPLATE([CAIRO_IMG_LOADER], [Enable Cairo Image Loader])
7b4e80ab671a merge from default branch
Thinker K.F. Li <thinker@codemud.net>
parents: 628 920
diff changeset
277 AH_TEMPLATE([IMLIB2_IMG_LOADER], [Enable Imlib2 Image Loader])
1105
1b3e295f3acb Add a dummy image loader.
Thinker K.F. Li <thinker@codemud.net>
parents: 1076
diff changeset
278 AH_TEMPLATE([DUMMY_IMG_LOADER], [Enable Dummy Image Loader])
654
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
279 AH_TEMPLATE([X_BACKEND], [Enable X backend])
21f944e79b19 Use --with-backend to specify display backend.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents: 633
diff changeset
280 AH_TEMPLATE([DFB_BACKEND], [Enable DirectFB backend])
1111
fa5f71d4aa04 console backend
Thinker K.F. Li <thinker@codemud.net>
parents: 1105
diff changeset
281 AH_TEMPLATE([CONSOLE_BACKEND], [Enable console backend])
694
7e64e0f70cb6 Switch XSHM with autoconf
Thinker K.F. Li <thinker@branda.to>
parents: 654
diff changeset
282 AH_TEMPLATE([XSHM], [Enable XSHM])
435
2bdd4f5dd2ca Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents: 408
diff changeset
283
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
284 AC_OUTPUT