2 AC_INIT([jansson], [2.2], [petri@digip.org])
4 AM_INIT_AUTOMAKE([1.10 foreign])
6 AC_CONFIG_SRCDIR([src/value.c])
7 AC_CONFIG_HEADERS([config.h])
12 AM_CONDITIONAL([GCC], [test x$GCC = xyes])
14 # Checks for libraries.
16 # Checks for header files.
17 AC_CHECK_HEADERS([locale.h])
19 # Checks for typedefs, structures, and compiler characteristics.
23 case $ac_cv_type_long_long_int in
24 yes) json_have_long_long=1;;
25 *) json_have_long_long=0;;
27 AC_SUBST([json_have_long_long])
30 case $ac_cv_c_inline in
31 yes) json_inline=inline;;
33 *) json_inline=$ac_cv_c_inline;;
35 AC_SUBST([json_inline])
37 # Checks for library functions.
38 AC_CHECK_FUNCS([setlocale localeconv])
39 case "$ac_cv_header_locale_h$ac_cv_func_localeconv" in
40 yesyes) json_have_localeconv=1;;
41 *) json_have_localeconv=0;;
43 AC_SUBST([json_have_localeconv])
54 test/suites/api/Makefile