Merge branch '1.2'
[jansson.git] / configure.ac
1 AC_PREREQ([2.60])
2 AC_INIT([jansson], [1.2.1+], [petri@digip.org])
3
4 AM_INIT_AUTOMAKE([1.10 foreign])
5
6 AC_CONFIG_SRCDIR([src/value.c])
7 AC_CONFIG_HEADERS([config.h])
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_CXX
12 AC_PROG_LIBTOOL
13
14 # Checks for libraries.
15
16 # Checks for header files.
17
18 # Checks for typedefs, structures, and compiler characteristics.
19 AC_TYPE_INT32_T
20
21 AC_C_INLINE
22 case $ac_cv_c_inline in
23     yes) json_inline=inline;;
24     no) json_inline=;;
25     *) json_inline=$ac_cv_c_inline;;
26 esac
27 AC_SUBST([json_inline])
28
29 # Checks for library functions.
30
31 AC_CONFIG_FILES([
32         jansson.pc
33         Makefile
34         doc/Makefile
35         src/Makefile
36         src/jansson.h
37         test/Makefile
38         test/bin/Makefile
39         test/suites/Makefile
40         test/suites/api/Makefile
41 ])
42 AC_OUTPUT