Mercurial > MadButterfly
annotate configure.ac @ 244:d36abace2ce4
Fix bug in *_goto_scene()
- Wrong type casting in *_goto_scene() of mb_c_source.m5. Once again!
- Change examples/dynamic/main.c that scene is numbered started from zero.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 31 Dec 2008 23:50:53 +0800 |
parents | 31933f9ee70e |
children | cac9ad3df633 a90fd749af82 |
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]) |
169 | 7 AC_CONFIG_HEADER([config.h]) |
8 AM_INIT_AUTOMAKE([foreign]) | |
9 | |
10 # Checks for programs. | |
11 AC_PROG_CC | |
182
7d1497608c2f
Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents:
178
diff
changeset
|
12 LT_INIT |
184
13c1d49c198b
Add AC_PROG_LIBTOOL to make older libtool compatible.
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
parents:
182
diff
changeset
|
13 AC_PROG_LIBTOOL |
169 | 14 |
15 # Checks for libraries. | |
182
7d1497608c2f
Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents:
178
diff
changeset
|
16 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) |
169 | 17 |
18 # Checks for header files. | |
19 AC_PATH_X | |
20 AC_HEADER_STDC | |
21 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) | |
22 | |
23 # Checks for typedefs, structures, and compiler characteristics. | |
24 AC_C_CONST | |
25 AC_TYPE_SIZE_T | |
26 AC_HEADER_TIME | |
27 AC_STRUCT_TM | |
28 AC_TYPE_UINT32_T | |
29 AC_TYPE_UINT64_T | |
30 | |
31 # Checks for library functions. | |
32 AC_FUNC_MALLOC | |
33 AC_FUNC_REALLOC | |
34 AC_FUNC_SELECT_ARGTYPES | |
35 AC_CHECK_FUNCS([gettimeofday memset select sqrt strdup]) | |
36 | |
37 AC_CONFIG_FILES([Makefile | |
38 libmbfly.pc | |
178 | 39 examples/Makefile |
40 examples/calculator/Makefile | |
41 examples/svg2code_ex/Makefile | |
188
a7358d9127c8
autotoolize examples/tank
Thinker K.F. Li <thinker@branda.to>
parents:
185
diff
changeset
|
42 examples/tank/Makefile |
200 | 43 examples/drag/Makefile |
201
31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
wycc@wycc-desktop
parents:
200
diff
changeset
|
44 examples/dynamic/Makefile |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
45 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
|
46 include/Makefile |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
47 tools/Makefile]) |
169 | 48 AC_OUTPUT |