1AC_PREREQ(2.52) 2 3# Process this file with autoconf to produce a configure script. 4AC_INIT([JSON C Library], 0.3, [michael@metaparadigm.com], [json-c]) 5 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]) 34