bits.h \
debug.h \
json.h \
+ json_config.h \
json_inttypes.h \
json_object.h \
json_object_private.h \
linkhash.h \
printbuf.h
+#libjsonx_includedir = $(libdir)/json-c-@VERSION@
+#
+#libjsonx_include_HEADERS = \
+# json_config.h
+
libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
libjson_la_SOURCES = \
/* Define to 1 if you have the `vsyslog' function. */
#undef HAVE_VSYSLOG
+/* Public define for json_inttypes.h */
+#undef JSON_C_HAVE_INTTYPES_H
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
/* Name of package */
#undef PACKAGE
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to rpl_realloc if the replacement function should be used. */
#undef realloc
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
# Checks for header files.
AM_CONFIG_HEADER(config.h)
+AM_CONFIG_HEADER(json_config.h)
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h)
+AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
--- /dev/null
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef JSON_C_HAVE_INTTYPES_H
#ifndef _json_inttypes_h_
#define _json_inttypes_h_
+#include "json_config.h"
+
#if defined(_MSC_VER) && _MSC_VER < 1600
/* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
#else
-#ifdef HAVE_INTTYPES_H
+#ifdef JSON_C_HAVE_INTTYPES_H
#include <inttypes.h>
#endif
/* inttypes.h includes stdint.h */
#ifndef _json_object_h_
#define _json_object_h_
+#include "json_inttypes.h"
+
#ifdef __cplusplus
extern "C" {
#endif