Added a changelog entry.
[profile/ivi/json-c.git] / configure.in
1 AC_PREREQ(2.52)
2
3 # Process this file with autoconf to produce a configure script.
4 AC_INIT([json-c], 0.10, [json-c@googlegroups.com])
5
6 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
8 AC_PROG_MAKE_SET
9
10 # Checks for programs.
11
12 # Checks for libraries.
13
14 # Checks for header files.
15 AM_CONFIG_HEADER(config.h)
16 AM_CONFIG_HEADER(json_config.h)
17 AC_HEADER_STDC
18 AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h)
19 AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])
20
21 # Checks for typedefs, structures, and compiler characteristics.
22 AC_C_CONST
23 AC_TYPE_SIZE_T
24
25 # Checks for library functions.
26 AC_FUNC_VPRINTF
27 AC_FUNC_MEMCMP
28 AC_FUNC_MALLOC
29 AC_FUNC_REALLOC
30 AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp)
31
32 AM_PROG_LIBTOOL
33
34 AC_CONFIG_FILES([
35 Makefile
36 json.pc
37 tests/Makefile
38 ])
39
40 AC_OUTPUT
41