Mercurial > MadButterfly
annotate configure.ac @ 628:e50c4e111698 openvg
Disable mbaf for OpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 16 Jul 2010 18:44:29 +0800 |
parents | 97bf0ff7a038 |
children | 7b4e80ab671a |
rev | line source |
---|---|
169 | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | |
3 | |
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]) |
169 | 8 AM_INIT_AUTOMAKE([foreign]) |
9 | |
10 # Checks for programs. | |
11 AC_PROG_CC | |
468
ae784a86ba82
C++ instead of C to bridge to Skia
Thinker K.F. Li <thinker@branda.to>
parents:
467
diff
changeset
|
12 AC_PROG_CXX |
182
7d1497608c2f
Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents:
178
diff
changeset
|
13 LT_INIT |
184
13c1d49c198b
Add AC_PROG_LIBTOOL to make older libtool compatible.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents:
182
diff
changeset
|
14 AC_PROG_LIBTOOL |
169 | 15 |
16 # Checks for header files. | |
17 AC_PATH_X | |
18 AC_HEADER_STDC | |
19 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) | |
20 | |
21 # Checks for typedefs, structures, and compiler characteristics. | |
22 AC_C_CONST | |
23 AC_TYPE_SIZE_T | |
24 AC_HEADER_TIME | |
25 AC_STRUCT_TM | |
26 AC_TYPE_UINT32_T | |
27 AC_TYPE_UINT64_T | |
28 | |
29 # Checks for library functions. | |
30 AC_FUNC_MALLOC | |
31 AC_FUNC_REALLOC | |
32 AC_FUNC_SELECT_ARGTYPES | |
33 AC_CHECK_FUNCS([gettimeofday memset select sqrt strdup]) | |
34 | |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
35 AC_ARG_ENABLE([testcase], |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
36 [ --enable-testcase Enable testcase], |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
37 [case "${enableval}" in |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
38 yes) testcase=true ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
39 no) testcase=false ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
40 *) AC_MSG_ERROR([bad value ${enableval} for --enable-testcase]) ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
41 esac],[testcase=false]) |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
42 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
|
43 |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
44 AC_ARG_ENABLE([sh_text], |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
45 [ --disable-sh_text Turn off sh_text], |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
46 [case "${enableval}" in |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
47 yes) sh_text=true ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
48 no) sh_text=false ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
49 *) AC_MSG_ERROR([bad value ${enableval} for --disable-sh_text]) ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
50 esac],[sh_text=true]) |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
51 |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
52 AC_ARG_ENABLE([sh_stext], |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
53 [ --disable-sh_stext Turn off sh_stext], |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
54 [case "${enableval}" in |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
55 yes) sh_stext=true ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
56 no) sh_stext=false ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
57 *) AC_MSG_ERROR([bad value ${enableval} for --disable-sh_stext]) ;; |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
58 esac],[sh_stext=true]) |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
59 AM_CONDITIONAL([SH_STEXT], [test x$sh_stext = xtrue]) |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
60 [if [ x"${sh_stext}" = xtrue ]; then] |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
61 AC_DEFINE([SH_STEXT]) |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
62 [fi] |
408
7f7855df2af0
Make unittest built by automake and autoconf.
Thinker K.F. Li <thinker@branda.to>
parents:
402
diff
changeset
|
63 |
628
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
64 AC_ARG_ENABLE([mbaf], |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
65 [ --disable-mbaf Turn off mbaf], |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
66 [case "${enableval}" in |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
67 yes) mbaf=true ;; |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
68 no) mbaf=false ;; |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
69 *) 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
|
70 esac],[mbaf=true]) |
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
71 |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
72 AC_ARG_ENABLE([X_supp], |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
73 [ --disable-X_supp Turn off X backend], |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
74 [case "${enableval}" in |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
75 yes) X_supp=true ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
76 no) X_supp=false ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
77 *) AC_MSG_ERROR([bad value ${enableval} for --disable-X_supp]) ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
78 esac],[X_supp=true]) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
79 |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
80 AC_ARG_ENABLE([skia], |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
81 [ --enable-skia Turn on Skia instead of Cairo], |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
82 [case "${enableval}" in |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
83 yes) skia=true ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
84 no) skia=false ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
85 *) AC_MSG_ERROR([bad value ${enableval} for --enable-skia]) ;; |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
86 esac],[skia=false]) |
579
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
87 |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
88 AC_ARG_ENABLE([openvg], |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
89 [ --enable-openvg Turn on OpenVG instead of Cairo or Skia], |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
90 [case "${enableval}" in |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
91 yes) openvg=true ;; |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
92 no) openvg=false ;; |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
93 *) AC_MSG_ERROR([bad value ${enableval} for --enable-openvg]) ;; |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
94 esac],[openvg=false]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
95 |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
96 [if [ x"$skia-%openvg" = xtrue-true ]; then] |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
97 AC_MSG_ERROR([confliction on --enable-skia and --enable-openvg]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
98 [fi] |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
99 |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
100 [if [ x"${skia}" = xtrue ]; then ] |
466
cd6f57b9b104
Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents:
465
diff
changeset
|
101 AC_DEFINE([SKIA_GRAPH_ENGINE]) |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
102 cairo=false |
579
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
103 [elif [ x"${openvg}" = xtrue ]; then ] |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
104 AC_DEFINE([OPENVG_GRAPH_ENGINE]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
105 cairo=false |
628
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
106 mbaf=false |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
107 [else] |
466
cd6f57b9b104
Add graph_engine_skia.c
Thinker K.F. Li <thinker@branda.to>
parents:
465
diff
changeset
|
108 AC_DEFINE([CAIRO_GRAPH_ENGINE]) |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
109 cairo=true |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
110 [fi] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
111 |
579
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
112 AM_CONDITIONAL([SKIA_GRAPH_ENGINE], [test x$skia = xtrue]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
113 AM_CONDITIONAL([OPENVG_GRAPH_ENGINE], [test x$openvg = xtrue]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
114 AM_CONDITIONAL([CAIRO_GRAPH_ENGINE], [test x"$cairo" = xtrue]) |
628
e50c4e111698
Disable mbaf for OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
627
diff
changeset
|
115 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
|
116 |
543
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
117 AC_ARG_ENABLE([nodejs], |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
118 [ --enable-nodejs Turn on nodejs support], |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
119 [case "${enableval}" in |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
120 yes) nodejs=true ;; |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
121 no) nodejs=false ;; |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
122 *) AC_MSG_ERROR([bad value ${enableval} for --enable-nodejs]) ;; |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
123 esac],[nodejs=false]) |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
124 [if [ x"${nodejs}" = xtrue ]; then ] |
544
16f4f8305c8f
Start MadButterfly nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
543
diff
changeset
|
125 AC_PATH_PROG([NODE_WAF], [node-waf]) |
543
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
126 AC_CHECK_PROG([has_node], [node], [true], [false]) |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
127 [fi] |
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
128 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
|
129 |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
130 # Define AM and AC variable for sh_text |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
131 AM_CONDITIONAL([SH_TEXT], [test x$sh_text = xtrue -a x$cairo = xtrue]) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
132 [if [ x"${sh_text}" = xtrue -a x$cairo = xtrue ]; then] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
133 AC_DEFINE([SH_TEXT]) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
134 [fi] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
135 |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
136 # Define AM and AC variable for X_supp |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
137 AM_CONDITIONAL([X_SUPP], |
627
97bf0ff7a038
linked with libEGL and libOpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
626
diff
changeset
|
138 [test x$X_supp = xtrue -a \( x$cairo = xtrue -o x$openvg = xtrue \)]) |
626
e4138c12fa8c
Call mbe_vg_win_surface_create() in X_supp.c when with OpenVG
Thinker K.F. Li <thinker@branda.to>
parents:
603
diff
changeset
|
139 [if [ x"${X_supp}" = xtrue -a \( x"${cairo}" = xtrue -o x"${openvg}" = xtrue \) ]; then] |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
140 AC_DEFINE([X_SUPP]) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
141 [fi] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
142 |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
143 # Checks for libraries. |
579
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
144 [if [ x"${openvg}" = xtrue ]; then] |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
145 AC_CHECK_HEADERS([GL/glut.h],, [AC_MSG_ERROR([can not find GL/glut.h])]) |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
146 [fi] |
e2c9117b1e12
Add an option to enable OpenVG graphic engine
Thinker K.F. Li <thinker@branda.to>
parents:
544
diff
changeset
|
147 |
603
39d27911c3ae
Remove mbe_image_surface_create_for_data()
Thinker K.F. Li <thinker@branda.to>
parents:
601
diff
changeset
|
148 PKG_CHECK_MODULES([imlib2], [imlib2 >= 1.4.1], , AC_MSG_ERROR([imlib2 >= 1.4.1 not found])) |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
149 [if [ x"${cairo}" = xtrue ]; then] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
150 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
151 PKG_CHECK_MODULES([pangocairo], [pangocairo >= 1.0], , AC_MSG_ERROR([pangocairo >= 1.0 not found])) |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
152 [fi] |
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
153 |
169 | 154 AC_CONFIG_FILES([Makefile |
155 libmbfly.pc | |
351
4ae9888bbde6
Added libmbfly-uninstalled.pc.in to compile libmbfly-based application without installation of library
Ben Lau <xbenlau@gmail.com>
parents:
296
diff
changeset
|
156 libmbfly-uninstalled.pc |
178 | 157 examples/Makefile |
158 examples/calculator/Makefile | |
159 examples/svg2code_ex/Makefile | |
188
a7358d9127c8
autotoolize examples/tank
Thinker K.F. Li <thinker@branda.to>
parents:
185
diff
changeset
|
160 examples/tank/Makefile |
200 | 161 examples/drag/Makefile |
296
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
280
diff
changeset
|
162 examples/dynamic/Makefile |
2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
wycc
parents:
280
diff
changeset
|
163 examples/menu/Makefile |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
164 src/Makefile |
185
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
184
diff
changeset
|
165 include/Makefile |
256
cac9ad3df633
* use Autotool to install inkscape ext. of MadButterfly ( experimental! )
"Mat <MatLinuxer2@gmail.com>"
parents:
201
diff
changeset
|
166 inkscape/Makefile |
543
7630dac0a104
Create Makefile for nodejs plugin
Thinker K.F. Li <thinker@branda.to>
parents:
477
diff
changeset
|
167 nodejs/Makefile |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
168 tools/Makefile]) |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
169 |
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
170 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
|
171 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
|
172 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
|
173 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
|
174 AH_TEMPLATE([CAIRO_GRAPH_ENGINE], [Enable Cairo Graphic Engine]) |
464
271212f325b4
Conditional compile with Cairo and Skia.
Thinker K.F. Li <thinker@branda.to>
parents:
440
diff
changeset
|
175 AH_TEMPLATE([X_SUPP], [Enable X backend]) |
435
2bdd4f5dd2ca
Make sh_text and sh_stext optional.
Thinker K.F. Li <thinker@branda.to>
parents:
408
diff
changeset
|
176 |
169 | 177 AC_OUTPUT |