2 AC_INIT([jansson], [2.4-dev], [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.
24 case $ac_cv_c_inline in
25 yes) json_inline=inline;;
27 *) json_inline=$ac_cv_c_inline;;
29 AC_SUBST([json_inline])
31 # Checks for library functions.
32 AC_CHECK_FUNCS([strtoll localeconv])
34 case "$ac_cv_type_long_long_int$ac_cv_func_strtoll" in
35 yesyes) json_have_long_long=1;;
36 *) json_have_long_long=0;;
38 AC_SUBST([json_have_long_long])
40 case "$ac_cv_header_locale_h$ac_cv_func_localeconv" in
41 yesyes) json_have_localeconv=1;;
42 *) json_have_localeconv=0;;
44 AC_SUBST([json_have_localeconv])
55 test/suites/api/Makefile