Mercurial > MadButterfly
annotate configure.ac @ 174:9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Invoke automake to install scripts and pkgdata file.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 31 Oct 2008 10:57:47 +0800 |
parents | 7ca25f18902f |
children | c8cf6343868b |
rev | line source |
---|---|
169 | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | |
3 | |
4 AC_PREREQ(2.61) | |
5 AC_INIT([MadButterfly], [0.0], [http://www.assembla.com/spaces/MadButterfly]) | |
6 AC_CONFIG_HEADER([config.h]) | |
7 AM_INIT_AUTOMAKE([foreign]) | |
8 | |
9 # Checks for programs. | |
10 AC_PROG_CC | |
11 AM_PROG_LIBTOOL | |
12 | |
13 # Checks for libraries. | |
14 PKG_CHECK_MODULES([cairo], [cairo >= 1.6.0], , AC_MSG_ERROR([not found])) | |
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 | |
35 AC_CONFIG_FILES([Makefile | |
36 libmbfly.pc | |
174
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
37 src/Makefile |
9008ac31efbd
Install scripts and M4 macros in tools/ sub-directory.
Thinker K.F. Li <thinker@branda.to>
parents:
169
diff
changeset
|
38 tools/Makefile]) |
169 | 39 AC_OUTPUT |