build: Mark --with-json=internal as experimental

The system JSON-GLib installation should be the preferred way of parsing
JSON in Clutter. The internal copy is limited by re-synchronization from
upstream, and by the fact that upstream contains a fork of GScanner that
allows parsing escaped UTF-8. We should warn users compiling Clutter
with the internal copy, just like we warn about the internal image
backend.
This commit is contained in:
Emmanuele Bassi 2010-03-18 20:36:02 +00:00
parent e1ad78ee18
commit 9e0385304f

View File

@ -549,11 +549,13 @@ AC_ARG_WITH([json],
[],
[with_json=default_json])
experimental_json=no
AS_CASE([$with_json],
[internal],
[
JSON_PREFIX=json
experimental_json=yes
have_json=no
],
@ -597,6 +599,7 @@ AS_CASE([$with_json],
],
[
JSON_PREFIX=json
experimental_json=yes
AC_MSG_RESULT([not found, using internal copy])
]
)
@ -942,7 +945,7 @@ echo " Build conformance test suite: ${enable_conformance}"
if test "x$have_json" = "xyes"; then
echo " JSON-GLib: system"
else
echo " JSON-GLib: internal"
echo " JSON-GLib: internal (WARNING: Experimental)"
fi
# COGL flags
@ -985,7 +988,8 @@ echo ""
# General warning about experimental features
if test "x$experimental_backend" = "xyes" ||
test "x$experimental_image" = "xyes"; then
test "x$experimental_image" = "xyes" ||
test "x$experimental_json" = "xyes"; then
echo ""
echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
echo " *WARNING*"