]> granicus.if.org Git - json-c/commitdiff
Fix line terminators to be UNIX.
authorBjörn Esser <besser82@fedoraproject.org>
Fri, 10 Apr 2020 11:25:41 +0000 (13:25 +0200)
committerBjörn Esser <besser82@fedoraproject.org>
Sat, 11 Apr 2020 07:40:57 +0000 (09:40 +0200)
.travis.yml
STYLE.txt
appveyor.yml
config.h.win32

index 8ab1d86345490c845b00d7e01c121dc1d62558d7..91a372a41e710208b090aeb2e01ff96ddd6b1103 100644 (file)
-language: cpp\r
-matrix:\r
-  include:\r
-# gcc\r
-#   xenial\r
-#   gcc 5 is the default on xenial\r
-    - os: linux\r
-      dist: xenial\r
-      compiler: gcc\r
-      addons:\r
-        apt:\r
-          packages:\r
-            - valgrind\r
-            - cppcheck\r
-            - doxygen\r
-            - cmake\r
-      env: CHECK="true"\r
-#   bionic\r
-    - os: linux\r
-      dist: bionic\r
-      compiler: gcc\r
-      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"\r
-    \r
-    # gcc 7 is the default on bionic\r
-    - os: linux\r
-      dist: bionic\r
-      compiler: gcc\r
-      env: CHECK="true"\r
-    - os: linux\r
-      dist: bionic\r
-      compiler: gcc\r
-      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"\r
-\r
-# clang      \r
-#   xenial\r
-    - os: linux\r
-      dist: xenial\r
-      compiler: clang\r
-      addons:\r
-        apt:\r
-          sources:\r
-            - llvm-toolchain-xenial-5.0\r
-          packages:\r
-            - clang-5.0\r
-            - cmake\r
-      env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"\r
-    - os: linux\r
-      dist: xenial\r
-      compiler: clang\r
-      addons:\r
-        apt:\r
-          sources:\r
-            - llvm-toolchain-xenial-6.0\r
-          packages:\r
-            - clang-6.0\r
-            - cmake\r
-      env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" \r
-\r
-    # clang-7 is the default on xenial and bionic\r
-    - os: linux\r
-      dist: xenial\r
-      compiler: clang\r
-      addons:\r
-        apt:\r
-          packages:\r
-            - valgrind\r
-            - cppcheck\r
-            - doxygen\r
-            - cmake\r
-      env: CHECK="true"\r
-\r
-# bionic\r
-    - os: linux\r
-      dist: bionic\r
-      compiler: clang\r
-      env: CHECK="true"\r
-# osx\r
-    - os: osx\r
-      osx_image: xcode9.4\r
-      env: XCODE="true"\r
-    - os: osx\r
-      osx_image: xcode10.1\r
-      env: XCODE="true" CHECK="true"\r
-\r
-# run coveralls\r
-    - os: linux\r
-      dist: xenial\r
-      compiler: gcc\r
-      addons:\r
-        apt:\r
-          packages:\r
-            - lcov\r
-      env: CHECK="true"\r
-      before_install:\r
-        - sudo gem install coveralls-lcov\r
-        - echo $CC\r
-        - echo $LANG\r
-        - echo $LC_ALL\r
-        - set -e\r
-        - if [ "$TRAVIS_OS_NAME" = "linux" ]; then\r
-            eval "${MATRIX_EVAL}";\r
-            if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then\r
-              sudo apt-get install -y $CC;\r
-            fi;\r
-          fi\r
-      before_script:\r
-        - export CFLAGS="-fprofile-arcs -ftest-coverage"\r
-        - mkdir build && cd build && cmake ..\r
-      script:\r
-        - make\r
-        - make test\r
-      after_success:\r
-        - cd ..\r
-        - lcov -d build/ -b . -c -o build/all_coverage.info\r
-        - lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info\r
-        - coveralls-lcov --verbose build/coverage.info\r
-\r
-#  allow_failures:\r
-#    - os: osx\r
-\r
-before_install:\r
-  - echo $CC\r
-  - echo $LANG\r
-  - echo $LC_ALL\r
-  - set -e\r
-  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then\r
-      eval "${MATRIX_EVAL}";\r
-      if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then\r
-        sudo apt-get install -y $CC;\r
-      fi;\r
-    fi\r
-\r
-before_script:\r
-  # XXX osx on travis doesn't work w/ set -e, so turn it off :(\r
-  - set +e \r
-  - mkdir -p build || echo "Failed to mkdir build"\r
-  - cd build || echo "Failed to cd build"\r
-  - cmake .. || echo "Failed to run cmake"\r
-\r
-script:\r
-  - make\r
-  # when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...\r
-  - if [ -n "$CHECK" ]; then\r
-      if [ "$TRAVIS_OS_NAME" = "osx" ]; then\r
-        brew install doxygen;\r
-      else\r
-        if [ "$TRAVIS_DIST" = "bionic" ]; then\r
-          sudo apt-get install -y valgrind cppcheck doxygen;\r
-        fi;\r
-      fi;\r
-      make distcheck;\r
-      if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;\r
-    fi\r
-\r
+language: cpp
+matrix:
+  include:
+# gcc
+#   xenial
+#   gcc 5 is the default on xenial
+    - os: linux
+      dist: xenial
+      compiler: gcc
+      addons:
+        apt:
+          packages:
+            - valgrind
+            - cppcheck
+            - doxygen
+            - cmake
+      env: CHECK="true"
+#   bionic
+    - os: linux
+      dist: bionic
+      compiler: gcc
+      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
+    
+    # gcc 7 is the default on bionic
+    - os: linux
+      dist: bionic
+      compiler: gcc
+      env: CHECK="true"
+    - os: linux
+      dist: bionic
+      compiler: gcc
+      env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
+
+# clang      
+#   xenial
+    - os: linux
+      dist: xenial
+      compiler: clang
+      addons:
+        apt:
+          sources:
+            - llvm-toolchain-xenial-5.0
+          packages:
+            - clang-5.0
+            - cmake
+      env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
+    - os: linux
+      dist: xenial
+      compiler: clang
+      addons:
+        apt:
+          sources:
+            - llvm-toolchain-xenial-6.0
+          packages:
+            - clang-6.0
+            - cmake
+      env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" 
+
+    # clang-7 is the default on xenial and bionic
+    - os: linux
+      dist: xenial
+      compiler: clang
+      addons:
+        apt:
+          packages:
+            - valgrind
+            - cppcheck
+            - doxygen
+            - cmake
+      env: CHECK="true"
+
+# bionic
+    - os: linux
+      dist: bionic
+      compiler: clang
+      env: CHECK="true"
+# osx
+    - os: osx
+      osx_image: xcode9.4
+      env: XCODE="true"
+    - os: osx
+      osx_image: xcode10.1
+      env: XCODE="true" CHECK="true"
+
+# run coveralls
+    - os: linux
+      dist: xenial
+      compiler: gcc
+      addons:
+        apt:
+          packages:
+            - lcov
+      env: CHECK="true"
+      before_install:
+        - sudo gem install coveralls-lcov
+        - echo $CC
+        - echo $LANG
+        - echo $LC_ALL
+        - set -e
+        - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
+            eval "${MATRIX_EVAL}";
+            if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
+              sudo apt-get install -y $CC;
+            fi;
+          fi
+      before_script:
+        - export CFLAGS="-fprofile-arcs -ftest-coverage"
+        - mkdir build && cd build && cmake ..
+      script:
+        - make
+        - make test
+      after_success:
+        - cd ..
+        - lcov -d build/ -b . -c -o build/all_coverage.info
+        - lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info
+        - coveralls-lcov --verbose build/coverage.info
+
+#  allow_failures:
+#    - os: osx
+
+before_install:
+  - echo $CC
+  - echo $LANG
+  - echo $LC_ALL
+  - set -e
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
+      eval "${MATRIX_EVAL}";
+      if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
+        sudo apt-get install -y $CC;
+      fi;
+    fi
+
+before_script:
+  # XXX osx on travis doesn't work w/ set -e, so turn it off :(
+  - set +e 
+  - mkdir -p build || echo "Failed to mkdir build"
+  - cd build || echo "Failed to cd build"
+  - cmake .. || echo "Failed to run cmake"
+
+script:
+  - make
+  # when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
+  - if [ -n "$CHECK" ]; then
+      if [ "$TRAVIS_OS_NAME" = "osx" ]; then
+        brew install doxygen;
+      else
+        if [ "$TRAVIS_DIST" = "bionic" ]; then
+          sudo apt-get install -y valgrind cppcheck doxygen;
+        fi;
+      fi;
+      make distcheck;
+      if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;
+    fi
index 14a939d369f895915b20c0b1e03652846514030d..2c249bb1ef4bca7777a219d073ea65f808e81e96 100644 (file)
--- a/STYLE.txt
+++ b/STYLE.txt
@@ -1,32 +1,32 @@
-In general:\r
-For minor changes to a function, copy the existing formatting.\r
-When changing the style, commit that separately from other changes.\r
-For new code and major changes to a function, switch to the official json-c style.\r
-\r
-Official json-c style:\r
-\r
-Aim for readability, not strict conformance to fixed style rules.\r
-Formatting is tab based; previous attempts at proper alignment with\r
-spaces for continuation lines have been abandoned in favor of the\r
-convenience of using clang-format.\r
-Refer to the .clang-format file for details, and run the tool before commit:\r
-\r
-    clang-format -i somefile.c foo.h \r
-\r
-For sections of code that would be significantly negatively impacted, surround\r
-them with magic comments to disable formatting:\r
-\r
-    /* clang-format off */\r
-    ...code...\r
-    /* clang-format on */\r
-\r
-\r
-Naming:\r
-Words within function and variable names are separated with underscores.  Avoid camel case.\r
-Prefer longer, more descriptive names, but not excessively so.  No single letter variable names.\r
-\r
-Other:\r
-Variables should be defined for the smallest scope needed.\r
-Functions should be defined static when possible.\r
-When possible, avoid exposing internals in the public API.\r
-\r
+In general:
+For minor changes to a function, copy the existing formatting.
+When changing the style, commit that separately from other changes.
+For new code and major changes to a function, switch to the official json-c style.
+
+Official json-c style:
+
+Aim for readability, not strict conformance to fixed style rules.
+Formatting is tab based; previous attempts at proper alignment with
+spaces for continuation lines have been abandoned in favor of the
+convenience of using clang-format.
+Refer to the .clang-format file for details, and run the tool before commit:
+
+    clang-format -i somefile.c foo.h 
+
+For sections of code that would be significantly negatively impacted, surround
+them with magic comments to disable formatting:
+
+    /* clang-format off */
+    ...code...
+    /* clang-format on */
+
+
+Naming:
+Words within function and variable names are separated with underscores.  Avoid camel case.
+Prefer longer, more descriptive names, but not excessively so.  No single letter variable names.
+
+Other:
+Variables should be defined for the smallest scope needed.
+Functions should be defined static when possible.
+When possible, avoid exposing internals in the public API.
+
index 4c0b20c33a59427c9842a16f8b3f40ea26b9fcd4..581366dbe30c4c93261cedc9cdd468e2313caab6 100644 (file)
@@ -1,37 +1,37 @@
-version: '{branch}.{build}'\r
-os: Windows Server 2012 R2\r
-\r
-platform: x64\r
-\r
-# There should be a better way to set-up a build matrix.\r
-environment:\r
-  matrix:\r
-    - b_toolset: Windows7.1SDK\r
-      b_config: Debug\r
-\r
-    - b_toolset: Windows7.1SDK\r
-      b_config: Release\r
-\r
-    - b_toolset: v120\r
-      b_config: Debug\r
-\r
-    - b_toolset: v120\r
-      b_config: Release\r
-\r
-    - b_toolset: v140\r
-      b_config: Debug\r
-\r
-    - b_toolset: v140\r
-      b_config: Release\r
-\r
-build_script:\r
-- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .\r
-- cmake --build . --target install\r
-\r
-after_build:\r
-- cd t_install\r
-- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *\r
-\r
-artifacts:\r
-- path: json-c.win32.%b_toolset%.%b_config%.zip\r
-  name: json-c.win32.%b_toolset%.%b_config%.zip\r
+version: '{branch}.{build}'
+os: Windows Server 2012 R2
+
+platform: x64
+
+# There should be a better way to set-up a build matrix.
+environment:
+  matrix:
+    - b_toolset: Windows7.1SDK
+      b_config: Debug
+
+    - b_toolset: Windows7.1SDK
+      b_config: Release
+
+    - b_toolset: v120
+      b_config: Debug
+
+    - b_toolset: v120
+      b_config: Release
+
+    - b_toolset: v140
+      b_config: Debug
+
+    - b_toolset: v140
+      b_config: Release
+
+build_script:
+- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
+- cmake --build . --target install
+
+after_build:
+- cd t_install
+- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
+
+artifacts:
+- path: json-c.win32.%b_toolset%.%b_config%.zip
+  name: json-c.win32.%b_toolset%.%b_config%.zip
index a2896bfc5d59d503f80ba546b708619a4cb58b05..66c5a578a09bd8e6821d8d3449e208b4a8c19c76 100644 (file)
-/* config.h.in.  Generated from configure.ac by autoheader.  */\r
-\r
-/* Enable RDRANR Hardware RNG Hash Seed */\r
-#undef ENABLE_RDRAND\r
-\r
-/* Define if .gnu.warning accepts long strings. */\r
-#undef HAS_GNU_WARNING_LONG\r
-\r
-/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you\r
-   don't. */\r
-#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)\r
-#define HAVE_DECL_INFINITY 1\r
-#endif\r
-\r
-/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.\r
-   */\r
-#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)\r
-#define HAVE_DECL_ISINF 1\r
-#endif\r
-\r
-/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.\r
-   */\r
-#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)\r
-#define HAVE_DECL_ISNAN 1\r
-#endif\r
-\r
-/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */\r
-#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)\r
-#define HAVE_DECL_NAN 1\r
-#endif\r
-\r
-/* Define to 1 if you have the declaration of `_finite', and to 0 if you\r
-   don't. */\r
-#define HAVE_DECL__FINITE 1\r
-\r
-/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.\r
-   */\r
-#define HAVE_DECL__ISNAN 1\r
-\r
-/* Define to 1 if you have the <dlfcn.h> header file. */\r
-#define HAVE_DLFCN_H 1\r
-\r
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */\r
-#define HAVE_DOPRNT 1\r
-\r
-/* Define to 1 if you have the <endian.h> header file. */\r
-#undef HAVE_ENDIAN_H\r
-\r
-/* Define to 1 if you have the <fcntl.h> header file. */\r
-#define HAVE_FCNTL_H 1\r
-\r
-/* Define to 1 if you have the <inttypes.h> header file. */\r
-#define HAVE_INTTYPES_H 1\r
-\r
-/* Define to 1 if you have the <limits.h> header file. */\r
-#define HAVE_LIMITS_H 1\r
-\r
-/* Define to 1 if you have the <locale.h> header file. */\r
-#define HAVE_LOCALE_H 1\r
-\r
-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and\r
-   to 0 otherwise. */\r
-#define HAVE_MALLOC 1\r
-\r
-/* Define to 1 if you have the <memory.h> header file. */\r
-#define HAVE_MEMORY_H 1\r
-\r
-/* Define to 1 if you have the `open' function. */\r
-#define HAVE_OPEN 1\r
-\r
-/* Define to 1 if your system has a GNU libc compatible `realloc' function,\r
-   and to 0 otherwise. */\r
-#define HAVE_REALLOC 1\r
-\r
-/* Define to 1 if you have the `setlocale' function. */\r
-#define HAVE_SETLOCALE 1\r
-\r
-/* Define to 1 if you have the `snprintf' function. */\r
-#if defined(__MINGW32__)\r
-#define HAVE_SNPRINTF 1\r
-#else\r
-#undef HAVE_SNPRINTF\r
-#endif\r
-\r
-/* Define to 1 if you have the <stdarg.h> header file. */\r
-#define HAVE_STDARG_H 1\r
-\r
-/* Define to 1 if you have the <stdint.h> header file. */\r
-#define HAVE_STDINT_H 1\r
-\r
-/* Define to 1 if you have the <stdlib.h> header file. */\r
-#define HAVE_STDLIB_H 1\r
-\r
-/* Define to 1 if you have the `strcasecmp' function. */\r
-#define HAVE_STRCASECMP 1\r
-\r
-/* Define to 1 if you have the `strdup' function. */\r
-#define HAVE_STRDUP 0\r
-\r
-/* Define to 1 if you have the `strerror' function. */\r
-#define HAVE_STRERROR 1\r
-\r
-/* Define to 1 if you have the <strings.h> header file. */\r
-#undef HAVE_STRINGS_H\r
-\r
-/* Define to 1 if you have the <string.h> header file. */\r
-#define HAVE_STRING_H 1\r
-\r
-/* Define to 1 if you have the `strncasecmp' function. */\r
-#if defined(__MINGW32__)\r
-#define HAVE_STRNCASECMP 1\r
-#else\r
-#undef HAVE_STRNCASECMP\r
-#endif\r
-\r
-#cmakedefine HAVE_STRTOLL\r
-#cmakedefine strtoll @cmake_strtoll@\r
-#cmakedefine HAVE_STRTOULL\r
-#cmakedefine strtoull @cmake_strtoull@\r
-\r
-/* Define to 1 if you have the <syslog.h> header file. */\r
-#undef HAVE_SYSLOG_H\r
-\r
-/* Define to 1 if you have the <sys/cdefs.h> header file. */\r
-#define HAVE_SYS_CDEFS_H 1\r
-\r
-/* Define to 1 if you have the <sys/param.h> header file. */\r
-#if defined(__MINGW32__)\r
-#define HAVE_SYS_PARAM_H 1\r
-#else\r
-#undef HAVE_SYS_PARAM_H\r
-#endif\r
-\r
-/* Define to 1 if you have the <sys/stat.h> header file. */\r
-#define HAVE_SYS_STAT_H 1\r
-\r
-/* Define to 1 if you have the <sys/types.h> header file. */\r
-#define HAVE_SYS_TYPES_H 1\r
-\r
-/* Define to 1 if you have the <unistd.h> header file. */\r
-#if defined(__MINGW32__)\r
-#define HAVE_UNISTD_H 1\r
-#else\r
-#undef HAVE_UNISTD_H\r
-#endif\r
-\r
-/* Define to 1 if you have the `vasprintf' function. */\r
-#if defined(__MINGW32__)\r
-#define HAVE_VASPRINTF 1\r
-#else\r
-#undef HAVE_VASPRINTF\r
-#endif\r
-\r
-/* Define to 1 if you have the `vprintf' function. */\r
-#define HAVE_VPRINTF 1\r
-\r
-/* Define to 1 if you have the `vsnprintf' function. */\r
-#define HAVE_VSNPRINTF 1\r
-\r
-/* Define to 1 if you have the `vsyslog' function. */\r
-#undef HAVE_VSYSLOG\r
-\r
-/* Define to the sub-directory in which libtool stores uninstalled libraries.\r
-   */\r
-#undef LT_OBJDIR\r
-\r
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */\r
-/* #undef NO_MINUS_C_MINUS_O */\r
-\r
-/* Name of package */\r
-#define PACKAGE "json-c"\r
-\r
-/* Define to the address where bug reports for this package should be sent. */\r
-#define PACKAGE_BUGREPORT "json-c@googlegroups.com"\r
-\r
-/* Define to the full name of this package. */\r
-#define PACKAGE_NAME "JSON C Library"\r
-\r
-/* Define to the full name and version of this package. */\r
-#define PACKAGE_STRING "JSON C Library 0.13.99"\r
-\r
-/* Define to the one symbol short name of this package. */\r
-#define PACKAGE_TARNAME "json-c"\r
-\r
-/* Define to the home page for this package. */\r
-#define PACKAGE_URL "https://github.com/json-c/json-c"\r
-\r
-/* Define to the version of this package. */\r
-#define PACKAGE_VERSION "0.13.99"\r
-\r
-/* Define to 1 if you have the ANSI C header files. */\r
-#define STDC_HEADERS 1\r
-\r
-/* Version number of package */\r
-#define VERSION "0.13.99"\r
-\r
-/* Define to empty if `const' does not conform to ANSI C. */\r
-/* #undef const */\r
-\r
-/* Define to rpl_malloc if the replacement function should be used. */\r
-/* #undef malloc */\r
-\r
-/* Define to rpl_realloc if the replacement function should be used. */\r
-/* #undef realloc */\r
-\r
-/* Define to `unsigned int' if <sys/types.h> does not define. */\r
-/* #undef size_t */\r
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Enable RDRANR Hardware RNG Hash Seed */
+#undef ENABLE_RDRAND
+
+/* Define if .gnu.warning accepts long strings. */
+#undef HAS_GNU_WARNING_LONG
+
+/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
+   don't. */
+#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
+#define HAVE_DECL_INFINITY 1
+#endif
+
+/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
+   */
+#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
+#define HAVE_DECL_ISINF 1
+#endif
+
+/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
+   */
+#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
+#define HAVE_DECL_ISNAN 1
+#endif
+
+/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
+#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
+#define HAVE_DECL_NAN 1
+#endif
+
+/* Define to 1 if you have the declaration of `_finite', and to 0 if you
+   don't. */
+#define HAVE_DECL__FINITE 1
+
+/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
+   */
+#define HAVE_DECL__ISNAN 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+#define HAVE_DOPRNT 1
+
+/* Define to 1 if you have the <endian.h> header file. */
+#undef HAVE_ENDIAN_H
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+   to 0 otherwise. */
+#define HAVE_MALLOC 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `open' function. */
+#define HAVE_OPEN 1
+
+/* Define to 1 if your system has a GNU libc compatible `realloc' function,
+   and to 0 otherwise. */
+#define HAVE_REALLOC 1
+
+/* Define to 1 if you have the `setlocale' function. */
+#define HAVE_SETLOCALE 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#if defined(__MINGW32__)
+#define HAVE_SNPRINTF 1
+#else
+#undef HAVE_SNPRINTF
+#endif
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `strcasecmp' function. */
+#define HAVE_STRCASECMP 1
+
+/* Define to 1 if you have the `strdup' function. */
+#define HAVE_STRDUP 0
+
+/* Define to 1 if you have the `strerror' function. */
+#define HAVE_STRERROR 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strncasecmp' function. */
+#if defined(__MINGW32__)
+#define HAVE_STRNCASECMP 1
+#else
+#undef HAVE_STRNCASECMP
+#endif
+
+#cmakedefine HAVE_STRTOLL
+#cmakedefine strtoll @cmake_strtoll@
+#cmakedefine HAVE_STRTOULL
+#cmakedefine strtoull @cmake_strtoull@
+
+/* Define to 1 if you have the <syslog.h> header file. */
+#undef HAVE_SYSLOG_H
+
+/* Define to 1 if you have the <sys/cdefs.h> header file. */
+#define HAVE_SYS_CDEFS_H 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#if defined(__MINGW32__)
+#define HAVE_SYS_PARAM_H 1
+#else
+#undef HAVE_SYS_PARAM_H
+#endif
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#if defined(__MINGW32__)
+#define HAVE_UNISTD_H 1
+#else
+#undef HAVE_UNISTD_H
+#endif
+
+/* Define to 1 if you have the `vasprintf' function. */
+#if defined(__MINGW32__)
+#define HAVE_VASPRINTF 1
+#else
+#undef HAVE_VASPRINTF
+#endif
+
+/* Define to 1 if you have the `vprintf' function. */
+#define HAVE_VPRINTF 1
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#define HAVE_VSNPRINTF 1
+
+/* Define to 1 if you have the `vsyslog' function. */
+#undef HAVE_VSYSLOG
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#undef LT_OBJDIR
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
+
+/* Name of package */
+#define PACKAGE "json-c"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "JSON C Library"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "JSON C Library 0.13.99"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "json-c"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "https://github.com/json-c/json-c"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.13.99"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "0.13.99"
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to rpl_malloc if the replacement function should be used. */
+/* #undef malloc */
+
+/* Define to rpl_realloc if the replacement function should be used. */
+/* #undef realloc */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */