blob: 7e2bbc8b0ef4558bfac8069b9f83498b10ed8ca4 [file] [log] [blame]
Michael Clark4504df72007-03-13 08:26:20 +00001AC_PREREQ(2.52)
2
3# Process this file with autoconf to produce a configure script.
Eric Haszlakiewicz0354e192011-05-03 21:09:30 +00004AC_INIT([json-c], 0.10, [michael@metaparadigm.com])
Michael Clark4504df72007-03-13 08:26:20 +00005
6AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
8# Checks for programs.
9
10# Checks for libraries.
11
12# Checks for header files.
13AM_CONFIG_HEADER(config.h)
14AC_HEADER_STDC
15AC_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.
18AC_C_CONST
19AC_TYPE_SIZE_T
20
21# Checks for library functions.
22AC_FUNC_VPRINTF
23AC_FUNC_MEMCMP
24AC_FUNC_MALLOC
25AC_FUNC_REALLOC
26AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp)
27
28AM_PROG_LIBTOOL
29
30AC_OUTPUT([
31Makefile
32json.pc
33])