annotate configure.ac @ 392:ebf83a50e1e1

Implement the MadSwatter integration
author wycc
date Wed, 15 Apr 2009 08:34:27 +0800
parents 4ae9888bbde6
children 271f88e7e2a6
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])
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
7 AC_CONFIG_HEADER([config.h])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
8 AM_INIT_AUTOMAKE([foreign])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
9
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
10 # Checks for programs.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
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
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
14
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
15 # Checks for libraries.
278
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 201
diff changeset
16 PKG_CHECK_MODULES([cairo], [cairo >= 0.22], , AC_MSG_ERROR([cairo >= 0.22 not found]))
a90fd749af82 Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents: 201
diff changeset
17 PKG_CHECK_MODULES([pangocairo], [pangocairo >= 0.22], , AC_MSG_ERROR([pangocairo >= 0.22 not found]))
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
18
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
19 # Checks for header files.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
20 AC_PATH_X
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
21 AC_HEADER_STDC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
22 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
23
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
24 # Checks for typedefs, structures, and compiler characteristics.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
25 AC_C_CONST
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
26 AC_TYPE_SIZE_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
27 AC_HEADER_TIME
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
28 AC_STRUCT_TM
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
29 AC_TYPE_UINT32_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
30 AC_TYPE_UINT64_T
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
31
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
32 # Checks for library functions.
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
33 AC_FUNC_MALLOC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
34 AC_FUNC_REALLOC
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
35 AC_FUNC_SELECT_ARGTYPES
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
36 AC_CHECK_FUNCS([gettimeofday memset select sqrt strdup])
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
37
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
38 AC_CONFIG_FILES([Makefile
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
39 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
40 libmbfly-uninstalled.pc
178
d0646a6df46f Autoolize examples.
sylee@eeepc
parents: 177
diff changeset
41 examples/Makefile
d0646a6df46f Autoolize examples.
sylee@eeepc
parents: 177
diff changeset
42 examples/calculator/Makefile
d0646a6df46f Autoolize examples.
sylee@eeepc
parents: 177
diff changeset
43 examples/svg2code_ex/Makefile
188
a7358d9127c8 autotoolize examples/tank
Thinker K.F. Li <thinker@branda.to>
parents: 185
diff changeset
44 examples/tank/Makefile
200
1528209c6c92 Add drag into buiulding system
wycc@wycc-desktop
parents: 188
diff changeset
45 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
46 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
47 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
48 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
49 include/Makefile
256
cac9ad3df633 * use Autotool to install inkscape ext. of MadButterfly ( experimental! )
"Mat <MatLinuxer2@gmail.com>"
parents: 201
diff changeset
50 inkscape/Makefile
174
9008ac31efbd Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents: 169
diff changeset
51 tools/Makefile])
169
7ca25f18902f Autotoolize MadButterfly.
sylee@eeepc
parents:
diff changeset
52 AC_OUTPUT