Merge lp:~alexlauni/ubuntu/natty/json-glib/json-glib-0.12.0 into lp:ubuntu/natty/json-glib

Proposed by Alex Launi on 2010-11-08
Status: Merged
Merged at revision: 16
Proposed branch: lp:~alexlauni/ubuntu/natty/json-glib/json-glib-0.12.0
Merge into: lp:ubuntu/natty/json-glib
Diff against target: 41941 lines
To merge this branch: bzr merge lp:~alexlauni/ubuntu/natty/json-glib/json-glib-0.12.0
Reviewer Review Type Date Requested Status
Didier Roche Approve on 2010-11-09
Ubuntu branches 2010-11-08 Pending
Review via email: mp+40353@code.launchpad.net

Description of the Change

Updates json-glib to newest upstream release 0.12.0. Wanted for JsonBuilder use in Unity.

To post a comment you must log in.
13. By Alex Launi on 2010-11-08

Update gobject-introspection build-depends

14. By Alex Launi on 2010-11-08

Add symbols file

15. By Alex Launi on 2010-11-08

Add some features to the debian/changelog

16. By Alex Launi on 2010-11-08

add json_array_add_array_element@Base 0.12.0 back to symbols

Didier Roche (didrocks) wrote :

Looks good, approved! Thanks :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2010-05-28 11:49:23 +0000
3+++ ChangeLog 2010-11-08 19:04:46 +0000
4@@ -1,22 +1,853 @@
5-commit 755592e2c9e7e9cafbdf2b349a0df41dfeae83aa
6+commit 661a7497cc88aebdee32bf31c219d457ca143590
7 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8-Date: Fri Feb 26 14:04:12 2010 +0000
9-
10- Release 0.10.2 (stable snapshot)
11-
12+Date: Sat Sep 25 11:28:42 2010 +0100
13+
14+ Release JSON-GLib 0.12.0
15+
16+ NEWS | 1 +
17+ README | 6 +++---
18 configure.ac | 4 ++--
19+ 3 files changed, 6 insertions(+), 5 deletions(-)
20+
21+commit 9b6acd68e156a45cc845bdebd99c174e82d0677c
22+Author: Emmanuele Bassi <ebassi@linux.intel.com>
23+Date: Sat Sep 25 11:50:38 2010 +0100
24+
25+ gobject: Fix deserialization of construct-only properties
26+
27+ Commit 2d7550948dfb2e5907b851bc2c4bd296a7526086 broke the construct-only
28+ properties; we now only check for the G_PARAM_CONSTRUCT_ONLY flag, and
29+ pass construct-only properties to g_object_newv(); all the properties
30+ flagged as G_PARAM_CONSTRUCT gets passed with the rest of the properties
31+ after that.
32+
33+ json-glib/json-gobject.c | 4 ++--
34 1 files changed, 2 insertions(+), 2 deletions(-)
35
36-commit 382159118096b899b10411c8b37dbc743702e205
37-Author: Emmanuele Bassi <ebassi@linux.intel.com>
38-Date: Fri Feb 26 14:03:59 2010 +0000
39-
40- Update NEWS file
41-
42- NEWS | 5 +++++
43+commit d480f2e77e3dc0d00fc617686b306f96353b7177
44+Author: Emmanuele Bassi <ebassi@linux.intel.com>
45+Date: Sat Sep 25 11:49:41 2010 +0100
46+
47+ test-serialize-full: Remove the dummy deserialize implementation
48+
49+ If you don't override JsonSerializable, you get the default behaviour
50+ anyway.
51+
52+ tests/test-serialize-full.c | 15 +--------------
53+ 1 files changed, 1 insertions(+), 14 deletions(-)
54+
55+commit ff5dd56e4f864d0c015dcd66fa852f9cf7cf90dd
56+Author: Emmanuele Bassi <ebassi@linux.intel.com>
57+Date: Sat Sep 25 11:49:19 2010 +0100
58+
59+ debug: Add debug notes in the GObject code
60+
61+ json-glib/json-gobject.c | 14 ++++++++++++--
62+ json-glib/json-serializable.c | 3 +++
63+ 2 files changed, 15 insertions(+), 2 deletions(-)
64+
65+commit 7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95
66+Author: Emmanuele Bassi <ebassi@linux.intel.com>
67+Date: Sat Sep 25 11:48:25 2010 +0100
68+
69+ debug: Add debug flags for GObject-related code
70+
71+ json-glib/json-debug.c | 3 ++-
72+ json-glib/json-debug.h | 3 ++-
73+ 2 files changed, 4 insertions(+), 2 deletions(-)
74+
75+commit c6bf7ecb0a836b5b43f203cb22be577bd54b9e9a
76+Author: Emmanuele Bassi <ebassi@linux.intel.com>
77+Date: Sat Sep 25 11:23:43 2010 +0100
78+
79+ introspection: Update to 0.9.5
80+
81+ Add --warn-all for the scanner flags.
82+
83+ Also, undefine JSON_DISABLE_DEPRECATED, to introspect deprecated API.
84+
85+ configure.ac | 2 +-
86+ json-glib/Makefile.am | 4 ++--
87+ 2 files changed, 3 insertions(+), 3 deletions(-)
88+
89+commit 617286e4d38a93e41e1e1d974d01c1d73fd2ff66
90+Author: Emmanuele Bassi <ebassi@linux.intel.com>
91+Date: Sat Sep 25 11:23:10 2010 +0100
92+
93+ Add introspection annotations
94+
95+ json-glib/json-array.c | 4 ++--
96+ json-glib/json-gboxed.c | 14 +++++++-------
97+ json-glib/json-gobject.c | 4 ++--
98+ json-glib/json-object.c | 4 ++--
99+ 4 files changed, 13 insertions(+), 13 deletions(-)
100+
101+commit 19b0b873c07f918e06a8610f27a439334334a83d
102+Author: Colin Walters <walters@verbum.org>
103+Date: Thu Sep 9 10:24:53 2010 -0400
104+
105+ introspection: Export json-glib-1.0 pkg-config file
106+
107+ json-glib/Makefile.am | 2 +-
108+ 1 files changed, 1 insertions(+), 1 deletions(-)
109+
110+commit d05e919208a47c18d001ac08900b4d2837efd4b4
111+Author: Luca Bruno <lethalman88@gmail.com>
112+Date: Sun Aug 15 20:30:21 2010 +0200
113+
114+ docs: Add transfer none annotation to JsonBuilder return values.
115+
116+ json-glib/json-builder.c | 22 +++++++++++-----------
117+ 1 files changed, 11 insertions(+), 11 deletions(-)
118+
119+commit 2c3062cbd79826b184a6f613c519e69f3ddc1ec6
120+Author: Emmanuele Bassi <ebassi@linux.intel.com>
121+Date: Sun Aug 15 18:46:02 2010 +0100
122+
123+ builder: Add Since: annotations
124+
125+ json-glib/json-builder.h | 54 +++++++++++++++++++++++++--------------------
126+ 1 files changed, 30 insertions(+), 24 deletions(-)
127+
128+commit 2d7550948dfb2e5907b851bc2c4bd296a7526086
129+Author: Emmanuele Bassi <ebassi@linux.intel.com>
130+Date: Sun Aug 15 18:44:13 2010 +0100
131+
132+ gobject: Use construct and construct-only properties
133+
134+ Right now, we're checking twice for G_PARAM_CONSTRUCT_ONLY, but what we
135+ really want is to check for both G_PARAM_CONSTRUCT and
136+ G_PARAM_CONSTRUCT_ONLY properties when creating a new instance from a
137+ JSON definition.
138+
139+ json-glib/json-gobject.c | 2 +-
140+ 1 files changed, 1 insertions(+), 1 deletions(-)
141+
142+commit be48afe5801a541996bb64437c278088e70258f6
143+Author: Emmanuele Bassi <ebassi@linux.intel.com>
144+Date: Sun Aug 15 18:43:49 2010 +0100
145+
146+ build: Use maintainer-clean for removing ignore files
147+
148+ build/autotools/Makefile.am.gitignore | 11 ++++++++---
149+ 1 files changed, 8 insertions(+), 3 deletions(-)
150+
151+commit 5732cadfab58435ded4e88b0733c1a46aa0dcd2d
152+Author: Emmanuele Bassi <ebassi@linux.intel.com>
153+Date: Sat Aug 14 12:55:18 2010 +0100
154+
155+ build: Automate ignoring test binaries
156+
157+ Use noinst_PROGRAMS to generate the list of test binaries to ignore
158+ directly in the test directories.
159+
160+ .gitignore | 11 -----------
161+ build/autotools/Makefile.am | 3 ++-
162+ build/autotools/Makefile.am.gitignore | 19 +++++++++++++++++++
163+ json-glib/tests/Makefile.am | 4 ++++
164+ tests/Makefile.am | 4 ++++
165+ 5 files changed, 29 insertions(+), 12 deletions(-)
166+
167+commit 8b54bed521b609c373a48d27c880cc70272b6313
168+Author: Emmanuele Bassi <ebassi@linux.intel.com>
169+Date: Sat Aug 14 12:26:29 2010 +0100
170+
171+ docs: Add 0.12 symbols index to the API reference
172+
173+ doc/reference/json-glib-docs.xml | 5 +++++
174 1 files changed, 5 insertions(+), 0 deletions(-)
175
176-commit a5d9c7bd125571c877f1f7b76f92412b37fc4ce4
177+commit 9ed8d5e7fe96b9dcf82ddbba7de2db40d415cbaf
178+Author: Emmanuele Bassi <ebassi@linux.intel.com>
179+Date: Sat Aug 14 12:24:59 2010 +0100
180+
181+ reader: Add :root constructor property
182+
183+ A JsonReader is useless without a root JsonNode to start walking the
184+ tree from.
185+
186+ json-glib/json-reader.c | 96 +++++++++++++++++++++++++++++++++++++---
187+ json-glib/json-reader.h | 2 +-
188+ json-glib/tests/reader-test.c | 4 +-
189+ 3 files changed, 91 insertions(+), 11 deletions(-)
190+
191+commit eeeae2194223abe2515e18edec1bdbbb6a7c793d
192+Author: Emmanuele Bassi <ebassi@linux.intel.com>
193+Date: Sat Aug 14 09:40:44 2010 +0100
194+
195+ docs: Add the RFC draft for JSON schema
196+
197+ doc/draft-zyp-json-schema-02.txt | 1345 ++++++++++++++++++++++++++++++++++++++
198+ 1 files changed, 1345 insertions(+), 0 deletions(-)
199+
200+commit 0281176789b38973b1723f752070cb0e7340055d
201+Author: Emmanuele Bassi <ebassi@linux.intel.com>
202+Date: Thu Aug 12 16:09:45 2010 +0100
203+
204+ reader: Do not wrap JsonParser
205+
206+ Since JsonParser has far more methods for parsing a JSON stream we
207+ should just make JsonReader an API for reading an already parsed JSON
208+ tree - in the same way that JsonBuilder does not generate the
209+ stringified version of the JSON tree it builds.
210+
211+ doc/reference/json-glib-sections.txt | 2 +-
212+ json-glib/json-reader.c | 90 +++++++++++-----------------------
213+ json-glib/json-reader.h | 6 +--
214+ json-glib/tests/reader-test.c | 11 +++-
215+ 4 files changed, 41 insertions(+), 68 deletions(-)
216+
217+commit 149d2f3925ca798886f2137ae73488f7e2e6386b
218+Author: Emmanuele Bassi <ebassi@linux.intel.com>
219+Date: Thu Aug 12 15:55:54 2010 +0100
220+
221+ reader: Mirror the JsonBuilder API value accessors
222+
223+ We should strive to make JsonBuilder and JsonReader similar in API.
224+
225+ doc/reference/json-glib-sections.txt | 10 +++++-----
226+ json-glib/json-reader.c | 34 +++++++++++++++++-----------------
227+ json-glib/json-reader.h | 10 +++++-----
228+ json-glib/tests/reader-test.c | 8 ++++----
229+ 4 files changed, 31 insertions(+), 31 deletions(-)
230+
231+commit b385ca3ae47e68cdf48f3641385b9fe5ac8429bc
232+Author: Emmanuele Bassi <ebassi@linux.intel.com>
233+Date: Thu Aug 12 15:35:17 2010 +0100
234+
235+ docs: Update NEWS
236+
237+ NEWS | 2 ++
238+ 1 files changed, 2 insertions(+), 0 deletions(-)
239+
240+commit 23866cb9935e9b9f7c88b26cdfc13ff95edfbe00
241+Author: Emmanuele Bassi <ebassi@linux.intel.com>
242+Date: Thu Aug 12 15:34:09 2010 +0100
243+
244+ docs: Add JsonReader to the API reference
245+
246+ doc/reference/json-glib-docs.xml | 1 +
247+ doc/reference/json-glib-sections.txt | 41 ++++++++++++++++++++++++++++++++++
248+ doc/reference/json-glib.types | 2 +
249+ 3 files changed, 44 insertions(+), 0 deletions(-)
250+
251+commit 10e5a1d38113b7b6e7c71da76ff11219baf1022d
252+Author: Emmanuele Bassi <ebassi@linux.intel.com>
253+Date: Thu Aug 12 15:29:41 2010 +0100
254+
255+ Add JsonReader
256+
257+ JsonReader is a simple, cursor-based API for parsing a JSON DOM. It is
258+ similar, in spirit, to the XmlReader API provided by various platforms
259+ and XML parsing libraries.
260+
261+ .gitignore | 1 +
262+ json-glib/Makefile.am | 2 +
263+ json-glib/json-glib.h | 3 +
264+ json-glib/json-reader.c | 779 +++++++++++++++++++++++++++++++++++++++++
265+ json-glib/json-reader.h | 142 ++++++++
266+ json-glib/tests/Makefile.am | 10 +-
267+ json-glib/tests/reader-test.c | 101 ++++++
268+ 7 files changed, 1035 insertions(+), 3 deletions(-)
269+
270+commit c3215ba1d46f7965fb58272da069bec389a174df
271+Author: Diego Escalante Urrelo <descalante@igalia.com>
272+Date: Wed Aug 11 14:42:25 2010 -0500
273+
274+ json-glib/tests: explicitely link against glib
275+
276+ Tests fail to link otherwise.
277+
278+ Bug #626669
279+
280+ json-glib/tests/Makefile.am | 3 ++-
281+ 1 files changed, 2 insertions(+), 1 deletions(-)
282+
283+commit 7f85693922d1e2614bcce9219d2c6521580dd360
284+Author: Emmanuele Bassi <ebassi@linux.intel.com>
285+Date: Mon Aug 2 18:04:21 2010 +0100
286+
287+ build: Remove all stray mentions of Shave
288+
289+ We depend on automake 1.11, now.
290+
291+ .gitignore | 3 ---
292+ autogen.sh | 15 +++------------
293+ build/autotools/Makefile.am | 2 --
294+ configure.ac | 1 -
295+ 4 files changed, 3 insertions(+), 18 deletions(-)
296+
297+commit 26efdb4cc25cffa857e4ce36f0ad7ee6efe00634
298+Author: Emmanuele Bassi <ebassi@linux.intel.com>
299+Date: Mon Aug 2 17:49:32 2010 +0100
300+
301+ Post-release version bump to 0.11.3
302+
303+ configure.ac | 2 +-
304+ 1 files changed, 1 insertions(+), 1 deletions(-)
305+
306+commit ff7a8ff73ee214d385c64501c8b5dc682ccad1cf
307+Author: Emmanuele Bassi <ebassi@linux.intel.com>
308+Date: Mon Aug 2 17:40:29 2010 +0100
309+
310+ Release 0.11.2 (0.12.0-rc1)
311+
312+ configure.ac | 2 +-
313+ 1 files changed, 1 insertions(+), 1 deletions(-)
314+
315+commit 8a91b052fba48ae6f4a61115e2fa6839e7a21509
316+Author: Emmanuele Bassi <ebassi@linux.intel.com>
317+Date: Mon Aug 2 17:45:35 2010 +0100
318+
319+ build: Fix up the tests data path
320+
321+ Since we load up a test file from a directory, we should be using a
322+ path - otherwise this will break out-of-tree builds, e.g. when doing
323+ a distcheck.
324+
325+ json-glib/tests/Makefile.am | 2 +-
326+ json-glib/tests/parser-test.c | 4 ++--
327+ 2 files changed, 3 insertions(+), 3 deletions(-)
328+
329+commit 2e3eaabd12829187f5a9ddacef68319442362729
330+Author: Emmanuele Bassi <ebassi@linux.intel.com>
331+Date: Mon Aug 2 17:42:09 2010 +0100
332+
333+ build: Fix introspection dependencies
334+
335+ json-glib/Makefile.am | 4 ++--
336+ 1 files changed, 2 insertions(+), 2 deletions(-)
337+
338+commit def6d5612fbb33f9b02df80294651f5a28a83ccc
339+Author: Emmanuele Bassi <ebassi@linux.intel.com>
340+Date: Mon Aug 2 17:15:36 2010 +0100
341+
342+ Update the NEWS file
343+
344+ NEWS | 2 ++
345+ 1 files changed, 2 insertions(+), 0 deletions(-)
346+
347+commit 385e6278477dfd35d591f8343deb1de2827ac2ff
348+Author: Emmanuele Bassi <ebassi@linux.intel.com>
349+Date: Mon Aug 2 17:15:22 2010 +0100
350+
351+ docs: Update the dependencies in the README file
352+
353+ README | 4 ++--
354+ 1 files changed, 2 insertions(+), 2 deletions(-)
355+
356+commit 5e19ed2523441afd12c45a8b3f19d10fc9a37335
357+Author: Emmanuele Bassi <ebassi@linux.intel.com>
358+Date: Mon Aug 2 17:14:52 2010 +0100
359+
360+ build: Revert the GLib version bump
361+
362+ GIO landed in GLib 2.16, so we don't need the version bump to 2.20.
363+
364+ configure.ac | 2 +-
365+ 1 files changed, 1 insertions(+), 1 deletions(-)
366+
367+commit d9b2845572123ed79a6626d90d2d2298c9c3d5a7
368+Author: Emmanuele Bassi <ebassi@linux.intel.com>
369+Date: Mon Aug 2 17:07:36 2010 +0100
370+
371+ generator: Add an OutputStream-based method
372+
373+ Currently, only synchronous API.
374+
375+ The output handling is pretty trivial, unlike the input handling in
376+ JsonParser; this is a really basic convenience API.
377+
378+ doc/reference/json-glib-sections.txt | 1 +
379+ json-glib/json-generator.c | 37 ++++++++++++++++++++++++++++++++++
380+ json-glib/json-generator.h | 22 ++++++++++++-------
381+ 3 files changed, 52 insertions(+), 8 deletions(-)
382+
383+commit c7c288b89175b1f9545d6ddff25609b7bb243041
384+Author: Emmanuele Bassi <ebassi@linux.intel.com>
385+Date: Mon Aug 2 17:04:38 2010 +0100
386+
387+ Fix the include for json-types.h
388+
389+ json-glib/json-parser.h | 2 +-
390+ 1 files changed, 1 insertions(+), 1 deletions(-)
391+
392+commit e6ea3a6bae044ec7874dfde3b50bb337f00bb3be
393+Author: Emmanuele Bassi <ebassi@linux.intel.com>
394+Date: Mon Aug 2 16:41:18 2010 +0100
395+
396+ Exercise the stream API in JsonParser
397+
398+ json-glib/tests/Makefile.am | 2 +
399+ json-glib/tests/parser-test.c | 78 ++++++++++++++++++++++++++++++++++++++
400+ json-glib/tests/stream-load.json | 1 +
401+ 3 files changed, 81 insertions(+), 0 deletions(-)
402+
403+commit 8cac7f2b6987803e36ff6abe012cd3e017b5b960
404+Author: Emmanuele Bassi <ebassi@linux.intel.com>
405+Date: Mon Aug 2 16:40:36 2010 +0100
406+
407+ docs: Add the new JsonParser stream API
408+
409+ doc/reference/json-glib-sections.txt | 3 +++
410+ 1 files changed, 3 insertions(+), 0 deletions(-)
411+
412+commit 107e53b2daa27b99fb629dd1e2bf9bfd2729b3dd
413+Author: Emmanuele Bassi <ebassi@linux.intel.com>
414+Date: Mon Aug 2 16:39:04 2010 +0100
415+
416+ parser: Add loading from a GInputStream
417+
418+ JsonParser should be able to use a GInputStream (both synchronously and
419+ asynchronously) to retrieve the JSON data and parse it.
420+
421+ json-glib/json-parser.c | 258 +++++++++++++++++++++++++++++++++++++++++++++++
422+ json-glib/json-parser.h | 49 ++++++----
423+ 2 files changed, 289 insertions(+), 18 deletions(-)
424+
425+commit b164bb5180749aaff385f5d61866875bfbf9c552
426+Author: Emmanuele Bassi <ebassi@linux.intel.com>
427+Date: Mon Aug 2 16:38:01 2010 +0100
428+
429+ build: Use the GIO prefix for cross-references
430+
431+ doc/reference/Makefile.am | 3 ++-
432+ 1 files changed, 2 insertions(+), 1 deletions(-)
433+
434+commit 6d317b129169352111ab16a0df9aee8b9aa5284b
435+Author: Emmanuele Bassi <ebassi@linux.intel.com>
436+Date: Mon Aug 2 16:37:32 2010 +0100
437+
438+ build: Depend on GIO
439+
440+ Bump up the dependencies to be able to use GIO.
441+
442+ configure.ac | 8 ++++----
443+ 1 files changed, 4 insertions(+), 4 deletions(-)
444+
445+commit 84230dd03b5db34da5ccef0a4926e18c22124952
446+Author: Emmanuele Bassi <ebassi@linux.intel.com>
447+Date: Wed Jul 21 23:50:09 2010 +0100
448+
449+ docs: Fix up the cgit URL
450+
451+ README | 6 +++---
452+ 1 files changed, 3 insertions(+), 3 deletions(-)
453+
454+commit 67ad0f21ca554edcd6633014b0bce7dd8d216191
455+Author: Emmanuele Bassi <ebassi@linux.intel.com>
456+Date: Wed Jul 21 23:49:56 2010 +0100
457+
458+ Update NEWS for the next stable release
459+
460+ NEWS | 10 ++++++++++
461+ 1 files changed, 10 insertions(+), 0 deletions(-)
462+
463+commit 465880e5ccaca086fd1b881bd7175658d627318c
464+Author: Colin Walters <walters@verbum.org>
465+Date: Tue Jul 6 10:49:27 2010 -0400
466+
467+ Make GIR depend on library
468+
469+ Fixes parallel builds.
470+
471+ json-glib/Makefile.am | 2 ++
472+ 1 files changed, 2 insertions(+), 0 deletions(-)
473+
474+commit 66e5f619d55433985460e8c641beb98e85832451
475+Author: Emmanuele Bassi <ebassi@linux.intel.com>
476+Date: Wed Jun 16 12:07:41 2010 +0100
477+
478+ docs: Add JsonBuilder to the API reference
479+
480+ And silence gtk-doc-scanner by removing an undefined argument from
481+ json_builder_add_null_value().
482+
483+ doc/reference/json-glib-docs.xml | 3 ++-
484+ doc/reference/json-glib-sections.txt | 32 ++++++++++++++++++++++++++++++++
485+ doc/reference/json-glib.types | 2 ++
486+ json-glib/json-builder.c | 3 ++-
487+ 4 files changed, 38 insertions(+), 2 deletions(-)
488+
489+commit 08f3073eeb0f7e2e0973abd23ba4ec978ad302d7
490+Author: Luca Bruno <lethalman88@gmail.com>
491+Date: Wed Jun 9 21:31:06 2010 +0200
492+
493+ builder: Add convenience API for building JSON trees.
494+
495+ https://bugzilla.gnome.org/show_bug.cgi?id=621141
496+
497+ Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
498+
499+ .gitignore | 1 +
500+ json-glib/Makefile.am | 2 +
501+ json-glib/json-builder.c | 682 ++++++++++++++++++++++++++++++++++++++++
502+ json-glib/json-builder.h | 100 ++++++
503+ json-glib/json-glib.h | 1 +
504+ json-glib/tests/Makefile.am | 3 +
505+ json-glib/tests/builder-test.c | 121 +++++++
506+ 7 files changed, 910 insertions(+), 0 deletions(-)
507+
508+commit 3f8c8f99126dc1a70d847eded13afd4b64395250
509+Author: Emmanuele Bassi <ebassi@linux.intel.com>
510+Date: Wed Jun 16 11:54:55 2010 +0100
511+
512+ Allow NULL as a value for strings, arrays and objects
513+
514+ We should not warn when asking for a string, array or object if the
515+ contents were 'null'.
516+
517+ json-glib/json-array.c | 42 ++++++++++++++++++++++++++++++--------
518+ json-glib/json-object.c | 45 ++++++++++++++++++++++++++++++++--------
519+ json-glib/tests/object-test.c | 4 +++
520+ 3 files changed, 73 insertions(+), 18 deletions(-)
521+
522+commit 471bcf28589e0929984c4e6a097ae273b017b3f0
523+Author: Anssi Hannula <anssi@mandriva.org>
524+Date: Fri May 28 11:57:18 2010 +0100
525+
526+ Do not hardcode paths in pkgconfig file
527+
528+ The pkgconfig file correctly sets $prefix to @prefix@, but the other
529+ paths are hardcoded to ones relative to $prefix.
530+
531+ prefix=@prefix@
532+ exec_prefix=${prefix}
533+ libdir=${exec_prefix}/lib
534+ includedir=${exec_prefix}/include
535+
536+ https://bugzilla.gnome.org/show_bug.cgi?id=613282
537+
538+ Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
539+
540+ json-glib.pc.in | 6 +++---
541+ 1 files changed, 3 insertions(+), 3 deletions(-)
542+
543+commit 70b9235b50dd4257e0bf196e07f65807d65f8091
544+Author: Emmanuele Bassi <ebassi@linux.intel.com>
545+Date: Fri May 28 11:50:01 2010 +0100
546+
547+ docs: Remove unused field annotation
548+
549+ JsonNode is fully opaque, so there are no fields to annotate.
550+
551+ json-glib/json-types.h | 1 -
552+ 1 files changed, 0 insertions(+), 1 deletions(-)
553+
554+commit aaf08f5c1a08c8aaec2436653114996b98ee1f8c
555+Author: Emmanuele Bassi <ebassi@linux.intel.com>
556+Date: Fri May 28 11:35:05 2010 +0100
557+
558+ build: Clean up the build system
559+
560+ • Use libtool m4 macros, and require libtool >= 2.2.6
561+
562+ • Ditch unused platform checks
563+
564+ • Drop Shave and require automake >= 1.11
565+
566+ • Depend on gtk-doc >= 1.13
567+
568+ • Use gobject-introspection's Makefile rules, and update introspection.m4
569+
570+ README | 4 +-
571+ build/autotools/Makefile.am | 3 -
572+ build/autotools/Makefile.am.silent | 6 ---
573+ build/autotools/introspection.m4 | 6 +++
574+ build/autotools/shave-libtool.in | 69 -------------------------------
575+ build/autotools/shave.in | 79 ------------------------------------
576+ build/autotools/shave.m4 | 77 -----------------------------------
577+ configure.ac | 46 ++++++---------------
578+ json-glib/Makefile.am | 47 +++++++--------------
579+ 9 files changed, 37 insertions(+), 300 deletions(-)
580+
581+commit 6231cf027a8f9c3b11324c1d49a350ba55353123
582+Author: Emmanuele Bassi <ebassi@linux.intel.com>
583+Date: Wed May 26 08:43:10 2010 +0100
584+
585+ parser: Do not access GScanner:token
586+
587+ The GScanner:token member is declared as GTokenType instead of being an
588+ unsigned int. This means that comparing it to any other enumeration is
589+ going to generate a warning in GCC >= 4.5. Unfortunately, extending the
590+ GTokenType enumeration is the idiomatic way of handling new tokens.
591+
592+ EPIC. FAIL.
593+
594+ json-glib/json-parser.c | 9 ++++++---
595+ 1 files changed, 6 insertions(+), 3 deletions(-)
596+
597+commit fcd07918d3ed2b31b047900da9d2fed23dddf7da
598+Author: Eiichi Sato <eiichi.for.public@gmail.com>
599+Date: Sat Apr 10 01:52:10 2010 +0900
600+
601+ Support for surrogate pairs in json string.
602+
603+ https://bugzilla.gnome.org/show_bug.cgi?id=615799
604+
605+ Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
606+
607+ json-glib/json-scanner.c | 16 +++++++++++++++-
608+ 1 files changed, 15 insertions(+), 1 deletions(-)
609+
610+commit 37a7931f91f8d79def3f4895bc349ba621a826a1
611+Author: Emmanuele Bassi <ebassi@linux.intel.com>
612+Date: Wed Apr 14 23:19:58 2010 +0100
613+
614+ Ignore json-debug.h
615+
616+ The json-debug.h header is private and not installed; hence, it should
617+ be ignored by gtk-doc.
618+
619+ doc/reference/Makefile.am | 3 ++-
620+ 1 files changed, 2 insertions(+), 1 deletions(-)
621+
622+commit 28edd58ddfd719d107d89aa364dc208b0126c90f
623+Author: Emmanuele Bassi <ebassi@linux.intel.com>
624+Date: Wed Apr 14 23:19:28 2010 +0100
625+
626+ docs: Fix typo
627+
628+ There is no such thing as a 'JsonArrary' type.
629+
630+ json-glib/json-parser.c | 2 +-
631+ 1 files changed, 1 insertions(+), 1 deletions(-)
632+
633+commit d40045bd855bfcb73c10967d894a8e91f8675409
634+Author: Emmanuele Bassi <ebassi@linux.intel.com>
635+Date: Wed Apr 14 23:17:28 2010 +0100
636+
637+ docs: Fix typo in JsonParserError annotation
638+
639+ json-glib/json-parser.h | 2 +-
640+ 1 files changed, 1 insertions(+), 1 deletions(-)
641+
642+commit b55d139ed0368f368c6c9c8f8adfab4c91f1f508
643+Author: Emmanuele Bassi <ebassi@linux.intel.com>
644+Date: Sat Apr 3 14:59:00 2010 +0100
645+
646+ parser: Do not increment the index variable
647+
648+ When parsing an array with a JsonParser with the debugging notes
649+ enabled, we get an erroneous increment of the idx variable - which is
650+ then passed to the JsonParser::array-element signal.
651+
652+ Thanks to: Michael Stapelberg <michael@stapelberg.de>
653+
654+ json-glib/json-parser.c | 2 +-
655+ 1 files changed, 1 insertions(+), 1 deletions(-)
656+
657+commit 24567790d30e314ee519c8f3756b3514c0c3fd31
658+Author: Emmanuele Bassi <ebassi@linux.intel.com>
659+Date: Fri Mar 19 15:45:24 2010 +0000
660+
661+ parser: Add MISSING_COLON error
662+
663+ We identify a missing ':' separator between an object member name and
664+ its value, so it would be a good thing to actually have an error code
665+ for that.
666+
667+ json-glib/json-parser.c | 3 +--
668+ json-glib/json-parser.h | 2 ++
669+ json-glib/tests/parser-test.c | 3 ++-
670+ 3 files changed, 5 insertions(+), 3 deletions(-)
671+
672+commit 08cec3b7c9202007a5abbf548f8d2f1b54d4d0b4
673+Author: Emmanuele Bassi <ebassi@linux.intel.com>
674+Date: Fri Mar 19 15:40:48 2010 +0000
675+
676+ parser: Refactor the JsonParser logic
677+
678+ The array and object parsing logic in JsonParser has clearly exploded
679+ beyond control: a simple tightening of the JSON validation almost broke
680+ the parser in two. It it is time to...
681+
682+ <cue Christopher Lee voice-over>
683+
684+ REFACTOR THE CODE!
685+
686+ </cue Christopher Lee voice-over>
687+
688+ This time, we should be following the JSON state machine and try to do
689+ more prediction of the next state based on peeking the next token.
690+
691+ The code is fairly cleaner, now; and, most of all, still passes the
692+ validation test suite - which is, you know... nice.
693+
694+ json-glib/json-parser.c | 488 +++++++++++++++++++----------------------------
695+ 1 files changed, 200 insertions(+), 288 deletions(-)
696+
697+commit 9ce82f8052290f3956c3d80c8739c214da314d42
698+Author: Emmanuele Bassi <ebassi@linux.intel.com>
699+Date: Fri Mar 19 11:04:00 2010 +0000
700+
701+ parser: Return specific error codes
702+
703+ The JsonScanner error reporting mechanism, which is basically
704+ GScanner's, sucks beyond belief. In order to report an error code we
705+ need to store it inside the JsonParser private structure and then use it
706+ when creating the GError inside the error handler.
707+
708+ This, frankly, is quite stupid.
709+
710+ json-glib/json-parser.c | 49 ++++++++++++++++++++++++++++++++--------
711+ json-glib/json-parser.h | 8 ++++++
712+ json-glib/tests/parser-test.c | 18 +++++++-------
713+ 3 files changed, 56 insertions(+), 19 deletions(-)
714+
715+commit 9d7c58b4fb5edeb8e9413acc9d509447e13962e5
716+Author: Emmanuele Bassi <ebassi@linux.intel.com>
717+Date: Thu Mar 18 22:41:14 2010 +0000
718+
719+ JSON-GLib bug tracking system has been moved
720+
721+ We are now using bugzilla.gnome.org, since we're already hosted on
722+ git.gnome.org.
723+
724+ README | 2 +-
725+ configure.ac | 2 +-
726+ 2 files changed, 2 insertions(+), 2 deletions(-)
727+
728+commit 449656c68a3d6e0d8b96c36414b475e78b9cc272
729+Author: Emmanuele Bassi <ebassi@linux.intel.com>
730+Date: Thu Mar 18 17:11:11 2010 +0000
731+
732+ parser-test: Add a case for double parsing in JsonObject
733+
734+ json-glib/tests/parser-test.c | 3 ++-
735+ 1 files changed, 2 insertions(+), 1 deletions(-)
736+
737+commit 54756457de3f01d1a487fc6b90c5bd9b5b50bcf3
738+Author: Emmanuele Bassi <ebassi@linux.intel.com>
739+Date: Thu Mar 18 17:09:38 2010 +0000
740+
741+ parser: Re-use json_parse_value()
742+
743+ The main switch inside json_parse_statement() is re-implementing the
744+ bare value parsing that is also provided by json_parse_value(). We
745+ should kill it off to avoid redundant code.
746+
747+ json-glib/json-parser.c | 57 +---------------------------------------------
748+ 1 files changed, 2 insertions(+), 55 deletions(-)
749+
750+commit 3355987049560b4d31af22476a7c2b20c9d6665b
751+Author: Emmanuele Bassi <ebassi@linux.intel.com>
752+Date: Thu Mar 18 17:08:44 2010 +0000
753+
754+ parser: Add debug annotations for json_parse_value()
755+
756+ Print out the values we are parsing, for debug purposes.
757+
758+ json-glib/json-parser.c | 8 ++++++++
759+ 1 files changed, 8 insertions(+), 0 deletions(-)
760+
761+commit f622ee8d8ba54ddea6fbb7311a905ffab7842e8d
762+Author: Emmanuele Bassi <ebassi@linux.intel.com>
763+Date: Thu Mar 18 17:05:57 2010 +0000
764+
765+ generator: Use %g format for g_ascii_formatd()
766+
767+ I should read the documentation for the functions I use:
768+
769+ Converts a gdouble to a string, using the '.' as decimal point. To
770+ format the number you pass in a printf()-style format string. Allowed
771+ conversion specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'.
772+ -- from g_ascii_formatd() in GLib's API reference
773+
774+ Epic reading fail.
775+
776+ json-glib/json-generator.c | 2 +-
777+ 1 files changed, 1 insertions(+), 1 deletions(-)
778+
779+commit 90d6e0b8c334b3fd7995c126f07dd61ba0a9e0fb
780+Author: Emmanuele Bassi <ebassi@linux.intel.com>
781+Date: Thu Mar 18 15:26:19 2010 +0000
782+
783+ parser-test: Add a complex nested object test
784+
785+ The nested object test should use something that's really complex: an
786+ object with a nested array and nested object definitions.
787+
788+ json-glib/tests/parser-test.c | 21 ++++++++++++++++++++-
789+ 1 files changed, 20 insertions(+), 1 deletions(-)
790+
791+commit f4c57ac4227c4edb8a4cecb784e871fbd5649ad1
792+Author: Emmanuele Bassi <ebassi@linux.intel.com>
793+Date: Thu Mar 18 15:24:39 2010 +0000
794+
795+ parser: Clean up array and object parsing
796+
797+ We are doing some of the work twice, especially when dealing with the
798+ trailing commas detection and the unknown tokens after an array element
799+ or an object member definition.
800+
801+ json-glib/json-parser.c | 44 ++++++++++++++++++++++++--------------------
802+ 1 files changed, 24 insertions(+), 20 deletions(-)
803+
804+commit b3435c6a05ecee58c64dce669ce7e44f829afc98
805+Author: Emmanuele Bassi <ebassi@linux.intel.com>
806+Date: Thu Mar 18 15:21:29 2010 +0000
807+
808+ Add debugging macros
809+
810+ Similarly to what GTK+ and Clutter do, we can use macros that evaluate
811+ to nothing if JSON_ENABLE_DEBUG is disabled; they evaluate to messages
812+ when the JSON_DEBUG environment variable is set to a debug domain.
813+
814+ json-glib/Makefile.am | 4 +++-
815+ json-glib/json-debug.c | 37 +++++++++++++++++++++++++++++++++++++
816+ json-glib/json-debug.h | 45 +++++++++++++++++++++++++++++++++++++++++++++
817+ 3 files changed, 85 insertions(+), 1 deletions(-)
818+
819+commit 88ac0d5111eb528e4c396e4c169ceee4fb046e62
820+Author: Emmanuele Bassi <ebassi@linux.intel.com>
821+Date: Fri Mar 5 19:23:49 2010 +0000
822+
823+ tests: Add another trailing comma invalid test
824+
825+ json-glib/tests/parser-test.c | 3 ++-
826+ 1 files changed, 2 insertions(+), 1 deletions(-)
827+
828+commit c22c1151e418af9506547804d4bc9fddb60bc0f1
829+Author: Emmanuele Bassi <ebassi@linux.intel.com>
830+Date: Mon Mar 1 17:42:41 2010 +0000
831+
832+ tests: Add negative tests
833+
834+ Verify that invalid JSON will trigger a parser error.
835+
836+ json-glib/tests/parser-test.c | 53 +++++++++++++++++++++++++++++++++++++++++
837+ 1 files changed, 53 insertions(+), 0 deletions(-)
838+
839+commit 26668fe238a52a7fd8374f409fc277aaa8efa826
840+Author: Emmanuele Bassi <ebassi@linux.intel.com>
841+Date: Mon Mar 1 17:41:14 2010 +0000
842+
843+ parser: Improve strictness
844+
845+ Apparently, some breakage crept in JsonParser which allowed invalid JSON
846+ to actually pass. For instance: trailing and missing commas, invalid
847+ barewords and wrong array and object closing braces.
848+
849+ json-glib/json-parser.c | 117 +++++++++++++++++++++++++++++++----------------
850+ 1 files changed, 78 insertions(+), 39 deletions(-)
851+
852+commit 7d156366e9062349fbe58344712a055839449098
853+Author: Emmanuele Bassi <ebassi@linux.intel.com>
854+Date: Sun Jan 24 19:09:28 2010 +0000
855+
856+ build: Configure Automake
857+
858+ Add the following options:
859+
860+ • no-define: we don't need PACKAGE and VERSION defined in config.h
861+ • -Wno-portability: we require GNU make
862+ • dist-bzip2: generate a bz2 tarball when distchecking
863+
864+ configure.ac | 2 +-
865+ 1 files changed, 1 insertions(+), 1 deletions(-)
866+
867+commit ea666891cb1e6fc9e527ce6c93a306bc97145f16
868 Author: Emmanuele Bassi <ebassi@linux.intel.com>
869 Date: Sun Jan 24 18:58:28 2010 +0000
870
871@@ -25,12 +856,25 @@
872 The registration function for serialization and deserialization has been
873 replaced by two separate functions before releasing 0.10, but I forgot to
874 update the example in the documentation.
875- (cherry picked from commit ea666891cb1e6fc9e527ce6c93a306bc97145f16)
876
877 json-glib/json-gboxed.c | 11 ++++++-----
878 1 files changed, 6 insertions(+), 5 deletions(-)
879
880-commit 1ce1d549477b79e7d94fb891f323afbdb8a8d4ce
881+commit 4c15bf185dcd55ae5daf6b68d2b58d32e9ac9d5c
882+Author: Emmanuele Bassi <ebassi@linux.intel.com>
883+Date: Sun Jan 10 10:00:32 2010 +0000
884+
885+ build: Fix CFLAGS and LDFLAGS for the gcov target
886+
887+ A copy and paste thinko duplicated the CFLAGS into the LDFLAGS, so we
888+ need to fix that. The CFLAGS should also specify the optimization level
889+ to 0 and turn on debugging notes, in case --enable-debug and
890+ --enable-maintainer-flags are turned off.
891+
892+ configure.ac | 4 ++--
893+ 1 files changed, 2 insertions(+), 2 deletions(-)
894+
895+commit c09c2dc1c54c83fea4ef93486081fe3fab35452c
896 Author: Emmanuele Bassi <ebassi@linux.intel.com>
897 Date: Sun Jan 10 09:59:14 2010 +0000
898
899@@ -38,11 +882,143 @@
900
901 We create JsonObject structures using g_slice_new(), so we need to
902 initialize every member of the structure ourselves.
903- (cherry picked from commit c09c2dc1c54c83fea4ef93486081fe3fab35452c)
904
905 json-glib/json-object.c | 1 +
906 1 files changed, 1 insertions(+), 0 deletions(-)
907
908+commit cdffa0eacb52479e04460d8436a08ccecce91edf
909+Author: Emmanuele Bassi <ebassi@linux.intel.com>
910+Date: Sat Jan 2 23:57:31 2010 +0000
911+
912+ build: Move compiler flags to AM_CFLAGS
913+
914+ The AM_CPPFLAGS variable is for pre-processor flags.
915+
916+ tests/Makefile.am | 4 +++-
917+ 1 files changed, 3 insertions(+), 1 deletions(-)
918+
919+commit f20523412e737c2dfae92ba4b9bd86177fd018a0
920+Author: Emmanuele Bassi <ebassi@linux.intel.com>
921+Date: Sat Jan 2 23:56:42 2010 +0000
922+
923+ build: Enable maintainer flags when compiling tests
924+
925+ The tests should be compiled under the same flags as the rest of the
926+ library.
927+
928+ json-glib/tests/Makefile.am | 2 +-
929+ 1 files changed, 1 insertions(+), 1 deletions(-)
930+
931+commit 7b72cad780fdeb42ac1d847210bd2022376f2875
932+Author: Emmanuele Bassi <ebassi@linux.intel.com>
933+Date: Sat Jan 2 23:50:40 2010 +0000
934+
935+ tests: Clean up JsonGenerator test suite
936+
937+ Use typed accessors instead of using GValues all around.
938+
939+ json-glib/tests/generator-test.c | 145 +++++++-------------------------------
940+ 1 files changed, 25 insertions(+), 120 deletions(-)
941+
942+commit 3c33b61738d74b732805b497accec830b1a05796
943+Author: Emmanuele Bassi <ebassi@linux.intel.com>
944+Date: Fri Jan 1 18:23:16 2010 +0000
945+
946+ tests: Verify Array.get_elements()
947+
948+ While verifying Array.foreach() we should also verify that the list we
949+ are iterating on is the same returned by the get_elements() method.
950+
951+ json-glib/tests/array-test.c | 22 +++++++++++++++++-----
952+ 1 files changed, 17 insertions(+), 5 deletions(-)
953+
954+commit c8cc10985c3e7aac5ca1c03a7b443951929ed0cb
955+Author: Emmanuele Bassi <ebassi@linux.intel.com>
956+Date: Fri Jan 1 18:02:03 2010 +0000
957+
958+ build: Add gcov proxy rule
959+
960+ The gcov rule lives in json-glib/Makefile.am, but it would be nice to
961+ have a similar rule in the top source directory as well.
962+
963+ Makefile.am | 3 +++
964+ 1 files changed, 3 insertions(+), 0 deletions(-)
965+
966+commit 060eddb098dd2b442f986a39aad2e7bf8c777a15
967+Author: Emmanuele Bassi <ebassi@linux.intel.com>
968+Date: Tue Dec 29 23:35:00 2009 +0000
969+
970+ tests: Re-enable the nested object generator unit
971+
972+ Use the JSON object example inside the RFC 4627 to verify that the
973+ JsonGenerator creates the right output. This is now possible as we
974+ garantee the order of a JsonObject members.
975+
976+ json-glib/tests/generator-test.c | 102 +++++++++++++++++++++-----------------
977+ 1 files changed, 56 insertions(+), 46 deletions(-)
978+
979+commit 37a9c9544447c4a8ac36d80dd58bd38f80b0aa3c
980+Author: Emmanuele Bassi <ebassi@linux.intel.com>
981+Date: Tue Dec 29 23:02:23 2009 +0000
982+
983+ Update the ignore file
984+
985+ .gitignore | 5 +++--
986+ 1 files changed, 3 insertions(+), 2 deletions(-)
987+
988+commit e32a157f97d96293f6f4061e7d0008d90ff16258
989+Author: Emmanuele Bassi <ebassi@linux.intel.com>
990+Date: Tue Dec 29 22:59:13 2009 +0000
991+
992+ tests: Move Parser and Generator tests
993+
994+ Use the json-glib/tests directory for testing the data structures of
995+ JSON-GLib: node, object, array, parser and generator.
996+
997+ The tests/ directory should be used for complex test cases, like the
998+ GObject and GBoxed integration - but the goal is to remove the top-level
999+ tests/ directory altogether, since the conformance test suite should be
1000+ built along the json-glib/ directory.
1001+
1002+ json-glib/tests/Makefile.am | 26 +-
1003+ json-glib/tests/generator-test.c | 357 +++++++++++++++++++++
1004+ json-glib/tests/parser-test.c | 632 ++++++++++++++++++++++++++++++++++++++
1005+ tests/Makefile.am | 8 -
1006+ tests/test-generator.c | 357 ---------------------
1007+ tests/test-parser.c | 632 --------------------------------------
1008+ 6 files changed, 1006 insertions(+), 1006 deletions(-)
1009+
1010+commit 5b4186eb60e953ddbaadcd53b1996d28b06d4a97
1011+Author: Emmanuele Bassi <ebassi@linux.intel.com>
1012+Date: Tue Dec 29 22:53:29 2009 +0000
1013+
1014+ Add GCOV coverage test support
1015+
1016+ Use GCOV, a GCC extension, to perform a coverage test on JSON-GLib when
1017+ we perform a 'make check'.
1018+
1019+ GCOV support builds JSON-GLib with compiler and linker flags that enable
1020+ coverage reports; then the check-local target will build the gcov file
1021+ for each source file, and the coverage report will be extracted from
1022+ those.
1023+
1024+ .gitignore | 7 ++++---
1025+ build/autotools/Makefile.am | 3 ++-
1026+ build/autotools/Makefile.am.gcov | 35 +++++++++++++++++++++++++++++++++++
1027+ build/autotools/Makefile.am.gtest | 2 ++
1028+ configure.ac | 25 +++++++++++++++++++++++--
1029+ json-glib/Makefile.am | 9 ++++++---
1030+ 6 files changed, 72 insertions(+), 9 deletions(-)
1031+
1032+commit 56f56ae22d981830b696c5861e158802d31240c1
1033+Author: Emmanuele Bassi <ebassi@linux.intel.com>
1034+Date: Tue Dec 29 21:56:42 2009 +0000
1035+
1036+ Bump to 0.11
1037+
1038+ configure.ac | 2 +-
1039+ 1 files changed, 1 insertions(+), 1 deletions(-)
1040+
1041 commit dae32677d140a3ba6a15e1198b53ea0b3e1716b0
1042 Author: Emmanuele Bassi <ebassi@linux.intel.com>
1043 Date: Tue Dec 29 15:35:21 2009 +0000
1044
1045=== modified file 'Makefile.am'
1046--- Makefile.am 2010-05-28 11:49:23 +0000
1047+++ Makefile.am 2010-11-08 19:04:46 +0000
1048@@ -36,3 +36,6 @@
1049 else \
1050 echo A git checkout is required to generate a ChangeLog >&2; \
1051 fi
1052+
1053+gcov:
1054+ ( cd json-glib && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $?
1055
1056=== modified file 'Makefile.in'
1057--- Makefile.in 2010-05-28 11:49:23 +0000
1058+++ Makefile.in 2010-11-08 19:04:46 +0000
1059@@ -144,7 +144,7 @@
1060 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
1061 done; \
1062 reldir="$$dir2"
1063-DIST_ARCHIVES = $(distdir).tar.gz
1064+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
1065 GZIP_ENV = --best
1066 distuninstallcheck_listfiles = find . -type f -print
1067 distcleancheck_listfiles = find . -type f -print
1068@@ -172,6 +172,8 @@
1069 EGREP = @EGREP@
1070 EXEEXT = @EXEEXT@
1071 FGREP = @FGREP@
1072+GCOV_CFLAGS = @GCOV_CFLAGS@
1073+GCOV_LDFLAGS = @GCOV_LDFLAGS@
1074 GLIB_CFLAGS = @GLIB_CFLAGS@
1075 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
1076 GLIB_LIBS = @GLIB_LIBS@
1077@@ -180,15 +182,20 @@
1078 GOBJECT_QUERY = @GOBJECT_QUERY@
1079 GREP = @GREP@
1080 GTKDOC_CHECK = @GTKDOC_CHECK@
1081+GTKDOC_MKPDF = @GTKDOC_MKPDF@
1082+GTKDOC_REBASE = @GTKDOC_REBASE@
1083 HTML_DIR = @HTML_DIR@
1084 INSTALL = @INSTALL@
1085 INSTALL_DATA = @INSTALL_DATA@
1086 INSTALL_PROGRAM = @INSTALL_PROGRAM@
1087 INSTALL_SCRIPT = @INSTALL_SCRIPT@
1088 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1089+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
1090 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
1091 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
1092 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
1093+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
1094+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
1095 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
1096 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
1097 JSON_CFLAGS = @JSON_CFLAGS@
1098@@ -222,6 +229,7 @@
1099 PACKAGE_NAME = @PACKAGE_NAME@
1100 PACKAGE_STRING = @PACKAGE_STRING@
1101 PACKAGE_TARNAME = @PACKAGE_TARNAME@
1102+PACKAGE_URL = @PACKAGE_URL@
1103 PACKAGE_VERSION = @PACKAGE_VERSION@
1104 PATH_SEPARATOR = @PATH_SEPARATOR@
1105 PKG_CONFIG = @PKG_CONFIG@
1106@@ -289,16 +297,13 @@
1107 # initialize variables for unconditional += appending
1108 EXTRA_DIST = json-glib.pc.in
1109 TEST_PROGS =
1110-@USE_SHAVE_FALSE@QUIET_GEN = $(AM_V_GEN)
1111-@USE_SHAVE_TRUE@QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
1112-@USE_SHAVE_FALSE@QUIET_LN = $(QUIET_LN_$(V))
1113-@USE_SHAVE_TRUE@QUIET_LN = $(Q:@=@echo ' LN '$@;)
1114-@USE_SHAVE_FALSE@QUIET_RM = $(QUIET_RM_$(V))
1115-@USE_SHAVE_TRUE@QUIET_RM = $(Q:@=@echo ' RM '$@;)
1116-@USE_SHAVE_FALSE@QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY))
1117-@USE_SHAVE_FALSE@QUIET_LN_0 = @echo ' LN '$@;
1118-@USE_SHAVE_FALSE@QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
1119-@USE_SHAVE_FALSE@QUIET_RM_0 = @echo ' RM '$@;
1120+QUIET_GEN = $(AM_V_GEN)
1121+QUIET_LN = $(QUIET_LN_$(V))
1122+QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY))
1123+QUIET_LN_0 = @echo ' LN '$@;
1124+QUIET_RM = $(QUIET_RM_$(V))
1125+QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
1126+QUIET_RM_0 = @echo ' RM '$@;
1127 ACLOCAL_AMFLAGS = -I build/autotools
1128 SUBDIRS = build json-glib doc $(am__append_1)
1129 DIST_SUBDIRS = build json-glib doc tests
1130@@ -602,7 +607,6 @@
1131 dist-gzip: distdir
1132 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1133 $(am__remove_distdir)
1134-
1135 dist-bzip2: distdir
1136 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1137 $(am__remove_distdir)
1138@@ -630,6 +634,7 @@
1139
1140 dist dist-all: distdir
1141 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1142+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1143 $(am__remove_distdir)
1144
1145 # This target untars the dist file and tries a VPATH configuration. Then
1146@@ -883,7 +888,9 @@
1147 rm -rf "$$GTESTER_LOGDIR"/ ; \
1148 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
1149 }
1150+
1151 .PHONY: test test-report perf-report full-report
1152+
1153 # run make test as part of make check
1154 check-local: test
1155
1156@@ -902,6 +909,9 @@
1157 echo A git checkout is required to generate a ChangeLog >&2; \
1158 fi
1159
1160+gcov:
1161+ ( cd json-glib && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $?
1162+
1163 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1164 # Otherwise a system limit (for SysV at least) may be exceeded.
1165 .NOEXPORT:
1166
1167=== modified file 'NEWS'
1168--- NEWS 2010-05-28 11:49:23 +0000
1169+++ NEWS 2010-11-08 19:04:46 +0000
1170@@ -1,7 +1,17 @@
1171-Overview of changes for 0.10.2
1172+Overview of changes for 0.12.0
1173 ==============================
1174-• Documentation fixes for GBoxed transformation functions
1175-• Zero all fields of JsonObject on creation
1176+• Support surrogate pairs in JSON strings [Eiichi Sato]
1177+• Update the test suite
1178+• Add (optional) coverage reports
1179+• Improve strictness of JsonParser
1180+• Improve error reporting of JsonParser
1181+• Add JsonBuilder, a convenience API for programmatic building
1182+ of JSON trees [Luca Bruno]
1183+• Add methods for JsonParser and JsonGenerator to handle Input|OutputStream
1184+ objects coming from GIO.
1185+• Add JsonReader, a convenience API for cursor-based parsing of
1186+ JSON trees
1187+• Depend on GObject-Introspection ≥ 0.9.5
1188
1189 Overview of changes for 0.10.0
1190 ==============================
1191
1192=== modified file 'README'
1193--- README 2010-05-28 11:49:23 +0000
1194+++ README 2010-11-08 19:04:46 +0000
1195@@ -27,12 +27,12 @@
1196 In order to build JSON-GLib you will need:
1197
1198 • pkg-config
1199- • gtk-doc >= 1.11
1200- • GLib >= 2.16
1201+ • gtk-doc ≥ 1.13
1202+ • GLib, GIO ≥ 2.16
1203
1204 Optionally, JSON-GLib depends on:
1205
1206- • GObject-Introspection >= 0.6.4
1207+ • GObject-Introspection ≥ 0.9.5
1208
1209 INSTALLATION
1210 -------------------------------------------------------------------------------
1211@@ -46,7 +46,7 @@
1212 -------------------------------------------------------------------------------
1213 If you find a bug in JSON-GLib, please create a Bugzilla entry here:
1214
1215- http://bugzilla.openedhand.com/enter_bug.cgi?product=json-glib
1216+ http://bugzilla.gnome.org/enter_bug.cgi?product=json-glib
1217
1218 Attaching:
1219
1220@@ -71,7 +71,7 @@
1221 -------------------------------------------------------------------------------
1222 JSON-GLib is developed mainly inside a GIT repository available at:
1223
1224- http://git.gnome.org/cgit/json-glib
1225+ http://git.gnome.org/browse/json-glib
1226
1227 You can clone the GIT repository with:
1228
1229@@ -99,5 +99,5 @@
1230
1231 See the file COPYING for details.
1232
1233-Copyright (C) 2007 OpenedHand Ltd
1234-Copyright (C) 2009 Intel Corp.
1235+Copyright (C) 2007, 2008 OpenedHand Ltd
1236+Copyright (C) 2009, 2010 Intel Corp.
1237
1238=== modified file 'aclocal.m4'
1239--- aclocal.m4 2010-05-28 11:49:23 +0000
1240+++ aclocal.m4 2010-11-08 19:04:46 +0000
1241@@ -13,381 +13,12 @@
1242
1243 m4_ifndef([AC_AUTOCONF_VERSION],
1244 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1245-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
1246-[m4_warning([this file was generated for autoconf 2.63.
1247+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
1248+[m4_warning([this file was generated for autoconf 2.65.
1249 You have another version of autoconf. It may work, but is not guaranteed to.
1250 If you have problems, you may need to regenerate the build system entirely.
1251 To do so, use the procedure documented by the package, typically `autoreconf'.])])
1252
1253-# Configure paths for GLIB
1254-# Owen Taylor 1997-2001
1255-
1256-dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
1257-dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
1258-dnl gthread, or gio is specified in MODULES, pass to pkg-config
1259-dnl
1260-AC_DEFUN([AM_PATH_GLIB_2_0],
1261-[dnl
1262-dnl Get the cflags and libraries from pkg-config
1263-dnl
1264-AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
1265- , enable_glibtest=yes)
1266-
1267- pkg_config_args=glib-2.0
1268- for module in . $4
1269- do
1270- case "$module" in
1271- gmodule)
1272- pkg_config_args="$pkg_config_args gmodule-2.0"
1273- ;;
1274- gmodule-no-export)
1275- pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
1276- ;;
1277- gobject)
1278- pkg_config_args="$pkg_config_args gobject-2.0"
1279- ;;
1280- gthread)
1281- pkg_config_args="$pkg_config_args gthread-2.0"
1282- ;;
1283- gio*)
1284- pkg_config_args="$pkg_config_args $module-2.0"
1285- ;;
1286- esac
1287- done
1288-
1289- PKG_PROG_PKG_CONFIG([0.16])
1290-
1291- no_glib=""
1292-
1293- if test "x$PKG_CONFIG" = x ; then
1294- no_glib=yes
1295- PKG_CONFIG=no
1296- fi
1297-
1298- min_glib_version=ifelse([$1], ,2.0.0,$1)
1299- AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
1300-
1301- if test x$PKG_CONFIG != xno ; then
1302- ## don't try to run the test against uninstalled libtool libs
1303- if $PKG_CONFIG --uninstalled $pkg_config_args; then
1304- echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
1305- enable_glibtest=no
1306- fi
1307-
1308- if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
1309- :
1310- else
1311- no_glib=yes
1312- fi
1313- fi
1314-
1315- if test x"$no_glib" = x ; then
1316- GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
1317- GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
1318- GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
1319-
1320- GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
1321- GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
1322- glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
1323- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1324- glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
1325- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1326- glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
1327- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1328- if test "x$enable_glibtest" = "xyes" ; then
1329- ac_save_CFLAGS="$CFLAGS"
1330- ac_save_LIBS="$LIBS"
1331- CFLAGS="$CFLAGS $GLIB_CFLAGS"
1332- LIBS="$GLIB_LIBS $LIBS"
1333-dnl
1334-dnl Now check if the installed GLIB is sufficiently new. (Also sanity
1335-dnl checks the results of pkg-config to some extent)
1336-dnl
1337- rm -f conf.glibtest
1338- AC_TRY_RUN([
1339-#include <glib.h>
1340-#include <stdio.h>
1341-#include <stdlib.h>
1342-
1343-int
1344-main ()
1345-{
1346- int major, minor, micro;
1347- char *tmp_version;
1348- int ignored;
1349-
1350- ignored = system ("touch conf.glibtest");
1351-
1352- /* HP/UX 9 (%@#!) writes to sscanf strings */
1353- tmp_version = g_strdup("$min_glib_version");
1354- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1355- printf("%s, bad version string\n", "$min_glib_version");
1356- exit(1);
1357- }
1358-
1359- if ((glib_major_version != $glib_config_major_version) ||
1360- (glib_minor_version != $glib_config_minor_version) ||
1361- (glib_micro_version != $glib_config_micro_version))
1362- {
1363- printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
1364- $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
1365- glib_major_version, glib_minor_version, glib_micro_version);
1366- printf ("*** was found! If pkg-config was correct, then it is best\n");
1367- printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
1368- printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
1369- printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
1370- printf("*** required on your system.\n");
1371- printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
1372- printf("*** to point to the correct configuration files\n");
1373- }
1374- else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
1375- (glib_minor_version != GLIB_MINOR_VERSION) ||
1376- (glib_micro_version != GLIB_MICRO_VERSION))
1377- {
1378- printf("*** GLIB header files (version %d.%d.%d) do not match\n",
1379- GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
1380- printf("*** library (version %d.%d.%d)\n",
1381- glib_major_version, glib_minor_version, glib_micro_version);
1382- }
1383- else
1384- {
1385- if ((glib_major_version > major) ||
1386- ((glib_major_version == major) && (glib_minor_version > minor)) ||
1387- ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
1388- {
1389- return 0;
1390- }
1391- else
1392- {
1393- printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
1394- glib_major_version, glib_minor_version, glib_micro_version);
1395- printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
1396- major, minor, micro);
1397- printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
1398- printf("***\n");
1399- printf("*** If you have already installed a sufficiently new version, this error\n");
1400- printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1401- printf("*** being found. The easiest way to fix this is to remove the old version\n");
1402- printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
1403- printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1404- printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
1405- printf("*** so that the correct libraries are found at run-time))\n");
1406- }
1407- }
1408- return 1;
1409-}
1410-],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1411- CFLAGS="$ac_save_CFLAGS"
1412- LIBS="$ac_save_LIBS"
1413- fi
1414- fi
1415- if test "x$no_glib" = x ; then
1416- AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
1417- ifelse([$2], , :, [$2])
1418- else
1419- AC_MSG_RESULT(no)
1420- if test "$PKG_CONFIG" = "no" ; then
1421- echo "*** A new enough version of pkg-config was not found."
1422- echo "*** See http://www.freedesktop.org/software/pkgconfig/"
1423- else
1424- if test -f conf.glibtest ; then
1425- :
1426- else
1427- echo "*** Could not run GLIB test program, checking why..."
1428- ac_save_CFLAGS="$CFLAGS"
1429- ac_save_LIBS="$LIBS"
1430- CFLAGS="$CFLAGS $GLIB_CFLAGS"
1431- LIBS="$LIBS $GLIB_LIBS"
1432- AC_TRY_LINK([
1433-#include <glib.h>
1434-#include <stdio.h>
1435-], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
1436- [ echo "*** The test program compiled, but did not run. This usually means"
1437- echo "*** that the run-time linker is not finding GLIB or finding the wrong"
1438- echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
1439- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
1440- echo "*** to the installed location Also, make sure you have run ldconfig if that"
1441- echo "*** is required on your system"
1442- echo "***"
1443- echo "*** If you have an old version installed, it is best to remove it, although"
1444- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
1445- [ echo "*** The test program failed to compile or link. See the file config.log for the"
1446- echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
1447- CFLAGS="$ac_save_CFLAGS"
1448- LIBS="$ac_save_LIBS"
1449- fi
1450- fi
1451- GLIB_CFLAGS=""
1452- GLIB_LIBS=""
1453- GLIB_GENMARSHAL=""
1454- GOBJECT_QUERY=""
1455- GLIB_MKENUMS=""
1456- ifelse([$3], , :, [$3])
1457- fi
1458- AC_SUBST(GLIB_CFLAGS)
1459- AC_SUBST(GLIB_LIBS)
1460- AC_SUBST(GLIB_GENMARSHAL)
1461- AC_SUBST(GOBJECT_QUERY)
1462- AC_SUBST(GLIB_MKENUMS)
1463- rm -f conf.glibtest
1464-])
1465-
1466-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1467-#
1468-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1469-#
1470-# This program is free software; you can redistribute it and/or modify
1471-# it under the terms of the GNU General Public License as published by
1472-# the Free Software Foundation; either version 2 of the License, or
1473-# (at your option) any later version.
1474-#
1475-# This program is distributed in the hope that it will be useful, but
1476-# WITHOUT ANY WARRANTY; without even the implied warranty of
1477-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1478-# General Public License for more details.
1479-#
1480-# You should have received a copy of the GNU General Public License
1481-# along with this program; if not, write to the Free Software
1482-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1483-#
1484-# As a special exception to the GNU General Public License, if you
1485-# distribute this file as part of a program that contains a
1486-# configuration script generated by Autoconf, you may include it under
1487-# the same distribution terms that you use for the rest of that program.
1488-
1489-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
1490-# ----------------------------------
1491-AC_DEFUN([PKG_PROG_PKG_CONFIG],
1492-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1493-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1494-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
1495-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1496- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1497-fi
1498-if test -n "$PKG_CONFIG"; then
1499- _pkg_min_version=m4_default([$1], [0.9.0])
1500- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1501- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1502- AC_MSG_RESULT([yes])
1503- else
1504- AC_MSG_RESULT([no])
1505- PKG_CONFIG=""
1506- fi
1507-
1508-fi[]dnl
1509-])# PKG_PROG_PKG_CONFIG
1510-
1511-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1512-#
1513-# Check to see whether a particular set of modules exists. Similar
1514-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
1515-#
1516-#
1517-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
1518-# this or PKG_CHECK_MODULES is called, or make sure to call
1519-# PKG_CHECK_EXISTS manually
1520-# --------------------------------------------------------------
1521-AC_DEFUN([PKG_CHECK_EXISTS],
1522-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1523-if test -n "$PKG_CONFIG" && \
1524- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1525- m4_ifval([$2], [$2], [:])
1526-m4_ifvaln([$3], [else
1527- $3])dnl
1528-fi])
1529-
1530-
1531-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1532-# ---------------------------------------------
1533-m4_define([_PKG_CONFIG],
1534-[if test -n "$$1"; then
1535- pkg_cv_[]$1="$$1"
1536- elif test -n "$PKG_CONFIG"; then
1537- PKG_CHECK_EXISTS([$3],
1538- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1539- [pkg_failed=yes])
1540- else
1541- pkg_failed=untried
1542-fi[]dnl
1543-])# _PKG_CONFIG
1544-
1545-# _PKG_SHORT_ERRORS_SUPPORTED
1546-# -----------------------------
1547-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1548-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1549-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1550- _pkg_short_errors_supported=yes
1551-else
1552- _pkg_short_errors_supported=no
1553-fi[]dnl
1554-])# _PKG_SHORT_ERRORS_SUPPORTED
1555-
1556-
1557-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1558-# [ACTION-IF-NOT-FOUND])
1559-#
1560-#
1561-# Note that if there is a possibility the first call to
1562-# PKG_CHECK_MODULES might not happen, you should be sure to include an
1563-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1564-#
1565-#
1566-# --------------------------------------------------------------
1567-AC_DEFUN([PKG_CHECK_MODULES],
1568-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1569-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1570-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1571-
1572-pkg_failed=no
1573-AC_MSG_CHECKING([for $1])
1574-
1575-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1576-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1577-
1578-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1579-and $1[]_LIBS to avoid the need to call pkg-config.
1580-See the pkg-config man page for more details.])
1581-
1582-if test $pkg_failed = yes; then
1583- _PKG_SHORT_ERRORS_SUPPORTED
1584- if test $_pkg_short_errors_supported = yes; then
1585- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
1586- else
1587- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
1588- fi
1589- # Put the nasty error message in config.log where it belongs
1590- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1591-
1592- ifelse([$4], , [AC_MSG_ERROR(dnl
1593-[Package requirements ($2) were not met:
1594-
1595-$$1_PKG_ERRORS
1596-
1597-Consider adjusting the PKG_CONFIG_PATH environment variable if you
1598-installed software in a non-standard prefix.
1599-
1600-_PKG_TEXT
1601-])],
1602- [AC_MSG_RESULT([no])
1603- $4])
1604-elif test $pkg_failed = untried; then
1605- ifelse([$4], , [AC_MSG_FAILURE(dnl
1606-[The pkg-config script could not be found or is too old. Make sure it
1607-is in your PATH or set the PKG_CONFIG environment variable to the full
1608-path to pkg-config.
1609-
1610-_PKG_TEXT
1611-
1612-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
1613- [$4])
1614-else
1615- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1616- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1617- AC_MSG_RESULT([yes])
1618- ifelse([$3], , :, [$3])
1619-fi[]dnl
1620-])# PKG_CHECK_MODULES
1621-
1622 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1623 #
1624 # This file is free software; the Free Software Foundation
1625@@ -775,18 +406,6 @@
1626 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1627 ])
1628
1629-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1630-# Free Software Foundation, Inc.
1631-#
1632-# This file is free software; the Free Software Foundation
1633-# gives unlimited permission to copy and/or distribute it,
1634-# with or without modifications, as long as this notice is preserved.
1635-
1636-# serial 8
1637-
1638-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1639-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1640-
1641 # Do all the work for Automake. -*- Autoconf -*-
1642
1643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1644@@ -1392,6 +1011,374 @@
1645 AC_SUBST([am__untar])
1646 ]) # _AM_PROG_TAR
1647
1648+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1649+#
1650+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1651+#
1652+# This program is free software; you can redistribute it and/or modify
1653+# it under the terms of the GNU General Public License as published by
1654+# the Free Software Foundation; either version 2 of the License, or
1655+# (at your option) any later version.
1656+#
1657+# This program is distributed in the hope that it will be useful, but
1658+# WITHOUT ANY WARRANTY; without even the implied warranty of
1659+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1660+# General Public License for more details.
1661+#
1662+# You should have received a copy of the GNU General Public License
1663+# along with this program; if not, write to the Free Software
1664+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1665+#
1666+# As a special exception to the GNU General Public License, if you
1667+# distribute this file as part of a program that contains a
1668+# configuration script generated by Autoconf, you may include it under
1669+# the same distribution terms that you use for the rest of that program.
1670+
1671+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
1672+# ----------------------------------
1673+AC_DEFUN([PKG_PROG_PKG_CONFIG],
1674+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1675+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1676+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
1677+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1678+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1679+fi
1680+if test -n "$PKG_CONFIG"; then
1681+ _pkg_min_version=m4_default([$1], [0.9.0])
1682+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1683+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1684+ AC_MSG_RESULT([yes])
1685+ else
1686+ AC_MSG_RESULT([no])
1687+ PKG_CONFIG=""
1688+ fi
1689+
1690+fi[]dnl
1691+])# PKG_PROG_PKG_CONFIG
1692+
1693+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1694+#
1695+# Check to see whether a particular set of modules exists. Similar
1696+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
1697+#
1698+#
1699+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
1700+# this or PKG_CHECK_MODULES is called, or make sure to call
1701+# PKG_CHECK_EXISTS manually
1702+# --------------------------------------------------------------
1703+AC_DEFUN([PKG_CHECK_EXISTS],
1704+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1705+if test -n "$PKG_CONFIG" && \
1706+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1707+ m4_ifval([$2], [$2], [:])
1708+m4_ifvaln([$3], [else
1709+ $3])dnl
1710+fi])
1711+
1712+
1713+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1714+# ---------------------------------------------
1715+m4_define([_PKG_CONFIG],
1716+[if test -n "$$1"; then
1717+ pkg_cv_[]$1="$$1"
1718+ elif test -n "$PKG_CONFIG"; then
1719+ PKG_CHECK_EXISTS([$3],
1720+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1721+ [pkg_failed=yes])
1722+ else
1723+ pkg_failed=untried
1724+fi[]dnl
1725+])# _PKG_CONFIG
1726+
1727+# _PKG_SHORT_ERRORS_SUPPORTED
1728+# -----------------------------
1729+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1730+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1731+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1732+ _pkg_short_errors_supported=yes
1733+else
1734+ _pkg_short_errors_supported=no
1735+fi[]dnl
1736+])# _PKG_SHORT_ERRORS_SUPPORTED
1737+
1738+
1739+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1740+# [ACTION-IF-NOT-FOUND])
1741+#
1742+#
1743+# Note that if there is a possibility the first call to
1744+# PKG_CHECK_MODULES might not happen, you should be sure to include an
1745+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1746+#
1747+#
1748+# --------------------------------------------------------------
1749+AC_DEFUN([PKG_CHECK_MODULES],
1750+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1751+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1752+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1753+
1754+pkg_failed=no
1755+AC_MSG_CHECKING([for $1])
1756+
1757+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1758+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1759+
1760+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1761+and $1[]_LIBS to avoid the need to call pkg-config.
1762+See the pkg-config man page for more details.])
1763+
1764+if test $pkg_failed = yes; then
1765+ _PKG_SHORT_ERRORS_SUPPORTED
1766+ if test $_pkg_short_errors_supported = yes; then
1767+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
1768+ else
1769+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
1770+ fi
1771+ # Put the nasty error message in config.log where it belongs
1772+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1773+
1774+ ifelse([$4], , [AC_MSG_ERROR(dnl
1775+[Package requirements ($2) were not met:
1776+
1777+$$1_PKG_ERRORS
1778+
1779+Consider adjusting the PKG_CONFIG_PATH environment variable if you
1780+installed software in a non-standard prefix.
1781+
1782+_PKG_TEXT
1783+])],
1784+ [AC_MSG_RESULT([no])
1785+ $4])
1786+elif test $pkg_failed = untried; then
1787+ ifelse([$4], , [AC_MSG_FAILURE(dnl
1788+[The pkg-config script could not be found or is too old. Make sure it
1789+is in your PATH or set the PKG_CONFIG environment variable to the full
1790+path to pkg-config.
1791+
1792+_PKG_TEXT
1793+
1794+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
1795+ [$4])
1796+else
1797+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1798+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1799+ AC_MSG_RESULT([yes])
1800+ ifelse([$3], , :, [$3])
1801+fi[]dnl
1802+])# PKG_CHECK_MODULES
1803+
1804+# Configure paths for GLIB
1805+# Owen Taylor 1997-2001
1806+
1807+dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
1808+dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
1809+dnl gthread, or gio is specified in MODULES, pass to pkg-config
1810+dnl
1811+AC_DEFUN([AM_PATH_GLIB_2_0],
1812+[dnl
1813+dnl Get the cflags and libraries from pkg-config
1814+dnl
1815+AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
1816+ , enable_glibtest=yes)
1817+
1818+ pkg_config_args=glib-2.0
1819+ for module in . $4
1820+ do
1821+ case "$module" in
1822+ gmodule)
1823+ pkg_config_args="$pkg_config_args gmodule-2.0"
1824+ ;;
1825+ gmodule-no-export)
1826+ pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
1827+ ;;
1828+ gobject)
1829+ pkg_config_args="$pkg_config_args gobject-2.0"
1830+ ;;
1831+ gthread)
1832+ pkg_config_args="$pkg_config_args gthread-2.0"
1833+ ;;
1834+ gio*)
1835+ pkg_config_args="$pkg_config_args $module-2.0"
1836+ ;;
1837+ esac
1838+ done
1839+
1840+ PKG_PROG_PKG_CONFIG([0.16])
1841+
1842+ no_glib=""
1843+
1844+ if test "x$PKG_CONFIG" = x ; then
1845+ no_glib=yes
1846+ PKG_CONFIG=no
1847+ fi
1848+
1849+ min_glib_version=ifelse([$1], ,2.0.0,$1)
1850+ AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
1851+
1852+ if test x$PKG_CONFIG != xno ; then
1853+ ## don't try to run the test against uninstalled libtool libs
1854+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
1855+ echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
1856+ enable_glibtest=no
1857+ fi
1858+
1859+ if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
1860+ :
1861+ else
1862+ no_glib=yes
1863+ fi
1864+ fi
1865+
1866+ if test x"$no_glib" = x ; then
1867+ GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
1868+ GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
1869+ GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
1870+
1871+ GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
1872+ GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
1873+ glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
1874+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1875+ glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
1876+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1877+ glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
1878+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1879+ if test "x$enable_glibtest" = "xyes" ; then
1880+ ac_save_CFLAGS="$CFLAGS"
1881+ ac_save_LIBS="$LIBS"
1882+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
1883+ LIBS="$GLIB_LIBS $LIBS"
1884+dnl
1885+dnl Now check if the installed GLIB is sufficiently new. (Also sanity
1886+dnl checks the results of pkg-config to some extent)
1887+dnl
1888+ rm -f conf.glibtest
1889+ AC_TRY_RUN([
1890+#include <glib.h>
1891+#include <stdio.h>
1892+#include <stdlib.h>
1893+
1894+int
1895+main ()
1896+{
1897+ int major, minor, micro;
1898+ char *tmp_version;
1899+
1900+ fclose (fopen ("conf.glibtest", "w"));
1901+
1902+ /* HP/UX 9 (%@#!) writes to sscanf strings */
1903+ tmp_version = g_strdup("$min_glib_version");
1904+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1905+ printf("%s, bad version string\n", "$min_glib_version");
1906+ exit(1);
1907+ }
1908+
1909+ if ((glib_major_version != $glib_config_major_version) ||
1910+ (glib_minor_version != $glib_config_minor_version) ||
1911+ (glib_micro_version != $glib_config_micro_version))
1912+ {
1913+ printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
1914+ $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
1915+ glib_major_version, glib_minor_version, glib_micro_version);
1916+ printf ("*** was found! If pkg-config was correct, then it is best\n");
1917+ printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
1918+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
1919+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
1920+ printf("*** required on your system.\n");
1921+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
1922+ printf("*** to point to the correct configuration files\n");
1923+ }
1924+ else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
1925+ (glib_minor_version != GLIB_MINOR_VERSION) ||
1926+ (glib_micro_version != GLIB_MICRO_VERSION))
1927+ {
1928+ printf("*** GLIB header files (version %d.%d.%d) do not match\n",
1929+ GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
1930+ printf("*** library (version %d.%d.%d)\n",
1931+ glib_major_version, glib_minor_version, glib_micro_version);
1932+ }
1933+ else
1934+ {
1935+ if ((glib_major_version > major) ||
1936+ ((glib_major_version == major) && (glib_minor_version > minor)) ||
1937+ ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
1938+ {
1939+ return 0;
1940+ }
1941+ else
1942+ {
1943+ printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
1944+ glib_major_version, glib_minor_version, glib_micro_version);
1945+ printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
1946+ major, minor, micro);
1947+ printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
1948+ printf("***\n");
1949+ printf("*** If you have already installed a sufficiently new version, this error\n");
1950+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1951+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
1952+ printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
1953+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1954+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
1955+ printf("*** so that the correct libraries are found at run-time))\n");
1956+ }
1957+ }
1958+ return 1;
1959+}
1960+],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1961+ CFLAGS="$ac_save_CFLAGS"
1962+ LIBS="$ac_save_LIBS"
1963+ fi
1964+ fi
1965+ if test "x$no_glib" = x ; then
1966+ AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
1967+ ifelse([$2], , :, [$2])
1968+ else
1969+ AC_MSG_RESULT(no)
1970+ if test "$PKG_CONFIG" = "no" ; then
1971+ echo "*** A new enough version of pkg-config was not found."
1972+ echo "*** See http://www.freedesktop.org/software/pkgconfig/"
1973+ else
1974+ if test -f conf.glibtest ; then
1975+ :
1976+ else
1977+ echo "*** Could not run GLIB test program, checking why..."
1978+ ac_save_CFLAGS="$CFLAGS"
1979+ ac_save_LIBS="$LIBS"
1980+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
1981+ LIBS="$LIBS $GLIB_LIBS"
1982+ AC_TRY_LINK([
1983+#include <glib.h>
1984+#include <stdio.h>
1985+], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
1986+ [ echo "*** The test program compiled, but did not run. This usually means"
1987+ echo "*** that the run-time linker is not finding GLIB or finding the wrong"
1988+ echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
1989+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
1990+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
1991+ echo "*** is required on your system"
1992+ echo "***"
1993+ echo "*** If you have an old version installed, it is best to remove it, although"
1994+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
1995+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
1996+ echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
1997+ CFLAGS="$ac_save_CFLAGS"
1998+ LIBS="$ac_save_LIBS"
1999+ fi
2000+ fi
2001+ GLIB_CFLAGS=""
2002+ GLIB_LIBS=""
2003+ GLIB_GENMARSHAL=""
2004+ GOBJECT_QUERY=""
2005+ GLIB_MKENUMS=""
2006+ ifelse([$3], , :, [$3])
2007+ fi
2008+ AC_SUBST(GLIB_CFLAGS)
2009+ AC_SUBST(GLIB_LIBS)
2010+ AC_SUBST(GLIB_GENMARSHAL)
2011+ AC_SUBST(GOBJECT_QUERY)
2012+ AC_SUBST(GLIB_MKENUMS)
2013+ rm -f conf.glibtest
2014+])
2015+
2016 m4_include([build/autotools/as-compiler-flag.m4])
2017 m4_include([build/autotools/gtk-doc.m4])
2018 m4_include([build/autotools/introspection.m4])
2019
2020=== modified file 'build/Makefile.in'
2021--- build/Makefile.in 2010-05-28 11:49:23 +0000
2022+++ build/Makefile.in 2010-11-08 19:04:46 +0000
2023@@ -125,6 +125,8 @@
2024 EGREP = @EGREP@
2025 EXEEXT = @EXEEXT@
2026 FGREP = @FGREP@
2027+GCOV_CFLAGS = @GCOV_CFLAGS@
2028+GCOV_LDFLAGS = @GCOV_LDFLAGS@
2029 GLIB_CFLAGS = @GLIB_CFLAGS@
2030 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
2031 GLIB_LIBS = @GLIB_LIBS@
2032@@ -133,15 +135,20 @@
2033 GOBJECT_QUERY = @GOBJECT_QUERY@
2034 GREP = @GREP@
2035 GTKDOC_CHECK = @GTKDOC_CHECK@
2036+GTKDOC_MKPDF = @GTKDOC_MKPDF@
2037+GTKDOC_REBASE = @GTKDOC_REBASE@
2038 HTML_DIR = @HTML_DIR@
2039 INSTALL = @INSTALL@
2040 INSTALL_DATA = @INSTALL_DATA@
2041 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2042 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2043 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2044+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
2045 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
2046 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
2047 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
2048+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
2049+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
2050 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
2051 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
2052 JSON_CFLAGS = @JSON_CFLAGS@
2053@@ -175,6 +182,7 @@
2054 PACKAGE_NAME = @PACKAGE_NAME@
2055 PACKAGE_STRING = @PACKAGE_STRING@
2056 PACKAGE_TARNAME = @PACKAGE_TARNAME@
2057+PACKAGE_URL = @PACKAGE_URL@
2058 PACKAGE_VERSION = @PACKAGE_VERSION@
2059 PATH_SEPARATOR = @PATH_SEPARATOR@
2060 PKG_CONFIG = @PKG_CONFIG@
2061
2062=== modified file 'build/autotools/Makefile.am'
2063--- build/autotools/Makefile.am 2010-05-28 11:49:23 +0000
2064+++ build/autotools/Makefile.am 2010-11-08 19:04:46 +0000
2065@@ -1,15 +1,12 @@
2066 EXTRA_DIST = \
2067- shave-libtool.in \
2068- shave.in \
2069- shave.m4 \
2070 as-compiler-flag.m4 \
2071 introspection.m4 \
2072 Makefile.am.silent \
2073 Makefile.am.enums \
2074 Makefile.am.marshal \
2075- Makefile.am.gtest
2076-
2077-DISTCLEANFILES = shave-libtool shave
2078+ Makefile.am.gtest \
2079+ Makefile.am.gcov \
2080+ Makefile.am.gitignore
2081
2082 # needed to avoid including Makefile.am.gtest
2083 test-report:
2084
2085=== added file 'build/autotools/Makefile.am.gcov'
2086--- build/autotools/Makefile.am.gcov 1970-01-01 00:00:00 +0000
2087+++ build/autotools/Makefile.am.gcov 2010-11-08 19:04:46 +0000
2088@@ -0,0 +1,35 @@
2089+if GCOV_ENABLED
2090+gcov-report.txt: gcov-clean
2091+ $(QUIET_GEN)(rm -f $@; \
2092+ echo -e "Test coverage for json-glib:\n" >> $@; \
2093+ total_covered=0; total_actual=0; \
2094+ for file in $(filter %.c,$(gcov_sources)); do \
2095+ gcov -o .libs/$${file/.c/.gcda} $$file > /dev/null; \
2096+ if test -f $$file.gcov; then \
2097+ actual=`grep -v ' -:' $$file.gcov | wc -l`; \
2098+ uncovered=`grep '#####:' $$file.gcov | wc -l`; \
2099+ covered=$$((actual - uncovered)); \
2100+ total_covered=$$((total_covered + covered)); \
2101+ total_actual=$$((total_actual + actual)); \
2102+ echo -e "$$file: \t$$covered / $$actual\t($$((($$covered * 100) / $$actual))%)"; \
2103+ fi \
2104+ done >> $@; \
2105+ cd $(abs_srcdir); \
2106+ echo -e "\nSource lines: $$total_actual\nCovered statements: $$total_covered\nTotal coverage: $$((($$total_covered * 100) / $$total_actual))%" >> $@)
2107+
2108+gcov: gcov-report.txt
2109+ @cat gcov-report.txt
2110+gcov-clean:
2111+ @find . -name "*.gcda" -o -name "*.gcov" -delete
2112+else
2113+gcov-report.txt:
2114+ @true
2115+gcov-clean:
2116+ @true
2117+gcov:
2118+ @echo "Need to reconfigure with --enable-gcov"
2119+endif # GCOV_ENABLED
2120+
2121+.PHONY: gcov gcov-clean gcov-report.txt
2122+
2123+check-local: gcov
2124
2125=== added file 'build/autotools/Makefile.am.gitignore'
2126--- build/autotools/Makefile.am.gitignore 1970-01-01 00:00:00 +0000
2127+++ build/autotools/Makefile.am.gitignore 2010-11-08 19:04:46 +0000
2128@@ -0,0 +1,24 @@
2129+# this file should only be used in directories that generate test
2130+# or example binaries through noinst_PROGRAMS; it is *not* a full
2131+# generator of Git ignore files, and it's not meant to be used as
2132+# the top-level Git ignore file generator.
2133+
2134+$(srcdir)/.gitignore: Makefile.am
2135+ $(QUIET_GEN)( \
2136+ echo "*.o" ; \
2137+ echo ".gitignore" ; \
2138+ ) > $(srcdir)/.gitignore ; \
2139+ for p in $(noinst_PROGRAMS); do \
2140+ echo "/$$p" >> $(srcdir)/.gitignore ; \
2141+ done
2142+
2143+gitignore: $(srcdir)/.gitignore
2144+
2145+gitignore-clean:
2146+ $(QUIET_RM)rm -f $(srcdir)/.gitignore
2147+
2148+.PHONY: gitignore gitignore-clean
2149+
2150+all: gitignore
2151+
2152+maintainer-clean: gitignore-clean
2153
2154=== modified file 'build/autotools/Makefile.am.gtest'
2155--- build/autotools/Makefile.am.gtest 2010-03-16 06:07:32 +0000
2156+++ build/autotools/Makefile.am.gtest 2010-11-08 19:04:46 +0000
2157@@ -56,6 +56,8 @@
2158 rm -rf "$$GTESTER_LOGDIR"/ ; \
2159 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
2160 }
2161+
2162 .PHONY: test test-report perf-report full-report
2163+
2164 # run make test as part of make check
2165 check-local: test
2166
2167=== modified file 'build/autotools/Makefile.am.silent'
2168--- build/autotools/Makefile.am.silent 2010-03-16 06:07:32 +0000
2169+++ build/autotools/Makefile.am.silent 2010-11-08 19:04:46 +0000
2170@@ -1,10 +1,5 @@
2171 # custom rules for quiet builds
2172
2173-if USE_SHAVE
2174-QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
2175-QUIET_LN = $(Q:@=@echo ' LN '$@;)
2176-QUIET_RM = $(Q:@=@echo ' RM '$@;)
2177-else
2178 QUIET_GEN = $(AM_V_GEN)
2179
2180 QUIET_LN = $(QUIET_LN_$(V))
2181@@ -14,4 +9,3 @@
2182 QUIET_RM = $(QUIET_RM_$(V))
2183 QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
2184 QUIET_RM_0 = @echo ' RM '$@;
2185-endif # USE_SHAVE
2186
2187=== modified file 'build/autotools/Makefile.in'
2188--- build/autotools/Makefile.in 2010-05-28 11:49:23 +0000
2189+++ build/autotools/Makefile.in 2010-11-08 19:04:46 +0000
2190@@ -85,6 +85,8 @@
2191 EGREP = @EGREP@
2192 EXEEXT = @EXEEXT@
2193 FGREP = @FGREP@
2194+GCOV_CFLAGS = @GCOV_CFLAGS@
2195+GCOV_LDFLAGS = @GCOV_LDFLAGS@
2196 GLIB_CFLAGS = @GLIB_CFLAGS@
2197 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
2198 GLIB_LIBS = @GLIB_LIBS@
2199@@ -93,15 +95,20 @@
2200 GOBJECT_QUERY = @GOBJECT_QUERY@
2201 GREP = @GREP@
2202 GTKDOC_CHECK = @GTKDOC_CHECK@
2203+GTKDOC_MKPDF = @GTKDOC_MKPDF@
2204+GTKDOC_REBASE = @GTKDOC_REBASE@
2205 HTML_DIR = @HTML_DIR@
2206 INSTALL = @INSTALL@
2207 INSTALL_DATA = @INSTALL_DATA@
2208 INSTALL_PROGRAM = @INSTALL_PROGRAM@
2209 INSTALL_SCRIPT = @INSTALL_SCRIPT@
2210 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2211+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
2212 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
2213 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
2214 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
2215+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
2216+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
2217 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
2218 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
2219 JSON_CFLAGS = @JSON_CFLAGS@
2220@@ -135,6 +142,7 @@
2221 PACKAGE_NAME = @PACKAGE_NAME@
2222 PACKAGE_STRING = @PACKAGE_STRING@
2223 PACKAGE_TARNAME = @PACKAGE_TARNAME@
2224+PACKAGE_URL = @PACKAGE_URL@
2225 PACKAGE_VERSION = @PACKAGE_VERSION@
2226 PATH_SEPARATOR = @PATH_SEPARATOR@
2227 PKG_CONFIG = @PKG_CONFIG@
2228@@ -197,17 +205,15 @@
2229 top_builddir = @top_builddir@
2230 top_srcdir = @top_srcdir@
2231 EXTRA_DIST = \
2232- shave-libtool.in \
2233- shave.in \
2234- shave.m4 \
2235 as-compiler-flag.m4 \
2236 introspection.m4 \
2237 Makefile.am.silent \
2238 Makefile.am.enums \
2239 Makefile.am.marshal \
2240- Makefile.am.gtest
2241+ Makefile.am.gtest \
2242+ Makefile.am.gcov \
2243+ Makefile.am.gitignore
2244
2245-DISTCLEANFILES = shave-libtool shave
2246 all: all-am
2247
2248 .SUFFIXES:
2249@@ -310,7 +316,6 @@
2250 distclean-generic:
2251 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2252 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
2253- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
2254
2255 maintainer-clean-generic:
2256 @echo "This command is intended for maintainers to use"
2257
2258=== modified file 'build/autotools/gtk-doc.m4'
2259--- build/autotools/gtk-doc.m4 2010-05-28 11:49:23 +0000
2260+++ build/autotools/gtk-doc.m4 2010-11-08 19:04:46 +0000
2261@@ -8,6 +8,12 @@
2262 [
2263 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
2264 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
2265+
2266+ dnl check for tools we added during development
2267+ AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
2268+ AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
2269+ AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
2270+
2271 dnl for overriding the documentation installation directory
2272 AC_ARG_WITH([html-dir],
2273 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
2274@@ -26,14 +32,30 @@
2275 [PKG_CHECK_EXISTS([gtk-doc],,
2276 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
2277 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
2278- AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])
2279+ AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
2280 fi
2281
2282 AC_MSG_CHECKING([whether to build gtk-doc documentation])
2283 AC_MSG_RESULT($enable_gtk_doc)
2284
2285- AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)
2286+ dnl enable/disable output formats
2287+ AC_ARG_ENABLE([gtk-doc-html],
2288+ AS_HELP_STRING([--enable-gtk-doc-html],
2289+ [build documentation in html format [[default=yes]]]),,
2290+ [enable_gtk_doc_html=yes])
2291+ AC_ARG_ENABLE([gtk-doc-pdf],
2292+ AS_HELP_STRING([--enable-gtk-doc-pdf],
2293+ [build documentation in pdf format [[default=no]]]),,
2294+ [enable_gtk_doc_pdf=no])
2295+
2296+ if test -z "$GTKDOC_MKPDF"; then
2297+ enable_gtk_doc_pdf=no
2298+ fi
2299+
2300
2301 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
2302+ AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
2303+ AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
2304 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
2305+ AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
2306 ])
2307
2308=== modified file 'build/autotools/introspection.m4'
2309--- build/autotools/introspection.m4 2010-05-28 11:49:23 +0000
2310+++ build/autotools/introspection.m4 2010-11-08 19:04:46 +0000
2311@@ -59,12 +59,18 @@
2312 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
2313 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
2314 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
2315+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
2316+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
2317+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
2318 fi
2319 AC_SUBST(INTROSPECTION_SCANNER)
2320 AC_SUBST(INTROSPECTION_COMPILER)
2321 AC_SUBST(INTROSPECTION_GENERATE)
2322 AC_SUBST(INTROSPECTION_GIRDIR)
2323 AC_SUBST(INTROSPECTION_TYPELIBDIR)
2324+ AC_SUBST(INTROSPECTION_CFLAGS)
2325+ AC_SUBST(INTROSPECTION_LIBS)
2326+ AC_SUBST(INTROSPECTION_MAKEFILE)
2327
2328 AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
2329 ])
2330
2331=== removed file 'build/autotools/shave-libtool.in'
2332--- build/autotools/shave-libtool.in 2010-05-28 11:49:23 +0000
2333+++ build/autotools/shave-libtool.in 1970-01-01 00:00:00 +0000
2334@@ -1,69 +0,0 @@
2335-#!/bin/sh
2336-
2337-# we need sed
2338-SED=@SED@
2339-if test -z "$SED" ; then
2340-SED=sed
2341-fi
2342-
2343-lt_unmangle ()
2344-{
2345- last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
2346-}
2347-
2348-# the real libtool to use
2349-LIBTOOL="$1"
2350-shift
2351-
2352-# if 1, don't print anything, the underlaying wrapper will do it
2353-pass_though=0
2354-
2355-# scan the arguments, keep the right ones for libtool, and discover the mode
2356-preserved_args=
2357-while test "$#" -gt 0; do
2358- opt="$1"
2359- shift
2360-
2361- case $opt in
2362- --mode=*)
2363- mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
2364- preserved_args="$preserved_args $opt"
2365- ;;
2366- -o)
2367- lt_output="$1"
2368- preserved_args="$preserved_args $opt"
2369- ;;
2370- *)
2371- preserved_args="$preserved_args $opt"
2372- ;;
2373- esac
2374-done
2375-
2376-case "$mode" in
2377-compile)
2378- # shave will be called and print the actual CC/CXX/LINK line
2379- preserved_args="$preserved_args --shave-mode=$mode"
2380- pass_though=1
2381- ;;
2382-link)
2383- preserved_args="$preserved_args --shave-mode=$mode"
2384- Q=" LINK "
2385- ;;
2386-*)
2387- # let's u
2388- # echo "*** libtool: Unimplemented mode: $mode, fill a bug report"
2389- ;;
2390-esac
2391-
2392-lt_unmangle "$lt_output"
2393-output=$last_result
2394-
2395-if test -z $V; then
2396- if test $pass_though -eq 0; then
2397- echo "$Q$output"
2398- fi
2399- $LIBTOOL --silent $preserved_args
2400-else
2401- echo $LIBTOOL $preserved_args
2402- $LIBTOOL $preserved_args
2403-fi
2404
2405=== removed file 'build/autotools/shave.in'
2406--- build/autotools/shave.in 2010-05-28 11:49:23 +0000
2407+++ build/autotools/shave.in 1970-01-01 00:00:00 +0000
2408@@ -1,79 +0,0 @@
2409-#!/bin/sh
2410-
2411-# we need sed
2412-SED=@SED@
2413-if test -z "$SED" ; then
2414-SED=sed
2415-fi
2416-
2417-lt_unmangle ()
2418-{
2419- last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
2420-}
2421-
2422-# the tool to wrap (cc, cxx, ar, ranlib, ..)
2423-tool="$1"
2424-shift
2425-
2426-# the reel tool (to call)
2427-REEL_TOOL="$1"
2428-shift
2429-
2430-pass_through=0
2431-preserved_args=
2432-while test "$#" -gt 0; do
2433- opt="$1"
2434- shift
2435-
2436- case $opt in
2437- --shave-mode=*)
2438- mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
2439- ;;
2440- -o)
2441- lt_output="$1"
2442- preserved_args="$preserved_args $opt"
2443- ;;
2444- *)
2445- preserved_args="$preserved_args $opt"
2446- ;;
2447- esac
2448-done
2449-
2450-# mode=link is handled in the libtool wrapper
2451-case "$mode,$tool" in
2452-link,*)
2453- pass_through=1
2454- ;;
2455-*,cxx)
2456- Q=" CXX "
2457- ;;
2458-*,cc)
2459- Q=" CC "
2460- ;;
2461-*,fc)
2462- Q=" FC "
2463- ;;
2464-*,f77)
2465- Q=" F77 "
2466- ;;
2467-*,objc)
2468- Q=" OBJC "
2469- ;;
2470-*,*)
2471- # should not happen
2472- Q=" CC "
2473- ;;
2474-esac
2475-
2476-lt_unmangle "$lt_output"
2477-output=$last_result
2478-
2479-if test -z $V; then
2480- if test $pass_through -eq 0; then
2481- echo "$Q$output"
2482- fi
2483- $REEL_TOOL $preserved_args
2484-else
2485- echo $REEL_TOOL $preserved_args
2486- $REEL_TOOL $preserved_args
2487-fi
2488
2489=== removed file 'build/autotools/shave.m4'
2490--- build/autotools/shave.m4 2010-05-28 11:49:23 +0000
2491+++ build/autotools/shave.m4 1970-01-01 00:00:00 +0000
2492@@ -1,77 +0,0 @@
2493-dnl Make automake/libtool output more friendly to humans
2494-dnl Damien Lespiau <damien.lespiau@gmail.com>
2495-dnl
2496-dnl SHAVE_INIT([shavedir],[default_mode])
2497-dnl
2498-dnl shavedir: the directory where the shave scripts are, it defaults to
2499-dnl $(top_builddir)
2500-dnl default_mode: (enable|disable) default shave mode. This parameter
2501-dnl controls shave's behaviour when no option has been
2502-dnl given to configure. It defaults to disable.
2503-dnl
2504-dnl * SHAVE_INIT should be called late in your configure.(ac|in) file (just
2505-dnl before AC_CONFIG_FILE/AC_OUTPUT is perfect. This macro rewrites CC and
2506-dnl LIBTOOL, you don't want the configure tests to have these variables
2507-dnl re-defined.
2508-dnl * This macro requires GNU make's -s option.
2509-
2510-AC_DEFUN([_SHAVE_ARG_ENABLE],
2511-[
2512- AC_ARG_ENABLE([shave],
2513- AS_HELP_STRING(
2514- [--enable-shave],
2515- [use shave to make the build pretty [[default=$1]]]),,
2516- [enable_shave=$1]
2517- )
2518-])
2519-
2520-AC_DEFUN([SHAVE_INIT],
2521-[
2522- dnl you can tweak the default value of enable_shave
2523- m4_if([$2], [enable], [_SHAVE_ARG_ENABLE(yes)], [_SHAVE_ARG_ENABLE(no)])
2524-
2525- if test x"$enable_shave" = xyes; then
2526- dnl where can we find the shave scripts?
2527- m4_if([$1],,
2528- [shavedir="$ac_pwd"],
2529- [shavedir="$ac_pwd/$1"])
2530- AC_SUBST(shavedir)
2531-
2532- dnl make is now quiet
2533- AC_SUBST([MAKEFLAGS], [-s])
2534- AC_SUBST([AM_MAKEFLAGS], ['`test -z $V && echo -s`'])
2535-
2536- dnl we need sed
2537- AC_CHECK_PROG(SED,sed,sed,false)
2538-
2539- dnl substitute libtool
2540- SHAVE_SAVED_LIBTOOL=$LIBTOOL
2541- LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'"
2542- AC_SUBST(LIBTOOL)
2543-
2544- dnl substitute cc/cxx
2545- SHAVE_SAVED_CC=$CC
2546- SHAVE_SAVED_CXX=$CXX
2547- SHAVE_SAVED_FC=$FC
2548- SHAVE_SAVED_F77=$F77
2549- SHAVE_SAVED_OBJC=$OBJC
2550- CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
2551- CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
2552- FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}"
2553- F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
2554- OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}"
2555- AC_SUBST(CC)
2556- AC_SUBST(CXX)
2557- AC_SUBST(FC)
2558- AC_SUBST(F77)
2559- AC_SUBST(OBJC)
2560-
2561- V=@
2562- else
2563- V=1
2564- fi
2565- Q='$(V:1=)'
2566- AC_SUBST(V)
2567- AC_SUBST(Q)
2568-])
2569-
2570
2571=== modified file 'config.h.in'
2572--- config.h.in 2010-05-28 11:49:23 +0000
2573+++ config.h.in 2010-11-08 19:04:46 +0000
2574@@ -3,22 +3,12 @@
2575 /* Define to 1 if you have the <dlfcn.h> header file. */
2576 #undef HAVE_DLFCN_H
2577
2578-/* Define to 1 if you have the `getpagesize' function. */
2579-#undef HAVE_GETPAGESIZE
2580-
2581 /* Define to 1 if you have the <inttypes.h> header file. */
2582 #undef HAVE_INTTYPES_H
2583
2584-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
2585- to 0 otherwise. */
2586-#undef HAVE_MALLOC
2587-
2588 /* Define to 1 if you have the <memory.h> header file. */
2589 #undef HAVE_MEMORY_H
2590
2591-/* Define to 1 if you have a working `mmap' system call. */
2592-#undef HAVE_MMAP
2593-
2594 /* Define to 1 if you have the <stdint.h> header file. */
2595 #undef HAVE_STDINT_H
2596
2597@@ -47,9 +37,6 @@
2598 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
2599 #undef NO_MINUS_C_MINUS_O
2600
2601-/* Name of package */
2602-#undef PACKAGE
2603-
2604 /* Define to the address where bug reports for this package should be sent. */
2605 #undef PACKAGE_BUGREPORT
2606
2607@@ -62,17 +49,11 @@
2608 /* Define to the one symbol short name of this package. */
2609 #undef PACKAGE_TARNAME
2610
2611+/* Define to the home page for this package. */
2612+#undef PACKAGE_URL
2613+
2614 /* Define to the version of this package. */
2615 #undef PACKAGE_VERSION
2616
2617 /* Define to 1 if you have the ANSI C header files. */
2618 #undef STDC_HEADERS
2619-
2620-/* Version number of package */
2621-#undef VERSION
2622-
2623-/* Define to empty if `const' does not conform to ANSI C. */
2624-#undef const
2625-
2626-/* Define to rpl_malloc if the replacement function should be used. */
2627-#undef malloc
2628
2629=== modified file 'configure'
2630--- configure 2010-05-28 11:49:23 +0000
2631+++ configure 2010-11-08 19:04:46 +0000
2632@@ -1,20 +1,24 @@
2633 #! /bin/sh
2634 # Guess values for system-dependent variables and create Makefiles.
2635-# Generated by GNU Autoconf 2.63 for json-glib 0.10.2.
2636-#
2637-# Report bugs to <http://bugzilla.openedhand.com/enter_bug.cgi?product=json-glib>.
2638+# Generated by GNU Autoconf 2.65 for json-glib 0.12.0.
2639+#
2640+# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=json-glib>.
2641+#
2642 #
2643 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2644-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2645+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
2646+# Inc.
2647+#
2648+#
2649 # This configure script is free software; the Free Software Foundation
2650 # gives unlimited permission to copy, distribute and modify it.
2651-## --------------------- ##
2652-## M4sh Initialization. ##
2653-## --------------------- ##
2654+## -------------------- ##
2655+## M4sh Initialization. ##
2656+## -------------------- ##
2657
2658 # Be more Bourne compatible
2659 DUALCASE=1; export DUALCASE # for MKS sh
2660-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2661+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2662 emulate sh
2663 NULLCMD=:
2664 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2665@@ -22,23 +26,15 @@
2666 alias -g '${1+"$@"}'='"$@"'
2667 setopt NO_GLOB_SUBST
2668 else
2669- case `(set -o) 2>/dev/null` in
2670- *posix*) set -o posix ;;
2671+ case `(set -o) 2>/dev/null` in #(
2672+ *posix*) :
2673+ set -o posix ;; #(
2674+ *) :
2675+ ;;
2676 esac
2677-
2678 fi
2679
2680
2681-
2682-
2683-# PATH needs CR
2684-# Avoid depending upon Character Ranges.
2685-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2686-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2687-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2688-as_cr_digits='0123456789'
2689-as_cr_alnum=$as_cr_Letters$as_cr_digits
2690-
2691 as_nl='
2692 '
2693 export as_nl
2694@@ -46,7 +42,13 @@
2695 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2696 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2698-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2699+# Prefer a ksh shell builtin over an external printf program on Solaris,
2700+# but without wasting forks for bash or zsh.
2701+if test -z "$BASH_VERSION$ZSH_VERSION" \
2702+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2703+ as_echo='print -r --'
2704+ as_echo_n='print -rn --'
2705+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2706 as_echo='printf %s\n'
2707 as_echo_n='printf %s'
2708 else
2709@@ -57,7 +59,7 @@
2710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2711 as_echo_n_body='eval
2712 arg=$1;
2713- case $arg in
2714+ case $arg in #(
2715 *"$as_nl"*)
2716 expr "X$arg" : "X\\(.*\\)$as_nl";
2717 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2718@@ -80,13 +82,6 @@
2719 }
2720 fi
2721
2722-# Support unset when possible.
2723-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2724- as_unset=unset
2725-else
2726- as_unset=false
2727-fi
2728-
2729
2730 # IFS
2731 # We need space, tab and new line, in precisely that order. Quoting is
2732@@ -96,15 +91,15 @@
2733 IFS=" "" $as_nl"
2734
2735 # Find who we are. Look in the path if we contain no directory separator.
2736-case $0 in
2737+case $0 in #((
2738 *[\\/]* ) as_myself=$0 ;;
2739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH
2741 do
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2745-done
2746+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2747+ done
2748 IFS=$as_save_IFS
2749
2750 ;;
2751@@ -116,12 +111,16 @@
2752 fi
2753 if test ! -f "$as_myself"; then
2754 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2755- { (exit 1); exit 1; }
2756+ exit 1
2757 fi
2758
2759-# Work around bugs in pre-3.0 UWIN ksh.
2760-for as_var in ENV MAIL MAILPATH
2761-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2762+# Unset variables that we do not need and which cause bugs (e.g. in
2763+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2764+# suppresses any "Segmentation fault" message there. '((' could
2765+# trigger a bug in pdksh 5.2.14.
2766+for as_var in BASH_ENV ENV MAIL MAILPATH
2767+do eval test x\${$as_var+set} = xset \
2768+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2769 done
2770 PS1='$ '
2771 PS2='> '
2772@@ -133,330 +132,301 @@
2773 LANGUAGE=C
2774 export LANGUAGE
2775
2776-# Required to use basename.
2777-if expr a : '\(a\)' >/dev/null 2>&1 &&
2778- test "X`expr 00001 : '.*\(...\)'`" = X001; then
2779- as_expr=expr
2780-else
2781- as_expr=false
2782-fi
2783-
2784-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2785- as_basename=basename
2786-else
2787- as_basename=false
2788-fi
2789-
2790-
2791-# Name of the executable.
2792-as_me=`$as_basename -- "$0" ||
2793-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2794- X"$0" : 'X\(//\)$' \| \
2795- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2796-$as_echo X/"$0" |
2797- sed '/^.*\/\([^/][^/]*\)\/*$/{
2798- s//\1/
2799- q
2800- }
2801- /^X\/\(\/\/\)$/{
2802- s//\1/
2803- q
2804- }
2805- /^X\/\(\/\).*/{
2806- s//\1/
2807- q
2808- }
2809- s/.*/./; q'`
2810-
2811 # CDPATH.
2812-$as_unset CDPATH
2813-
2814+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2815
2816 if test "x$CONFIG_SHELL" = x; then
2817- if (eval ":") 2>/dev/null; then
2818+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
2819+ emulate sh
2820+ NULLCMD=:
2821+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
2822+ # is contrary to our usage. Disable this feature.
2823+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
2824+ setopt NO_GLOB_SUBST
2825+else
2826+ case \`(set -o) 2>/dev/null\` in #(
2827+ *posix*) :
2828+ set -o posix ;; #(
2829+ *) :
2830+ ;;
2831+esac
2832+fi
2833+"
2834+ as_required="as_fn_return () { (exit \$1); }
2835+as_fn_success () { as_fn_return 0; }
2836+as_fn_failure () { as_fn_return 1; }
2837+as_fn_ret_success () { return 0; }
2838+as_fn_ret_failure () { return 1; }
2839+
2840+exitcode=0
2841+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
2842+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
2843+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
2844+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
2845+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
2846+
2847+else
2848+ exitcode=1; echo positional parameters were not saved.
2849+fi
2850+test x\$exitcode = x0 || exit 1"
2851+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
2852+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
2853+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
2854+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
2855+test \$(( 1 + 1 )) = 2 || exit 1"
2856+ if (eval "$as_required") 2>/dev/null; then :
2857 as_have_required=yes
2858 else
2859 as_have_required=no
2860 fi
2861-
2862- if test $as_have_required = yes && (eval ":
2863-(as_func_return () {
2864- (exit \$1)
2865-}
2866-as_func_success () {
2867- as_func_return 0
2868-}
2869-as_func_failure () {
2870- as_func_return 1
2871-}
2872-as_func_ret_success () {
2873- return 0
2874-}
2875-as_func_ret_failure () {
2876- return 1
2877-}
2878-
2879-exitcode=0
2880-if as_func_success; then
2881- :
2882-else
2883- exitcode=1
2884- echo as_func_success failed.
2885-fi
2886-
2887-if as_func_failure; then
2888- exitcode=1
2889- echo as_func_failure succeeded.
2890-fi
2891-
2892-if as_func_ret_success; then
2893- :
2894-else
2895- exitcode=1
2896- echo as_func_ret_success failed.
2897-fi
2898-
2899-if as_func_ret_failure; then
2900- exitcode=1
2901- echo as_func_ret_failure succeeded.
2902-fi
2903-
2904-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2905- :
2906-else
2907- exitcode=1
2908- echo positional parameters were not saved.
2909-fi
2910-
2911-test \$exitcode = 0) || { (exit 1); exit 1; }
2912-
2913-(
2914- as_lineno_1=\$LINENO
2915- as_lineno_2=\$LINENO
2916- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2917- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2918-") 2> /dev/null; then
2919- :
2920-else
2921- as_candidate_shells=
2922- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
2924+
2925+else
2926+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927+as_found=false
2928 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2929 do
2930 IFS=$as_save_IFS
2931 test -z "$as_dir" && as_dir=.
2932- case $as_dir in
2933+ as_found=:
2934+ case $as_dir in #(
2935 /*)
2936 for as_base in sh bash ksh sh5; do
2937- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2938+ # Try only shells that exist, to save several forks.
2939+ as_shell=$as_dir/$as_base
2940+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2941+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2942+ CONFIG_SHELL=$as_shell as_have_required=yes
2943+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2944+ break 2
2945+fi
2946+fi
2947 done;;
2948 esac
2949+ as_found=false
2950 done
2951+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2952+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2953+ CONFIG_SHELL=$SHELL as_have_required=yes
2954+fi; }
2955 IFS=$as_save_IFS
2956
2957
2958- for as_shell in $as_candidate_shells $SHELL; do
2959- # Try only shells that exist, to save several forks.
2960- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2961- { ("$as_shell") 2> /dev/null <<\_ASEOF
2962-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2963- emulate sh
2964- NULLCMD=:
2965- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2966- # is contrary to our usage. Disable this feature.
2967- alias -g '${1+"$@"}'='"$@"'
2968- setopt NO_GLOB_SUBST
2969-else
2970- case `(set -o) 2>/dev/null` in
2971- *posix*) set -o posix ;;
2972-esac
2973-
2974-fi
2975-
2976-
2977-:
2978-_ASEOF
2979-}; then
2980- CONFIG_SHELL=$as_shell
2981- as_have_required=yes
2982- if { "$as_shell" 2> /dev/null <<\_ASEOF
2983-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2984- emulate sh
2985- NULLCMD=:
2986- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2987- # is contrary to our usage. Disable this feature.
2988- alias -g '${1+"$@"}'='"$@"'
2989- setopt NO_GLOB_SUBST
2990-else
2991- case `(set -o) 2>/dev/null` in
2992- *posix*) set -o posix ;;
2993-esac
2994-
2995-fi
2996-
2997-
2998-:
2999-(as_func_return () {
3000- (exit $1)
3001-}
3002-as_func_success () {
3003- as_func_return 0
3004-}
3005-as_func_failure () {
3006- as_func_return 1
3007-}
3008-as_func_ret_success () {
3009- return 0
3010-}
3011-as_func_ret_failure () {
3012- return 1
3013-}
3014-
3015-exitcode=0
3016-if as_func_success; then
3017- :
3018-else
3019- exitcode=1
3020- echo as_func_success failed.
3021-fi
3022-
3023-if as_func_failure; then
3024- exitcode=1
3025- echo as_func_failure succeeded.
3026-fi
3027-
3028-if as_func_ret_success; then
3029- :
3030-else
3031- exitcode=1
3032- echo as_func_ret_success failed.
3033-fi
3034-
3035-if as_func_ret_failure; then
3036- exitcode=1
3037- echo as_func_ret_failure succeeded.
3038-fi
3039-
3040-if ( set x; as_func_ret_success y && test x = "$1" ); then
3041- :
3042-else
3043- exitcode=1
3044- echo positional parameters were not saved.
3045-fi
3046-
3047-test $exitcode = 0) || { (exit 1); exit 1; }
3048-
3049-(
3050- as_lineno_1=$LINENO
3051- as_lineno_2=$LINENO
3052- test "x$as_lineno_1" != "x$as_lineno_2" &&
3053- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3054-
3055-_ASEOF
3056-}; then
3057- break
3058-fi
3059-
3060-fi
3061-
3062- done
3063-
3064- if test "x$CONFIG_SHELL" != x; then
3065- for as_var in BASH_ENV ENV
3066- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3067- done
3068+ if test "x$CONFIG_SHELL" != x; then :
3069+ # We cannot yet assume a decent shell, so we have to provide a
3070+ # neutralization value for shells without unset; and this also
3071+ # works around shells that cannot unset nonexistent variables.
3072+ BASH_ENV=/dev/null
3073+ ENV=/dev/null
3074+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
3075 export CONFIG_SHELL
3076 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3077 fi
3078
3079-
3080- if test $as_have_required = no; then
3081- echo This script requires a shell more modern than all the
3082- echo shells that I found on your system. Please install a
3083- echo modern shell, or manually run the script under such a
3084- echo shell if you do have one.
3085- { (exit 1); exit 1; }
3086-fi
3087-
3088-
3089-fi
3090-
3091-fi
3092-
3093-
3094-
3095-(eval "as_func_return () {
3096- (exit \$1)
3097-}
3098-as_func_success () {
3099- as_func_return 0
3100-}
3101-as_func_failure () {
3102- as_func_return 1
3103-}
3104-as_func_ret_success () {
3105- return 0
3106-}
3107-as_func_ret_failure () {
3108- return 1
3109-}
3110-
3111-exitcode=0
3112-if as_func_success; then
3113- :
3114-else
3115- exitcode=1
3116- echo as_func_success failed.
3117-fi
3118-
3119-if as_func_failure; then
3120- exitcode=1
3121- echo as_func_failure succeeded.
3122-fi
3123-
3124-if as_func_ret_success; then
3125- :
3126-else
3127- exitcode=1
3128- echo as_func_ret_success failed.
3129-fi
3130-
3131-if as_func_ret_failure; then
3132- exitcode=1
3133- echo as_func_ret_failure succeeded.
3134-fi
3135-
3136-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
3137- :
3138-else
3139- exitcode=1
3140- echo positional parameters were not saved.
3141-fi
3142-
3143-test \$exitcode = 0") || {
3144- echo No shell found that supports shell functions.
3145- echo Please tell bug-autoconf@gnu.org about your system,
3146- echo including any error possibly output before this message.
3147- echo This can help us improve future autoconf versions.
3148- echo Configuration will now proceed without shell functions.
3149-}
3150-
3151-
3152-
3153- as_lineno_1=$LINENO
3154- as_lineno_2=$LINENO
3155- test "x$as_lineno_1" != "x$as_lineno_2" &&
3156- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3157-
3158- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3159- # uniformly replaced by the line number. The first 'sed' inserts a
3160- # line-number line after each line using $LINENO; the second 'sed'
3161- # does the real work. The second script uses 'N' to pair each
3162- # line-number line with the line containing $LINENO, and appends
3163- # trailing '-' during substitution so that $LINENO is not a special
3164- # case at line end.
3165- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3166- # scripts with optimization help from Paolo Bonzini. Blame Lee
3167- # E. McMahon (1931-1989) for sed's syntax. :-)
3168+ if test x$as_have_required = xno; then :
3169+ $as_echo "$0: This script requires a shell more modern than all"
3170+ $as_echo "$0: the shells that I found on your system."
3171+ if test x${ZSH_VERSION+set} = xset ; then
3172+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
3173+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
3174+ else
3175+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
3176+$0: http://bugzilla.gnome.org/enter_bug.cgi?product=json-glib
3177+$0: about your system, including any error possibly output
3178+$0: before this message. Then install a modern shell, or
3179+$0: manually run the script under such a shell if you do
3180+$0: have one."
3181+ fi
3182+ exit 1
3183+fi
3184+fi
3185+fi
3186+SHELL=${CONFIG_SHELL-/bin/sh}
3187+export SHELL
3188+# Unset more variables known to interfere with behavior of common tools.
3189+CLICOLOR_FORCE= GREP_OPTIONS=
3190+unset CLICOLOR_FORCE GREP_OPTIONS
3191+
3192+## --------------------- ##
3193+## M4sh Shell Functions. ##
3194+## --------------------- ##
3195+# as_fn_unset VAR
3196+# ---------------
3197+# Portably unset VAR.
3198+as_fn_unset ()
3199+{
3200+ { eval $1=; unset $1;}
3201+}
3202+as_unset=as_fn_unset
3203+
3204+# as_fn_set_status STATUS
3205+# -----------------------
3206+# Set $? to STATUS, without forking.
3207+as_fn_set_status ()
3208+{
3209+ return $1
3210+} # as_fn_set_status
3211+
3212+# as_fn_exit STATUS
3213+# -----------------
3214+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3215+as_fn_exit ()
3216+{
3217+ set +e
3218+ as_fn_set_status $1
3219+ exit $1
3220+} # as_fn_exit
3221+
3222+# as_fn_mkdir_p
3223+# -------------
3224+# Create "$as_dir" as a directory, including parents if necessary.
3225+as_fn_mkdir_p ()
3226+{
3227+
3228+ case $as_dir in #(
3229+ -*) as_dir=./$as_dir;;
3230+ esac
3231+ test -d "$as_dir" || eval $as_mkdir_p || {
3232+ as_dirs=
3233+ while :; do
3234+ case $as_dir in #(
3235+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3236+ *) as_qdir=$as_dir;;
3237+ esac
3238+ as_dirs="'$as_qdir' $as_dirs"
3239+ as_dir=`$as_dirname -- "$as_dir" ||
3240+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3241+ X"$as_dir" : 'X\(//\)[^/]' \| \
3242+ X"$as_dir" : 'X\(//\)$' \| \
3243+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3244+$as_echo X"$as_dir" |
3245+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3246+ s//\1/
3247+ q
3248+ }
3249+ /^X\(\/\/\)[^/].*/{
3250+ s//\1/
3251+ q
3252+ }
3253+ /^X\(\/\/\)$/{
3254+ s//\1/
3255+ q
3256+ }
3257+ /^X\(\/\).*/{
3258+ s//\1/
3259+ q
3260+ }
3261+ s/.*/./; q'`
3262+ test -d "$as_dir" && break
3263+ done
3264+ test -z "$as_dirs" || eval "mkdir $as_dirs"
3265+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3266+
3267+
3268+} # as_fn_mkdir_p
3269+# as_fn_append VAR VALUE
3270+# ----------------------
3271+# Append the text in VALUE to the end of the definition contained in VAR. Take
3272+# advantage of any shell optimizations that allow amortized linear growth over
3273+# repeated appends, instead of the typical quadratic growth present in naive
3274+# implementations.
3275+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3276+ eval 'as_fn_append ()
3277+ {
3278+ eval $1+=\$2
3279+ }'
3280+else
3281+ as_fn_append ()
3282+ {
3283+ eval $1=\$$1\$2
3284+ }
3285+fi # as_fn_append
3286+
3287+# as_fn_arith ARG...
3288+# ------------------
3289+# Perform arithmetic evaluation on the ARGs, and store the result in the
3290+# global $as_val. Take advantage of shells that can avoid forks. The arguments
3291+# must be portable across $(()) and expr.
3292+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3293+ eval 'as_fn_arith ()
3294+ {
3295+ as_val=$(( $* ))
3296+ }'
3297+else
3298+ as_fn_arith ()
3299+ {
3300+ as_val=`expr "$@" || test $? -eq 1`
3301+ }
3302+fi # as_fn_arith
3303+
3304+
3305+# as_fn_error ERROR [LINENO LOG_FD]
3306+# ---------------------------------
3307+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3308+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3309+# script with status $?, using 1 if that was 0.
3310+as_fn_error ()
3311+{
3312+ as_status=$?; test $as_status -eq 0 && as_status=1
3313+ if test "$3"; then
3314+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3315+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3316+ fi
3317+ $as_echo "$as_me: error: $1" >&2
3318+ as_fn_exit $as_status
3319+} # as_fn_error
3320+
3321+if expr a : '\(a\)' >/dev/null 2>&1 &&
3322+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
3323+ as_expr=expr
3324+else
3325+ as_expr=false
3326+fi
3327+
3328+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3329+ as_basename=basename
3330+else
3331+ as_basename=false
3332+fi
3333+
3334+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3335+ as_dirname=dirname
3336+else
3337+ as_dirname=false
3338+fi
3339+
3340+as_me=`$as_basename -- "$0" ||
3341+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3342+ X"$0" : 'X\(//\)$' \| \
3343+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3344+$as_echo X/"$0" |
3345+ sed '/^.*\/\([^/][^/]*\)\/*$/{
3346+ s//\1/
3347+ q
3348+ }
3349+ /^X\/\(\/\/\)$/{
3350+ s//\1/
3351+ q
3352+ }
3353+ /^X\/\(\/\).*/{
3354+ s//\1/
3355+ q
3356+ }
3357+ s/.*/./; q'`
3358+
3359+# Avoid depending upon Character Ranges.
3360+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3361+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3362+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3363+as_cr_digits='0123456789'
3364+as_cr_alnum=$as_cr_Letters$as_cr_digits
3365+
3366+
3367+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
3368+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
3369+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
3370+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
3371+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
3372 sed -n '
3373 p
3374 /[$]LINENO/=
3375@@ -473,8 +443,7 @@
3376 s/-\n.*//
3377 ' >$as_me.lineno &&
3378 chmod +x "$as_me.lineno" ||
3379- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3380- { (exit 1); exit 1; }; }
3381+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
3382
3383 # Don't try to exec as it changes $[0], causing all sort of problems
3384 # (the dirname of $[0] is not the place where we might find the
3385@@ -484,29 +453,18 @@
3386 exit
3387 }
3388
3389-
3390-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3391- as_dirname=dirname
3392-else
3393- as_dirname=false
3394-fi
3395-
3396 ECHO_C= ECHO_N= ECHO_T=
3397-case `echo -n x` in
3398+case `echo -n x` in #(((((
3399 -n*)
3400- case `echo 'x\c'` in
3401+ case `echo 'xy\c'` in
3402 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3403- *) ECHO_C='\c';;
3404+ xy) ECHO_C='\c';;
3405+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3406+ ECHO_T=' ';;
3407 esac;;
3408 *)
3409 ECHO_N='-n';;
3410 esac
3411-if expr a : '\(a\)' >/dev/null 2>&1 &&
3412- test "X`expr 00001 : '.*\(...\)'`" = X001; then
3413- as_expr=expr
3414-else
3415- as_expr=false
3416-fi
3417
3418 rm -f conf$$ conf$$.exe conf$$.file
3419 if test -d conf$$.dir; then
3420@@ -536,7 +494,7 @@
3421 rmdir conf$$.dir 2>/dev/null
3422
3423 if mkdir -p . 2>/dev/null; then
3424- as_mkdir_p=:
3425+ as_mkdir_p='mkdir -p "$as_dir"'
3426 else
3427 test -d ./-p && rmdir ./-p
3428 as_mkdir_p=false
3429@@ -555,10 +513,10 @@
3430 if test -d "$1"; then
3431 test -d "$1/.";
3432 else
3433- case $1 in
3434+ case $1 in #(
3435 -*)set "./$1";;
3436 esac;
3437- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3438+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3439 ???[sx]*):;;*)false;;esac;fi
3440 '\'' sh
3441 '
3442@@ -573,7 +531,6 @@
3443
3444
3445
3446-
3447 # Check that we are running under the correct shell.
3448 SHELL=${CONFIG_SHELL-/bin/sh}
3449
3450@@ -722,7 +679,8 @@
3451
3452
3453
3454-exec 7<&0 </dev/null 6>&1
3455+test -n "$DJDIR" || exec 7<&0 </dev/null
3456+exec 6>&1
3457
3458 # Name of the host.
3459 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3460@@ -740,14 +698,14 @@
3461 subdirs=
3462 MFLAGS=
3463 MAKEFLAGS=
3464-SHELL=${CONFIG_SHELL-/bin/sh}
3465
3466 # Identity of this package.
3467 PACKAGE_NAME='json-glib'
3468 PACKAGE_TARNAME='json-glib'
3469-PACKAGE_VERSION='0.10.2'
3470-PACKAGE_STRING='json-glib 0.10.2'
3471-PACKAGE_BUGREPORT='http://bugzilla.openedhand.com/enter_bug.cgi?product=json-glib'
3472+PACKAGE_VERSION='0.12.0'
3473+PACKAGE_STRING='json-glib 0.12.0'
3474+PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=json-glib'
3475+PACKAGE_URL=''
3476
3477 ac_unique_file="json-glib/json-glib.h"
3478 # Factoring default headers for most tests.
3479@@ -789,23 +747,35 @@
3480 ac_subst_vars='am__EXEEXT_FALSE
3481 am__EXEEXT_TRUE
3482 LTLIBOBJS
3483-USE_SHAVE_FALSE
3484-USE_SHAVE_TRUE
3485-AM_BACKSLASH
3486-AM_DEFAULT_VERBOSITY
3487+LIBOBJS
3488 HAVE_INTROSPECTION_FALSE
3489 HAVE_INTROSPECTION_TRUE
3490+INTROSPECTION_MAKEFILE
3491+INTROSPECTION_LIBS
3492+INTROSPECTION_CFLAGS
3493 INTROSPECTION_TYPELIBDIR
3494 INTROSPECTION_GIRDIR
3495 INTROSPECTION_GENERATE
3496 INTROSPECTION_COMPILER
3497 INTROSPECTION_SCANNER
3498+GTK_DOC_USE_REBASE_FALSE
3499+GTK_DOC_USE_REBASE_TRUE
3500 GTK_DOC_USE_LIBTOOL_FALSE
3501 GTK_DOC_USE_LIBTOOL_TRUE
3502+GTK_DOC_BUILD_PDF_FALSE
3503+GTK_DOC_BUILD_PDF_TRUE
3504+GTK_DOC_BUILD_HTML_FALSE
3505+GTK_DOC_BUILD_HTML_TRUE
3506 ENABLE_GTK_DOC_FALSE
3507 ENABLE_GTK_DOC_TRUE
3508+HTML_DIR
3509+GTKDOC_MKPDF
3510+GTKDOC_REBASE
3511 GTKDOC_CHECK
3512-HTML_DIR
3513+GCOV_LDFLAGS
3514+GCOV_CFLAGS
3515+GCOV_ENABLED_FALSE
3516+GCOV_ENABLED_TRUE
3517 MAINTAINER_CFLAGS
3518 JSON_DEBUG_CFLAGS
3519 ENABLE_GLIB_TEST_FALSE
3520@@ -813,7 +783,6 @@
3521 JSON_LIBS
3522 JSON_CFLAGS
3523 GLIB_PREFIX
3524-LIBOBJS
3525 JSON_LT_LDFLAGS
3526 JSON_RELEASE_STATUS
3527 JSON_VERSION
3528@@ -870,6 +839,8 @@
3529 CFLAGS
3530 CC
3531 PKG_CONFIG
3532+AM_BACKSLASH
3533+AM_DEFAULT_VERBOSITY
3534 am__untar
3535 am__tar
3536 AMTAR
3537@@ -923,6 +894,7 @@
3538 program_transform_name
3539 prefix
3540 exec_prefix
3541+PACKAGE_URL
3542 PACKAGE_BUGREPORT
3543 PACKAGE_STRING
3544 PACKAGE_VERSION
3545@@ -933,9 +905,10 @@
3546 ac_subst_files=''
3547 ac_user_opts='
3548 enable_option_checking
3549-enable_static
3550+enable_silent_rules
3551 enable_glibtest
3552 enable_dependency_tracking
3553+enable_static
3554 enable_shared
3555 with_pic
3556 enable_fast_install
3557@@ -943,10 +916,12 @@
3558 enable_libtool_lock
3559 enable_debug
3560 enable_maintainer_flags
3561+enable_gcov
3562 with_html_dir
3563 enable_gtk_doc
3564+enable_gtk_doc_html
3565+enable_gtk_doc_pdf
3566 enable_introspection
3567-enable_silent_rules
3568 '
3569 ac_precious_vars='build_alias
3570 host_alias
3571@@ -1068,8 +1043,7 @@
3572 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3573 # Reject names that are not valid shell variable names.
3574 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3575- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
3576- { (exit 1); exit 1; }; }
3577+ as_fn_error "invalid feature name: $ac_useropt"
3578 ac_useropt_orig=$ac_useropt
3579 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3580 case $ac_user_opts in
3581@@ -1095,8 +1069,7 @@
3582 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3583 # Reject names that are not valid shell variable names.
3584 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3585- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
3586- { (exit 1); exit 1; }; }
3587+ as_fn_error "invalid feature name: $ac_useropt"
3588 ac_useropt_orig=$ac_useropt
3589 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3590 case $ac_user_opts in
3591@@ -1300,8 +1273,7 @@
3592 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3593 # Reject names that are not valid shell variable names.
3594 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3595- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
3596- { (exit 1); exit 1; }; }
3597+ as_fn_error "invalid package name: $ac_useropt"
3598 ac_useropt_orig=$ac_useropt
3599 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3600 case $ac_user_opts in
3601@@ -1317,8 +1289,7 @@
3602 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3603 # Reject names that are not valid shell variable names.
3604 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
3605- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
3606- { (exit 1); exit 1; }; }
3607+ as_fn_error "invalid package name: $ac_useropt"
3608 ac_useropt_orig=$ac_useropt
3609 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
3610 case $ac_user_opts in
3611@@ -1348,17 +1319,17 @@
3612 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
3613 x_libraries=$ac_optarg ;;
3614
3615- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
3616-Try \`$0 --help' for more information." >&2
3617- { (exit 1); exit 1; }; }
3618+ -*) as_fn_error "unrecognized option: \`$ac_option'
3619+Try \`$0 --help' for more information."
3620 ;;
3621
3622 *=*)
3623 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
3624 # Reject names that are not valid shell variable names.
3625- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
3626- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
3627- { (exit 1); exit 1; }; }
3628+ case $ac_envvar in #(
3629+ '' | [0-9]* | *[!_$as_cr_alnum]* )
3630+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
3631+ esac
3632 eval $ac_envvar=\$ac_optarg
3633 export $ac_envvar ;;
3634
3635@@ -1375,15 +1346,13 @@
3636
3637 if test -n "$ac_prev"; then
3638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
3639- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
3640- { (exit 1); exit 1; }; }
3641+ as_fn_error "missing argument to $ac_option"
3642 fi
3643
3644 if test -n "$ac_unrecognized_opts"; then
3645 case $enable_option_checking in
3646 no) ;;
3647- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
3648- { (exit 1); exit 1; }; } ;;
3649+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
3650 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
3651 esac
3652 fi
3653@@ -1406,8 +1375,7 @@
3654 [\\/$]* | ?:[\\/]* ) continue;;
3655 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
3656 esac
3657- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3658- { (exit 1); exit 1; }; }
3659+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
3660 done
3661
3662 # There might be people who depend on the old broken behavior: `$host'
3663@@ -1437,11 +1405,9 @@
3664 ac_pwd=`pwd` && test -n "$ac_pwd" &&
3665 ac_ls_di=`ls -di .` &&
3666 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
3667- { $as_echo "$as_me: error: working directory cannot be determined" >&2
3668- { (exit 1); exit 1; }; }
3669+ as_fn_error "working directory cannot be determined"
3670 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
3671- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
3672- { (exit 1); exit 1; }; }
3673+ as_fn_error "pwd does not report name of working directory"
3674
3675
3676 # Find the source files, if location was not specified.
3677@@ -1480,13 +1446,11 @@
3678 fi
3679 if test ! -r "$srcdir/$ac_unique_file"; then
3680 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
3681- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3682- { (exit 1); exit 1; }; }
3683+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
3684 fi
3685 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
3686 ac_abs_confdir=`(
3687- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
3688- { (exit 1); exit 1; }; }
3689+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
3690 pwd)`
3691 # When building in place, set srcdir=.
3692 if test "$ac_abs_confdir" = "$ac_pwd"; then
3693@@ -1512,7 +1476,7 @@
3694 # Omit some internal or obsolete options to make the list less imposing.
3695 # This message is too long to be a string in the A/UX 3.1 sh.
3696 cat <<_ACEOF
3697-\`configure' configures json-glib 0.10.2 to adapt to many kinds of systems.
3698+\`configure' configures json-glib 0.12.0 to adapt to many kinds of systems.
3699
3700 Usage: $0 [OPTION]... [VAR=VALUE]...
3701
3702@@ -1582,7 +1546,7 @@
3703
3704 if test -n "$ac_init_help"; then
3705 case $ac_init_help in
3706- short | recursive ) echo "Configuration of json-glib 0.10.2:";;
3707+ short | recursive ) echo "Configuration of json-glib 0.12.0:";;
3708 esac
3709 cat <<\_ACEOF
3710
3711@@ -1590,10 +1554,12 @@
3712 --disable-option-checking ignore unrecognized --enable/--with options
3713 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3714 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
3715- --enable-static[=PKGS] build static libraries [default=no]
3716+ --enable-silent-rules less verbose build output (undo: `make V=1')
3717+ --disable-silent-rules verbose build output (undo: `make V=0')
3718 --disable-glibtest do not try to compile and run a test GLIB program
3719 --disable-dependency-tracking speeds up one-time build
3720 --enable-dependency-tracking do not reject slow dependency extractors
3721+ --enable-static[=PKGS] build static libraries [default=no]
3722 --enable-shared[=PKGS] build shared libraries [default=yes]
3723 --enable-fast-install[=PKGS]
3724 optimize for fast installation [default=yes]
3725@@ -1603,11 +1569,13 @@
3726 --enable-maintainer-flags=[no/yes]
3727 Use strict compiler flags
3728 [default=maintainer_flags_default]
3729- --enable-gtk-doc use gtk-doc to build documentation [default=no]
3730+ --enable-gcov Whether to enable coverage testing (requires gcc and
3731+ gcov)
3732+ --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
3733+ --enable-gtk-doc-html build documentation in html format [[default=yes]]
3734+ --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
3735 --enable-introspection=[no/auto/yes]
3736 Enable introspection for this build
3737- --enable-silent-rules less verbose build output (undo: `make V=1')
3738- --disable-silent-rules verbose build output (undo: `make V=0')
3739
3740 Optional Packages:
3741 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3742@@ -1624,7 +1592,7 @@
3743 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
3744 nonstandard directory <lib dir>
3745 LIBS libraries to pass to the linker, e.g. -l<library>
3746- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
3747+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
3748 you have headers in a nonstandard directory <include dir>
3749 CPP C preprocessor
3750 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
3751@@ -1633,7 +1601,7 @@
3752 Use these variables to override the choices made by `configure' or to help
3753 it to find libraries and programs with nonstandard names/locations.
3754
3755-Report bugs to <http://bugzilla.openedhand.com/enter_bug.cgi?product=json-glib>.
3756+Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=json-glib>.
3757 _ACEOF
3758 ac_status=$?
3759 fi
3760@@ -1696,22 +1664,286 @@
3761 test -n "$ac_init_help" && exit $ac_status
3762 if $ac_init_version; then
3763 cat <<\_ACEOF
3764-json-glib configure 0.10.2
3765-generated by GNU Autoconf 2.63
3766+json-glib configure 0.12.0
3767+generated by GNU Autoconf 2.65
3768
3769-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3770-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3771+Copyright (C) 2009 Free Software Foundation, Inc.
3772 This configure script is free software; the Free Software Foundation
3773 gives unlimited permission to copy, distribute and modify it.
3774 _ACEOF
3775 exit
3776 fi
3777+
3778+## ------------------------ ##
3779+## Autoconf initialization. ##
3780+## ------------------------ ##
3781+
3782+# ac_fn_c_try_compile LINENO
3783+# --------------------------
3784+# Try to compile conftest.$ac_ext, and return whether this succeeded.
3785+ac_fn_c_try_compile ()
3786+{
3787+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3788+ rm -f conftest.$ac_objext
3789+ if { { ac_try="$ac_compile"
3790+case "(($ac_try" in
3791+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792+ *) ac_try_echo=$ac_try;;
3793+esac
3794+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795+$as_echo "$ac_try_echo"; } >&5
3796+ (eval "$ac_compile") 2>conftest.err
3797+ ac_status=$?
3798+ if test -s conftest.err; then
3799+ grep -v '^ *+' conftest.err >conftest.er1
3800+ cat conftest.er1 >&5
3801+ mv -f conftest.er1 conftest.err
3802+ fi
3803+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804+ test $ac_status = 0; } && {
3805+ test -z "$ac_c_werror_flag" ||
3806+ test ! -s conftest.err
3807+ } && test -s conftest.$ac_objext; then :
3808+ ac_retval=0
3809+else
3810+ $as_echo "$as_me: failed program was:" >&5
3811+sed 's/^/| /' conftest.$ac_ext >&5
3812+
3813+ ac_retval=1
3814+fi
3815+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3816+ as_fn_set_status $ac_retval
3817+
3818+} # ac_fn_c_try_compile
3819+
3820+# ac_fn_c_try_run LINENO
3821+# ----------------------
3822+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3823+# that executables *can* be run.
3824+ac_fn_c_try_run ()
3825+{
3826+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3827+ if { { ac_try="$ac_link"
3828+case "(($ac_try" in
3829+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830+ *) ac_try_echo=$ac_try;;
3831+esac
3832+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833+$as_echo "$ac_try_echo"; } >&5
3834+ (eval "$ac_link") 2>&5
3835+ ac_status=$?
3836+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3838+ { { case "(($ac_try" in
3839+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840+ *) ac_try_echo=$ac_try;;
3841+esac
3842+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843+$as_echo "$ac_try_echo"; } >&5
3844+ (eval "$ac_try") 2>&5
3845+ ac_status=$?
3846+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3847+ test $ac_status = 0; }; }; then :
3848+ ac_retval=0
3849+else
3850+ $as_echo "$as_me: program exited with status $ac_status" >&5
3851+ $as_echo "$as_me: failed program was:" >&5
3852+sed 's/^/| /' conftest.$ac_ext >&5
3853+
3854+ ac_retval=$ac_status
3855+fi
3856+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3857+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3858+ as_fn_set_status $ac_retval
3859+
3860+} # ac_fn_c_try_run
3861+
3862+# ac_fn_c_try_link LINENO
3863+# -----------------------
3864+# Try to link conftest.$ac_ext, and return whether this succeeded.
3865+ac_fn_c_try_link ()
3866+{
3867+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3868+ rm -f conftest.$ac_objext conftest$ac_exeext
3869+ if { { ac_try="$ac_link"
3870+case "(($ac_try" in
3871+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872+ *) ac_try_echo=$ac_try;;
3873+esac
3874+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875+$as_echo "$ac_try_echo"; } >&5
3876+ (eval "$ac_link") 2>conftest.err
3877+ ac_status=$?
3878+ if test -s conftest.err; then
3879+ grep -v '^ *+' conftest.err >conftest.er1
3880+ cat conftest.er1 >&5
3881+ mv -f conftest.er1 conftest.err
3882+ fi
3883+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884+ test $ac_status = 0; } && {
3885+ test -z "$ac_c_werror_flag" ||
3886+ test ! -s conftest.err
3887+ } && test -s conftest$ac_exeext && {
3888+ test "$cross_compiling" = yes ||
3889+ $as_test_x conftest$ac_exeext
3890+ }; then :
3891+ ac_retval=0
3892+else
3893+ $as_echo "$as_me: failed program was:" >&5
3894+sed 's/^/| /' conftest.$ac_ext >&5
3895+
3896+ ac_retval=1
3897+fi
3898+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3899+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3900+ # interfere with the next link command; also delete a directory that is
3901+ # left behind by Apple's compiler. We do this before executing the actions.
3902+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3903+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3904+ as_fn_set_status $ac_retval
3905+
3906+} # ac_fn_c_try_link
3907+
3908+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3909+# -------------------------------------------------------
3910+# Tests whether HEADER exists and can be compiled using the include files in
3911+# INCLUDES, setting the cache variable VAR accordingly.
3912+ac_fn_c_check_header_compile ()
3913+{
3914+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3915+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3916+$as_echo_n "checking for $2... " >&6; }
3917+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3918+ $as_echo_n "(cached) " >&6
3919+else
3920+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921+/* end confdefs.h. */
3922+$4
3923+#include <$2>
3924+_ACEOF
3925+if ac_fn_c_try_compile "$LINENO"; then :
3926+ eval "$3=yes"
3927+else
3928+ eval "$3=no"
3929+fi
3930+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931+fi
3932+eval ac_res=\$$3
3933+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3934+$as_echo "$ac_res" >&6; }
3935+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3936+
3937+} # ac_fn_c_check_header_compile
3938+
3939+# ac_fn_c_try_cpp LINENO
3940+# ----------------------
3941+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3942+ac_fn_c_try_cpp ()
3943+{
3944+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3945+ if { { ac_try="$ac_cpp conftest.$ac_ext"
3946+case "(($ac_try" in
3947+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948+ *) ac_try_echo=$ac_try;;
3949+esac
3950+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951+$as_echo "$ac_try_echo"; } >&5
3952+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3953+ ac_status=$?
3954+ if test -s conftest.err; then
3955+ grep -v '^ *+' conftest.err >conftest.er1
3956+ cat conftest.er1 >&5
3957+ mv -f conftest.er1 conftest.err
3958+ fi
3959+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3960+ test $ac_status = 0; } >/dev/null && {
3961+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3962+ test ! -s conftest.err
3963+ }; then :
3964+ ac_retval=0
3965+else
3966+ $as_echo "$as_me: failed program was:" >&5
3967+sed 's/^/| /' conftest.$ac_ext >&5
3968+
3969+ ac_retval=1
3970+fi
3971+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3972+ as_fn_set_status $ac_retval
3973+
3974+} # ac_fn_c_try_cpp
3975+
3976+# ac_fn_c_check_func LINENO FUNC VAR
3977+# ----------------------------------
3978+# Tests whether FUNC exists, setting the cache variable VAR accordingly
3979+ac_fn_c_check_func ()
3980+{
3981+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3982+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3983+$as_echo_n "checking for $2... " >&6; }
3984+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3985+ $as_echo_n "(cached) " >&6
3986+else
3987+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988+/* end confdefs.h. */
3989+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3990+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
3991+#define $2 innocuous_$2
3992+
3993+/* System header to define __stub macros and hopefully few prototypes,
3994+ which can conflict with char $2 (); below.
3995+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3996+ <limits.h> exists even on freestanding compilers. */
3997+
3998+#ifdef __STDC__
3999+# include <limits.h>
4000+#else
4001+# include <assert.h>
4002+#endif
4003+
4004+#undef $2
4005+
4006+/* Override any GCC internal prototype to avoid an error.
4007+ Use char because int might match the return type of a GCC
4008+ builtin and then its argument prototype would still apply. */
4009+#ifdef __cplusplus
4010+extern "C"
4011+#endif
4012+char $2 ();
4013+/* The GNU C library defines this for functions which it implements
4014+ to always fail with ENOSYS. Some functions are actually named
4015+ something starting with __ and the normal name is an alias. */
4016+#if defined __stub_$2 || defined __stub___$2
4017+choke me
4018+#endif
4019+
4020+int
4021+main ()
4022+{
4023+return $2 ();
4024+ ;
4025+ return 0;
4026+}
4027+_ACEOF
4028+if ac_fn_c_try_link "$LINENO"; then :
4029+ eval "$3=yes"
4030+else
4031+ eval "$3=no"
4032+fi
4033+rm -f core conftest.err conftest.$ac_objext \
4034+ conftest$ac_exeext conftest.$ac_ext
4035+fi
4036+eval ac_res=\$$3
4037+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4038+$as_echo "$ac_res" >&6; }
4039+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
4040+
4041+} # ac_fn_c_check_func
4042 cat >config.log <<_ACEOF
4043 This file contains any messages produced by compilers while
4044 running configure, to aid debugging if configure makes a mistake.
4045
4046-It was created by json-glib $as_me 0.10.2, which was
4047-generated by GNU Autoconf 2.63. Invocation command line was
4048+It was created by json-glib $as_me 0.12.0, which was
4049+generated by GNU Autoconf 2.65. Invocation command line was
4050
4051 $ $0 $@
4052
4053@@ -1747,8 +1979,8 @@
4054 do
4055 IFS=$as_save_IFS
4056 test -z "$as_dir" && as_dir=.
4057- $as_echo "PATH: $as_dir"
4058-done
4059+ $as_echo "PATH: $as_dir"
4060+ done
4061 IFS=$as_save_IFS
4062
4063 } >&5
4064@@ -1785,9 +2017,9 @@
4065 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4066 esac
4067 case $ac_pass in
4068- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
4069+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
4070 2)
4071- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
4072+ as_fn_append ac_configure_args1 " '$ac_arg'"
4073 if test $ac_must_keep_next = true; then
4074 ac_must_keep_next=false # Got value, back to normal.
4075 else
4076@@ -1803,13 +2035,13 @@
4077 -* ) ac_must_keep_next=true ;;
4078 esac
4079 fi
4080- ac_configure_args="$ac_configure_args '$ac_arg'"
4081+ as_fn_append ac_configure_args " '$ac_arg'"
4082 ;;
4083 esac
4084 done
4085 done
4086-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
4087-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
4088+{ ac_configure_args0=; unset ac_configure_args0;}
4089+{ ac_configure_args1=; unset ac_configure_args1;}
4090
4091 # When interrupted or exit'd, cleanup temporary files, and complete
4092 # config.log. We remove comments because anyway the quotes in there
4093@@ -1834,13 +2066,13 @@
4094 case $ac_val in #(
4095 *${as_nl}*)
4096 case $ac_var in #(
4097- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4098+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4099 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4100 esac
4101 case $ac_var in #(
4102 _ | IFS | as_nl) ;; #(
4103 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4104- *) $as_unset $ac_var ;;
4105+ *) { eval $ac_var=; unset $ac_var;} ;;
4106 esac ;;
4107 esac
4108 done
4109@@ -1912,39 +2144,41 @@
4110 exit $exit_status
4111 ' 0
4112 for ac_signal in 1 2 13 15; do
4113- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
4114+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
4115 done
4116 ac_signal=0
4117
4118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
4119 rm -f -r conftest* confdefs.h
4120
4121+$as_echo "/* confdefs.h */" > confdefs.h
4122+
4123 # Predefined preprocessor variables.
4124
4125 cat >>confdefs.h <<_ACEOF
4126 #define PACKAGE_NAME "$PACKAGE_NAME"
4127 _ACEOF
4128
4129-
4130 cat >>confdefs.h <<_ACEOF
4131 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
4132 _ACEOF
4133
4134-
4135 cat >>confdefs.h <<_ACEOF
4136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
4137 _ACEOF
4138
4139-
4140 cat >>confdefs.h <<_ACEOF
4141 #define PACKAGE_STRING "$PACKAGE_STRING"
4142 _ACEOF
4143
4144-
4145 cat >>confdefs.h <<_ACEOF
4146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
4147 _ACEOF
4148
4149+cat >>confdefs.h <<_ACEOF
4150+#define PACKAGE_URL "$PACKAGE_URL"
4151+_ACEOF
4152+
4153
4154 # Let the site file select an alternate cache file if it wants to.
4155 # Prefer an explicitly selected file to automatically selected ones.
4156@@ -1962,8 +2196,8 @@
4157 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4158 do
4159 test "x$ac_site_file" = xNONE && continue
4160- if test -r "$ac_site_file"; then
4161- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
4162+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
4163+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
4164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
4165 sed 's/^/| /' "$ac_site_file" >&5
4166 . "$ac_site_file"
4167@@ -1971,10 +2205,10 @@
4168 done
4169
4170 if test -r "$cache_file"; then
4171- # Some versions of bash will fail to source /dev/null (special
4172- # files actually), so we avoid doing that.
4173- if test -f "$cache_file"; then
4174- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
4175+ # Some versions of bash will fail to source /dev/null (special files
4176+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
4177+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
4178+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
4179 $as_echo "$as_me: loading cache $cache_file" >&6;}
4180 case $cache_file in
4181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
4182@@ -1982,7 +2216,7 @@
4183 esac
4184 fi
4185 else
4186- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
4187+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4188 $as_echo "$as_me: creating cache $cache_file" >&6;}
4189 >$cache_file
4190 fi
4191@@ -1997,11 +2231,11 @@
4192 eval ac_new_val=\$ac_env_${ac_var}_value
4193 case $ac_old_set,$ac_new_set in
4194 set,)
4195- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4196+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4197 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4198 ac_cache_corrupted=: ;;
4199 ,set)
4200- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
4201+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4202 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4203 ac_cache_corrupted=: ;;
4204 ,);;
4205@@ -2011,17 +2245,17 @@
4206 ac_old_val_w=`echo x $ac_old_val`
4207 ac_new_val_w=`echo x $ac_new_val`
4208 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4209- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4210+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4211 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4212 ac_cache_corrupted=:
4213 else
4214- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4215+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4216 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4217 eval $ac_var=\$ac_old_val
4218 fi
4219- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
4220+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4221 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
4222- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
4223+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4224 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
4225 fi;;
4226 esac
4227@@ -2033,43 +2267,20 @@
4228 esac
4229 case " $ac_configure_args " in
4230 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4231- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
4232+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4233 esac
4234 fi
4235 done
4236 if $ac_cache_corrupted; then
4237- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4238+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
4241+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4242 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4243- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
4244-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
4245- { (exit 1); exit 1; }; }
4246+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
4247 fi
4248-
4249-
4250-
4251-
4252-
4253-
4254-
4255-
4256-
4257-
4258-
4259-
4260-
4261-
4262-
4263-
4264-
4265-
4266-
4267-
4268-
4269-
4270-
4271-
4272+## -------------------- ##
4273+## Main body of script. ##
4274+## -------------------- ##
4275
4276 ac_ext=c
4277 ac_cpp='$CPP $CPPFLAGS'
4278@@ -2079,6 +2290,8 @@
4279
4280
4281
4282+ac_config_headers="$ac_config_headers config.h"
4283+
4284
4285
4286
4287@@ -2086,24 +2299,16 @@
4288
4289 ac_aux_dir=
4290 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4291- if test -f "$ac_dir/install-sh"; then
4292- ac_aux_dir=$ac_dir
4293- ac_install_sh="$ac_aux_dir/install-sh -c"
4294- break
4295- elif test -f "$ac_dir/install.sh"; then
4296- ac_aux_dir=$ac_dir
4297- ac_install_sh="$ac_aux_dir/install.sh -c"
4298- break
4299- elif test -f "$ac_dir/shtool"; then
4300- ac_aux_dir=$ac_dir
4301- ac_install_sh="$ac_aux_dir/shtool install -c"
4302- break
4303- fi
4304+ for ac_t in install-sh install.sh shtool; do
4305+ if test -f "$ac_dir/$ac_t"; then
4306+ ac_aux_dir=$ac_dir
4307+ ac_install_sh="$ac_aux_dir/$ac_t -c"
4308+ break 2
4309+ fi
4310+ done
4311 done
4312 if test -z "$ac_aux_dir"; then
4313- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4314-$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4315- { (exit 1); exit 1; }; }
4316+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4317 fi
4318
4319 # These three variables are undocumented and unsupported,
4320@@ -2129,10 +2334,10 @@
4321 # OS/2's system install, which has a completely different semantic
4322 # ./install, which can be erroneously created by make from ./install.sh.
4323 # Reject install programs that cannot install multiple files.
4324-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4325+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4326 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4327 if test -z "$INSTALL"; then
4328-if test "${ac_cv_path_install+set}" = set; then
4329+if test "${ac_cv_path_install+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333@@ -2140,11 +2345,11 @@
4334 do
4335 IFS=$as_save_IFS
4336 test -z "$as_dir" && as_dir=.
4337- # Account for people who put trailing slashes in PATH elements.
4338-case $as_dir/ in
4339- ./ | .// | /cC/* | \
4340+ # Account for people who put trailing slashes in PATH elements.
4341+case $as_dir/ in #((
4342+ ./ | .// | /[cC]/* | \
4343 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4344- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4345+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4346 /usr/ucb/* ) ;;
4347 *)
4348 # OSF1 and SCO ODT 3.0 have their own names for install.
4349@@ -2181,7 +2386,7 @@
4350 ;;
4351 esac
4352
4353-done
4354+ done
4355 IFS=$as_save_IFS
4356
4357 rm -rf conftest.one conftest.two conftest.dir
4358@@ -2197,7 +2402,7 @@
4359 INSTALL=$ac_install_sh
4360 fi
4361 fi
4362-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4363+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4364 $as_echo "$INSTALL" >&6; }
4365
4366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4367@@ -2208,7 +2413,7 @@
4368
4369 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4370
4371-{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
4372+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4373 $as_echo_n "checking whether build environment is sane... " >&6; }
4374 # Just in case
4375 sleep 1
4376@@ -2219,15 +2424,11 @@
4377 '
4378 case `pwd` in
4379 *[\\\"\#\$\&\'\`$am_lf]*)
4380- { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
4381-$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
4382- { (exit 1); exit 1; }; };;
4383+ as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
4384 esac
4385 case $srcdir in
4386 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4387- { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
4388-$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
4389- { (exit 1); exit 1; }; };;
4390+ as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4391 esac
4392
4393 # Do `set' in a subshell so we don't clobber the current shell's
4394@@ -2249,11 +2450,8 @@
4395 # if, for instance, CONFIG_SHELL is bash and it inherits a
4396 # broken ls alias from the environment. This has actually
4397 # happened. Such a system could not be considered "sane".
4398- { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
4399-alias in your environment" >&5
4400-$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
4401-alias in your environment" >&2;}
4402- { (exit 1); exit 1; }; }
4403+ as_fn_error "ls -t appears to fail. Make sure there is not a broken
4404+alias in your environment" "$LINENO" 5
4405 fi
4406
4407 test "$2" = conftest.file
4408@@ -2262,13 +2460,10 @@
4409 # Ok.
4410 :
4411 else
4412- { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
4413-Check your system clock" >&5
4414-$as_echo "$as_me: error: newly created file is older than distributed files!
4415-Check your system clock" >&2;}
4416- { (exit 1); exit 1; }; }
4417+ as_fn_error "newly created file is older than distributed files!
4418+Check your system clock" "$LINENO" 5
4419 fi
4420-{ $as_echo "$as_me:$LINENO: result: yes" >&5
4421+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4422 $as_echo "yes" >&6; }
4423 test "$program_prefix" != NONE &&
4424 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4425@@ -2296,7 +2491,7 @@
4426 am_missing_run="$MISSING --run "
4427 else
4428 am_missing_run=
4429- { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4430+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4431 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4432 fi
4433
4434@@ -2317,9 +2512,9 @@
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4437 set dummy ${ac_tool_prefix}strip; ac_word=$2
4438-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4439+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441-if test "${ac_cv_prog_STRIP+set}" = set; then
4442+if test "${ac_cv_prog_STRIP+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$STRIP"; then
4446@@ -2330,24 +2525,24 @@
4447 do
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450- for ac_exec_ext in '' $ac_executable_extensions; do
4451+ for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4454- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4455+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 break 2
4457 fi
4458 done
4459-done
4460+ done
4461 IFS=$as_save_IFS
4462
4463 fi
4464 fi
4465 STRIP=$ac_cv_prog_STRIP
4466 if test -n "$STRIP"; then
4467- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4468+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4469 $as_echo "$STRIP" >&6; }
4470 else
4471- { $as_echo "$as_me:$LINENO: result: no" >&5
4472+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4474 fi
4475
4476@@ -2357,9 +2552,9 @@
4477 ac_ct_STRIP=$STRIP
4478 # Extract the first word of "strip", so it can be a program name with args.
4479 set dummy strip; ac_word=$2
4480-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4481+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4484+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 if test -n "$ac_ct_STRIP"; then
4488@@ -2370,24 +2565,24 @@
4489 do
4490 IFS=$as_save_IFS
4491 test -z "$as_dir" && as_dir=.
4492- for ac_exec_ext in '' $ac_executable_extensions; do
4493+ for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_STRIP="strip"
4496- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4499 fi
4500 done
4501-done
4502+ done
4503 IFS=$as_save_IFS
4504
4505 fi
4506 fi
4507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4508 if test -n "$ac_ct_STRIP"; then
4509- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4510+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4511 $as_echo "$ac_ct_STRIP" >&6; }
4512 else
4513- { $as_echo "$as_me:$LINENO: result: no" >&5
4514+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4516 fi
4517
4518@@ -2396,7 +2591,7 @@
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4523+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527@@ -2409,10 +2604,10 @@
4528 fi
4529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4530
4531-{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
4532+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4534 if test -z "$MKDIR_P"; then
4535- if test "${ac_cv_path_mkdir+set}" = set; then
4536+ if test "${ac_cv_path_mkdir+set}" = set; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540@@ -2420,7 +2615,7 @@
4541 do
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544- for ac_prog in mkdir gmkdir; do
4545+ for ac_prog in mkdir gmkdir; do
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4548 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4549@@ -2432,11 +2627,12 @@
4550 esac
4551 done
4552 done
4553-done
4554+ done
4555 IFS=$as_save_IFS
4556
4557 fi
4558
4559+ test -d ./--version && rmdir ./--version
4560 if test "${ac_cv_path_mkdir+set}" = set; then
4561 MKDIR_P="$ac_cv_path_mkdir -p"
4562 else
4563@@ -2444,11 +2640,10 @@
4564 # value for MKDIR_P within a source directory, because that will
4565 # break other packages using the cache if that directory is
4566 # removed, or if the value is a relative name.
4567- test -d ./--version && rmdir ./--version
4568 MKDIR_P="$ac_install_sh -d"
4569 fi
4570 fi
4571-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
4572+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4573 $as_echo "$MKDIR_P" >&6; }
4574
4575 mkdir_p="$MKDIR_P"
4576@@ -2461,9 +2656,9 @@
4577 do
4578 # Extract the first word of "$ac_prog", so it can be a program name with args.
4579 set dummy $ac_prog; ac_word=$2
4580-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4581+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582 $as_echo_n "checking for $ac_word... " >&6; }
4583-if test "${ac_cv_prog_AWK+set}" = set; then
4584+if test "${ac_cv_prog_AWK+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4586 else
4587 if test -n "$AWK"; then
4588@@ -2474,24 +2669,24 @@
4589 do
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592- for ac_exec_ext in '' $ac_executable_extensions; do
4593+ for ac_exec_ext in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_AWK="$ac_prog"
4596- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 break 2
4599 fi
4600 done
4601-done
4602+ done
4603 IFS=$as_save_IFS
4604
4605 fi
4606 fi
4607 AWK=$ac_cv_prog_AWK
4608 if test -n "$AWK"; then
4609- { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4610+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4611 $as_echo "$AWK" >&6; }
4612 else
4613- { $as_echo "$as_me:$LINENO: result: no" >&5
4614+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4616 fi
4617
4618@@ -2499,11 +2694,11 @@
4619 test -n "$AWK" && break
4620 done
4621
4622-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4623+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4624 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4625 set x ${MAKE-make}
4626 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4627-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4628+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 cat >conftest.make <<\_ACEOF
4632@@ -2521,11 +2716,11 @@
4633 rm -f conftest.make
4634 fi
4635 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4636- { $as_echo "$as_me:$LINENO: result: yes" >&5
4637+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4638 $as_echo "yes" >&6; }
4639 SET_MAKE=
4640 else
4641- { $as_echo "$as_me:$LINENO: result: no" >&5
4642+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4644 SET_MAKE="MAKE=${MAKE-make}"
4645 fi
4646@@ -2545,9 +2740,7 @@
4647 am__isrc=' -I$(srcdir)'
4648 # test to see if srcdir already configured
4649 if test -f $srcdir/config.status; then
4650- { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4651-$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4652- { (exit 1); exit 1; }; }
4653+ as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4654 fi
4655 fi
4656
4657@@ -2563,17 +2756,8 @@
4658
4659 # Define the identity of the package.
4660 PACKAGE='json-glib'
4661- VERSION='0.10.2'
4662-
4663-
4664-cat >>confdefs.h <<_ACEOF
4665-#define PACKAGE "$PACKAGE"
4666-_ACEOF
4667-
4668-
4669-cat >>confdefs.h <<_ACEOF
4670-#define VERSION "$VERSION"
4671-_ACEOF
4672+ VERSION='0.12.0'
4673+
4674
4675 # Some tools Automake needs.
4676
4677@@ -2603,39 +2787,18 @@
4678
4679
4680
4681-ac_config_headers="$ac_config_headers config.h"
4682-
4683-
4684-# Check whether --enable-static was given.
4685-if test "${enable_static+set}" = set; then
4686- enableval=$enable_static; p=${PACKAGE-default}
4687- case $enableval in
4688- yes) enable_static=yes ;;
4689- no) enable_static=no ;;
4690- *)
4691- enable_static=no
4692- # Look at the argument we got. We use all the common list separators.
4693- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4694- for pkg in $enableval; do
4695- IFS="$lt_save_ifs"
4696- if test "X$pkg" = "X$p"; then
4697- enable_static=yes
4698- fi
4699- done
4700- IFS="$lt_save_ifs"
4701- ;;
4702- esac
4703-else
4704- enable_static=no
4705+
4706+# Check whether --enable-silent-rules was given.
4707+if test "${enable_silent_rules+set}" = set; then :
4708+ enableval=$enable_silent_rules;
4709 fi
4710
4711-
4712-
4713-
4714-
4715-
4716-
4717-
4718+case $enable_silent_rules in
4719+yes) AM_DEFAULT_VERBOSITY=0;;
4720+no) AM_DEFAULT_VERBOSITY=1;;
4721+*) AM_DEFAULT_VERBOSITY=0;;
4722+esac
4723+AM_BACKSLASH='\'
4724
4725 DEPDIR="${am__leading_dot}deps"
4726
4727@@ -2649,7 +2812,7 @@
4728 .PHONY: am__doit
4729 END
4730 # If we don't find an include directive, just comment out the code.
4731-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4732+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4733 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4734 am__include="#"
4735 am__quote=
4736@@ -2677,12 +2840,12 @@
4737 fi
4738
4739
4740-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4741+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4742 $as_echo "$_am_result" >&6; }
4743 rm -f confinc confmf
4744
4745 # Check whether --enable-dependency-tracking was given.
4746-if test "${enable_dependency_tracking+set}" = set; then
4747+if test "${enable_dependency_tracking+set}" = set; then :
4748 enableval=$enable_dependency_tracking;
4749 fi
4750
4751@@ -2707,9 +2870,9 @@
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4754 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4755-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4756+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758-if test "${ac_cv_prog_CC+set}" = set; then
4759+if test "${ac_cv_prog_CC+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -n "$CC"; then
4763@@ -2720,24 +2883,24 @@
4764 do
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767- for ac_exec_ext in '' $ac_executable_extensions; do
4768+ for ac_exec_ext in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4771- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 break 2
4774 fi
4775 done
4776-done
4777+ done
4778 IFS=$as_save_IFS
4779
4780 fi
4781 fi
4782 CC=$ac_cv_prog_CC
4783 if test -n "$CC"; then
4784- { $as_echo "$as_me:$LINENO: result: $CC" >&5
4785+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4786 $as_echo "$CC" >&6; }
4787 else
4788- { $as_echo "$as_me:$LINENO: result: no" >&5
4789+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 fi
4792
4793@@ -2747,9 +2910,9 @@
4794 ac_ct_CC=$CC
4795 # Extract the first word of "gcc", so it can be a program name with args.
4796 set dummy gcc; ac_word=$2
4797-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4798+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4801+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4802 $as_echo_n "(cached) " >&6
4803 else
4804 if test -n "$ac_ct_CC"; then
4805@@ -2760,24 +2923,24 @@
4806 do
4807 IFS=$as_save_IFS
4808 test -z "$as_dir" && as_dir=.
4809- for ac_exec_ext in '' $ac_executable_extensions; do
4810+ for ac_exec_ext in '' $ac_executable_extensions; do
4811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4812 ac_cv_prog_ac_ct_CC="gcc"
4813- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4814+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 break 2
4816 fi
4817 done
4818-done
4819+ done
4820 IFS=$as_save_IFS
4821
4822 fi
4823 fi
4824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4825 if test -n "$ac_ct_CC"; then
4826- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4827+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4828 $as_echo "$ac_ct_CC" >&6; }
4829 else
4830- { $as_echo "$as_me:$LINENO: result: no" >&5
4831+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4833 fi
4834
4835@@ -2786,7 +2949,7 @@
4836 else
4837 case $cross_compiling:$ac_tool_warned in
4838 yes:)
4839-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4840+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4842 ac_tool_warned=yes ;;
4843 esac
4844@@ -2800,9 +2963,9 @@
4845 if test -n "$ac_tool_prefix"; then
4846 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4847 set dummy ${ac_tool_prefix}cc; ac_word=$2
4848-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4849+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851-if test "${ac_cv_prog_CC+set}" = set; then
4852+if test "${ac_cv_prog_CC+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 if test -n "$CC"; then
4856@@ -2813,24 +2976,24 @@
4857 do
4858 IFS=$as_save_IFS
4859 test -z "$as_dir" && as_dir=.
4860- for ac_exec_ext in '' $ac_executable_extensions; do
4861+ for ac_exec_ext in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_prog_CC="${ac_tool_prefix}cc"
4864- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4865+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 break 2
4867 fi
4868 done
4869-done
4870+ done
4871 IFS=$as_save_IFS
4872
4873 fi
4874 fi
4875 CC=$ac_cv_prog_CC
4876 if test -n "$CC"; then
4877- { $as_echo "$as_me:$LINENO: result: $CC" >&5
4878+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4879 $as_echo "$CC" >&6; }
4880 else
4881- { $as_echo "$as_me:$LINENO: result: no" >&5
4882+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 fi
4885
4886@@ -2840,9 +3003,9 @@
4887 if test -z "$CC"; then
4888 # Extract the first word of "cc", so it can be a program name with args.
4889 set dummy cc; ac_word=$2
4890-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4891+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893-if test "${ac_cv_prog_CC+set}" = set; then
4894+if test "${ac_cv_prog_CC+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4896 else
4897 if test -n "$CC"; then
4898@@ -2854,18 +3017,18 @@
4899 do
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902- for ac_exec_ext in '' $ac_executable_extensions; do
4903+ for ac_exec_ext in '' $ac_executable_extensions; do
4904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4906 ac_prog_rejected=yes
4907 continue
4908 fi
4909 ac_cv_prog_CC="cc"
4910- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4911+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4913 fi
4914 done
4915-done
4916+ done
4917 IFS=$as_save_IFS
4918
4919 if test $ac_prog_rejected = yes; then
4920@@ -2884,10 +3047,10 @@
4921 fi
4922 CC=$ac_cv_prog_CC
4923 if test -n "$CC"; then
4924- { $as_echo "$as_me:$LINENO: result: $CC" >&5
4925+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4926 $as_echo "$CC" >&6; }
4927 else
4928- { $as_echo "$as_me:$LINENO: result: no" >&5
4929+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4931 fi
4932
4933@@ -2899,9 +3062,9 @@
4934 do
4935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4937-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4938+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940-if test "${ac_cv_prog_CC+set}" = set; then
4941+if test "${ac_cv_prog_CC+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 if test -n "$CC"; then
4945@@ -2912,24 +3075,24 @@
4946 do
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949- for ac_exec_ext in '' $ac_executable_extensions; do
4950+ for ac_exec_ext in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4953- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958-done
4959+ done
4960 IFS=$as_save_IFS
4961
4962 fi
4963 fi
4964 CC=$ac_cv_prog_CC
4965 if test -n "$CC"; then
4966- { $as_echo "$as_me:$LINENO: result: $CC" >&5
4967+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4968 $as_echo "$CC" >&6; }
4969 else
4970- { $as_echo "$as_me:$LINENO: result: no" >&5
4971+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4973 fi
4974
4975@@ -2943,9 +3106,9 @@
4976 do
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy $ac_prog; ac_word=$2
4979-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4980+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4983+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
4985 else
4986 if test -n "$ac_ct_CC"; then
4987@@ -2956,24 +3119,24 @@
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991- for ac_exec_ext in '' $ac_executable_extensions; do
4992+ for ac_exec_ext in '' $ac_executable_extensions; do
4993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4994 ac_cv_prog_ac_ct_CC="$ac_prog"
4995- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4996+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4998 fi
4999 done
5000-done
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: