X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=746bff2e8e18bad68d602b018fe8053374b7a7db;hb=29ee3832cf1cee4cfebad8e440b58877437c4615;hp=6bc90647ccaeefe591297f982b8603b637ae6741;hpb=286823227c8c06e729dd939ec53b124c5c9afbc4;p=jansson.git diff --git a/configure.ac b/configure.ac index 6bc9064..746bff2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,14 @@ AC_PROG_LIBTOOL # 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. AC_CONFIG_FILES([ @@ -24,6 +32,7 @@ AC_CONFIG_FILES([ Makefile doc/Makefile src/Makefile + src/jansson.h test/Makefile test/bin/Makefile test/suites/Makefile