"Initial commit to Gerrit"
[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.9, [michael@metaparadigm.com])
5
6 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
8 # Checks for programs.
9
10 # Checks for libraries.
11
12 # Checks for header files.
13 AM_CONFIG_HEADER(config.h)
14 AC_HEADER_STDC
15 AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h)
16
17 # Checks for typedefs, structures, and compiler characteristics.
18 AC_C_CONST
19 AC_TYPE_SIZE_T
20
21 # Checks for library functions.
22 AC_FUNC_VPRINTF
23 AC_FUNC_MEMCMP
24 AC_FUNC_MALLOC
25 AC_FUNC_REALLOC
26 AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp)
27
28 AM_PROG_LIBTOOL
29
30 AC_OUTPUT([
31 Makefile
32 json.pc
33 ])