Update JSON-GLib dependency
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 25 Jun 2009 17:56:52 +0000 (18:56 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 29 Jun 2009 16:01:11 +0000 (17:01 +0100)
commit354fa437cdc4b67ca6c2452756a261222109b289
treed7789749af93cb8e6363473952ec98ba4d4083bf
parent81bc2b4cc7c755b825f55424be261a5120f4fc0c
Update JSON-GLib dependency

Currently, Clutter depends on the internal copy of JSON-GLib for
the ClutterScript parser. This is done to allow building Clutter
on platforms that do not have the library installed on the system.

Just like we use the internal PNG/JPEG loader as a fallback in
case we don't have GdkPixbuf or CoreGraphics available, we should
use the internal copy of JSON-GLib only in case the system copy
is not present.

The change is simply to move the default for the --with-json
configure switch from "internal" to "check".

In order to allow stricter compliance, a third setting should
be present: "system", which fails if the system copy is not
available.

We should also change the introspection generation to avoid
breaking in case we require the installed Json-1.0.gir instead
of the generated ClutterJson.gir
clutter/Makefile.am
configure.ac