Mercurial > MadButterfly
annotate configure.ac @ 182:7d1497608c2f
Polish scripts of GNU Build System.
author | "Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>" |
---|---|
date | Sun, 02 Nov 2008 14:05:39 +0800 |
parents | d0646a6df46f |
children | 13c1d49c198b |
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 |
169 | 13 |
14 # Checks for libraries. | |
182
7d1497608c2f
Polish scripts of GNU Build System.
"Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
parents:
178
diff
changeset
|
15 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found])) |
169 | 16 |
17 # Checks for header files. | |
18 AC_PATH_X | |
19 AC_HEADER_STDC | |
20 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) | |
21 | |
22 # Checks for typedefs, structures, and compiler characteristics. | |
23 AC_C_CONST | |
24 AC_TYPE_SIZE_T | |
25 AC_HEADER_TIME | |
26 AC_STRUCT_TM | |
27 AC_TYPE_UINT32_T | |
28 AC_TYPE_UINT64_T | |
29 | |
30 # Checks for library functions. | |
31 AC_FUNC_MALLOC | |
32 AC_FUNC_REALLOC | |
33 AC_FUNC_SELECT_ARGTYPES | |
34 AC_CHECK_FUNCS([gettimeofday memset select sqrt strdup]) | |
35 | |
36 AC_CONFIG_FILES([Makefile | |
37 libmbfly.pc | |
178 | 38 examples/Makefile |
39 examples/calculator/Makefile | |
40 examples/svg2code_ex/Makefile | |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
41 src/Makefile |
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
42 tools/Makefile]) |
169 | 43 AC_OUTPUT |