This way, more site configuration can be more easily added later.
Makefile
doc/Makefile
src/Makefile
Makefile
doc/Makefile
src/Makefile
test/Makefile
test/bin/Makefile
test/suites/Makefile
test/Makefile
test/bin/Makefile
test/suites/Makefile
-include_HEADERS = jansson.h
+include_HEADERS = jansson.h jansson_config.h
lib_LTLIBRARIES = libjansson.la
libjansson_la_SOURCES = \
lib_LTLIBRARIES = libjansson.la
libjansson_la_SOURCES = \
#include <stdio.h>
#include <stdlib.h> /* for size_t */
#include <stdio.h>
#include <stdlib.h> /* for size_t */
+#include <jansson_config.h>
-#ifndef __cplusplus
-#define JSON_INLINE @json_inline@
-#else
-#define JSON_INLINE inline
--- /dev/null
+/*
+ * Copyright (c) 2010 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#ifndef JANSSON_CONFIG_H
+#define JANSSON_CONFIG_H
+
+#ifdef __cplusplus
+#define JSON_INLINE inline
+#else
+#define JSON_INLINE @json_inline@
+#endif
+
+#endif