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 944 B

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