test:suites:api: modified error message

In the "/* perform the same update again */" area the error
message should be "unable to update an non-empty object"
instead of "unable to update an empty object".

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
jansson:doc: modified incref doc

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Fix the cmake Sphinx find script.

The cmake sphinx find script version parsing assumes a format of 1.2.3, but sphinx version can be 1.2b3 as well, so parse those correctly as well.
Create and install the pkg-config file jansson.pc for CMake.

Use the same jansson.pc.in file as the ./configure script does to generate the jansson.pc file for pkg-config. Also make an install rule for this.
Merge pull request #115 from JoakimSoderberg/cmake_pkgconfig

Cmake pkgconfig
Add json_array_foreach() #define, parallelling json_object_foreach()
Added test cases and documentation for json_array_foreach()
Removed (non-functioning) printfs from test code
Fixed "comparison between signed and unsigned" warning
Merge pull request #118 from dtgriscom/master

Added json_array_foreach(), parallelling json_object_foreach()
Don't shadow the stdlib function index() with arg names

Fixes #119.
Adjust CMakeLists.txt and .def: add _d postfix onto jansson_d.lib/dll

Had to remove the "LIBRARY" line from jansson.def, which was optional,
and was overriding CMake's desire for a specific name.
Added missing rv check - caught by clang
Merge pull request #121 from jjwchoy/master

Added missing return valua check in test
Implemented a decode option to only decode numbers to reals and never integers
Added a simple test for the JSON_DECODE_NO_INT option
Merge pull request #120 from paulharris/mine_pre_2.5

Adjust CMakeLists.txt and .def: add _d postfix onto jansson_d.lib/dll
Renamed flag to JSON_DECODE_INT_AS_REAL and added documentation
Changed :versionadded for JSON_DECODE_INT_AS_REAL docs
Using jsonp_strtod instead of casting to double to catch double overflow