X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=4a199e40beb56835d1e4cf7e74226d6251c248de;hb=014c49c28570eddeb482f8580a88d48b491d15b0;hp=917c04a24d44728b7091642af87c6d5202a69857;hpb=f9febb64c5dc15e03ecf3ca552e0654ee919b52e;p=jansson.git diff --git a/configure.ac b/configure.ac index 917c04a..4a199e4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -AC_PREREQ([2.59]) -AC_INIT([jansson], [1.1.3+], [petri@digip.org]) +AC_PREREQ([2.60]) +AC_INIT([jansson], [1.3], [petri@digip.org]) AM_INIT_AUTOMAKE([1.10 foreign]) @@ -8,6 +8,7 @@ AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC +AC_PROG_CXX AC_PROG_LIBTOOL # Checks for libraries. @@ -15,6 +16,15 @@ AC_PROG_LIBTOOL # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_INT32_T + +AC_C_INLINE +case $ac_cv_c_inline in + yes) json_inline=inline;; + no) json_inline=;; + *) json_inline=$ac_cv_c_inline;; +esac +AC_SUBST([json_inline]) # Checks for library functions. @@ -23,6 +33,7 @@ AC_CONFIG_FILES([ Makefile doc/Makefile src/Makefile + src/jansson.h test/Makefile test/bin/Makefile test/suites/Makefile