You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure.in 847 B

1234567891011121314151617181920212223242526272829303132333435
  1. AC_PREREQ(2.52)
  2. # Process this file with autoconf to produce a configure script.
  3. AC_INIT([json-c], 0.10, [michael@metaparadigm.com])
  4. AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
  5. # Checks for programs.
  6. # Checks for libraries.
  7. # Checks for header files.
  8. AM_CONFIG_HEADER(config.h)
  9. AM_CONFIG_HEADER(json_config.h)
  10. AC_HEADER_STDC
  11. AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h)
  12. AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])
  13. # Checks for typedefs, structures, and compiler characteristics.
  14. AC_C_CONST
  15. AC_TYPE_SIZE_T
  16. # Checks for library functions.
  17. AC_FUNC_VPRINTF
  18. AC_FUNC_MEMCMP
  19. AC_FUNC_MALLOC
  20. AC_FUNC_REALLOC
  21. AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp)
  22. AM_PROG_LIBTOOL
  23. AC_OUTPUT([
  24. Makefile
  25. json.pc
  26. ])