diff -Nru json-glib-0.7.6/aclocal.m4 json-glib-0.10.2/aclocal.m4 --- json-glib-0.7.6/aclocal.m4 2009-08-12 16:07:29.000000000 +0100 +++ json-glib-0.10.2/aclocal.m4 2010-02-26 14:04:26.000000000 +0000 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.10.2 -*- Autoconf -*- +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -300,16 +300,14 @@ # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + else + pkg_failed=untried fi[]dnl ])# _PKG_CONFIG @@ -353,9 +351,9 @@ if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -402,10 +400,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.10' +[am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.10.2], [], +m4_if([$1], [1.11.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -421,7 +419,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.10.2])dnl +[AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -481,14 +479,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -501,6 +499,7 @@ AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' @@ -514,14 +513,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 9 +# serial 10 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -578,6 +577,16 @@ if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and @@ -595,7 +604,17 @@ done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested @@ -605,19 +624,23 @@ break fi ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; none) break ;; esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message @@ -681,59 +704,61 @@ # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -#serial 4 +#serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[# Autoconf 2.62 quotes --file arguments for eval, but not when files -# are listed without --file. Let's play safe and only enable the eval -# if we detect the quoting. -case $CONFIG_FILES in -*\'*) eval set x "$CONFIG_FILES" ;; -*) set x $CONFIG_FILES ;; -esac -shift -for mf -do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done done -done +} ])# _AM_OUTPUT_DEPENDENCY_COMMANDS @@ -765,13 +790,13 @@ # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008 Free Software Foundation, Inc. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 13 +# serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. @@ -788,7 +813,7 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.60])dnl +[AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -839,8 +864,8 @@ AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) -AM_PROG_INSTALL_SH -AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. @@ -848,24 +873,37 @@ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header @@ -888,7 +926,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -899,7 +937,14 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -925,13 +970,13 @@ # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # AM_MAKE_INCLUDE() # ----------------- @@ -940,7 +985,7 @@ [am_make=${MAKE-make} cat > confinc << 'END' am__doit: - @echo done + @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. @@ -950,24 +995,24 @@ _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) @@ -975,16 +1020,51 @@ rm -f confinc confmf ]) +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 6 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 5 +# serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -1001,7 +1081,14 @@ AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " @@ -1072,14 +1159,14 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # AM_SANITY_CHECK # --------------- @@ -1088,16 +1175,29 @@ # Just in case sleep 1 echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` + set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ @@ -1122,6 +1222,33 @@ fi AC_MSG_RESULT(yes)]) +# Copyright (C) 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 1 + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# (`yes' being less verbose, `no' or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], +[ --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0')]) +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation @@ -1150,18 +1277,25 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# serial 2 + # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) +# AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. @@ -1266,4 +1400,3 @@ m4_include([build/autotools/ltsugar.m4]) m4_include([build/autotools/ltversion.m4]) m4_include([build/autotools/lt~obsolete.m4]) -m4_include([build/autotools/shave.m4]) diff -Nru json-glib-0.7.6/build/autotools/libtool.m4 json-glib-0.10.2/build/autotools/libtool.m4 --- json-glib-0.7.6/build/autotools/libtool.m4 2009-08-12 16:07:25.000000000 +0100 +++ json-glib-0.10.2/build/autotools/libtool.m4 2010-02-26 14:04:22.000000000 +0000 @@ -2470,10 +2470,13 @@ # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -2485,18 +2488,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -3088,7 +3079,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -3769,7 +3760,7 @@ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4194,9 +4185,6 @@ cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -4261,9 +4249,6 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -4446,7 +4431,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -4621,7 +4606,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -4860,7 +4844,7 @@ _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else diff -Nru json-glib-0.7.6/build/autotools/ltversion.m4 json-glib-0.10.2/build/autotools/ltversion.m4 --- json-glib-0.7.6/build/autotools/ltversion.m4 2009-08-12 16:07:25.000000000 +0100 +++ json-glib-0.10.2/build/autotools/ltversion.m4 2010-02-26 14:04:22.000000000 +0000 @@ -9,15 +9,15 @@ # Generated from ltversion.in. -# serial 3012 ltversion.m4 +# serial 3017 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.6]) -m4_define([LT_PACKAGE_REVISION], [1.3012]) +m4_define([LT_PACKAGE_VERSION], [2.2.6b]) +m4_define([LT_PACKAGE_REVISION], [1.3017]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6' -macro_revision='1.3012' +[macro_version='2.2.6b' +macro_revision='1.3017' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) diff -Nru json-glib-0.7.6/build/autotools/Makefile.am json-glib-0.10.2/build/autotools/Makefile.am --- json-glib-0.7.6/build/autotools/Makefile.am 2009-06-24 13:06:20.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.am 2010-02-26 13:56:30.000000000 +0000 @@ -1,10 +1,23 @@ -include $(top_srcdir)/Makefile.decl - -EXTRA_DIST += \ +EXTRA_DIST = \ shave-libtool.in \ shave.in \ shave.m4 \ as-compiler-flag.m4 \ - introspection.m4 + introspection.m4 \ + Makefile.am.silent \ + Makefile.am.enums \ + Makefile.am.marshal \ + Makefile.am.gtest DISTCLEANFILES = shave-libtool shave + +# needed to avoid including Makefile.am.gtest +test-report: + @true + +test: + @true + +check-local: test + +.PHONY: test test-report check-local diff -Nru json-glib-0.7.6/build/autotools/Makefile.am.enums json-glib-0.10.2/build/autotools/Makefile.am.enums --- json-glib-0.7.6/build/autotools/Makefile.am.enums 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.am.enums 2009-11-28 14:40:46.000000000 +0000 @@ -0,0 +1,43 @@ +# Rules for generating enumeration types using glib-mkenums +# +# Define: +# glib_enum_h = header template file +# glib_enum_c = source template file +# glib_enum_headers = list of headers to parse +# +# before including Makefile.am.enums. You will also need to have +# the following targets already defined: +# +# CLEANFILES +# DISTCLEANFILES +# BUILT_SOURCES +# EXTRA_DIST +# +# Author: Emmanuele Bassi + +enum_tmpl_h=$(glib_enum_h:.h=.h.in) +enum_tmpl_c=$(glib_enum_c:.c=.c.in) + +CLEANFILES += stamp-enum-types +DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c) +BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c) +EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c) + +stamp-enum-types: $(glib_enum_headers) $(srcdir)/$(enum_tmpl_h) + $(QUIET_GEN)$(GLIB_MKENUMS) \ + --template $(srcdir)/$(enum_tmpl_h) \ + $(glib_enum_headers) > xgen-eh \ + && (cmp -s xgen-eh $(glib_enum_h) || cp -f xgen-eh $(glib_enum_h)) \ + && rm -f xgen-eh \ + && echo timestamp > $(@F) + +$(glib_enum_h): stamp-enum-types + @true + +$(glib_enum_c): $(glib_enum_h) $(srcdir)/$(enum_tmpl_c) + $(QUIET_GEN)$(GLIB_MKENUMS) \ + --template $(srcdir)/$(enum_tmpl_c) \ + $(glib_enum_headers) > xgen-ec \ + && cp -f xgen-ec $(glib_enum_c) \ + && rm -f xgen-ec + diff -Nru json-glib-0.7.6/build/autotools/Makefile.am.gtest json-glib-0.10.2/build/autotools/Makefile.am.gtest --- json-glib-0.7.6/build/autotools/Makefile.am.gtest 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.am.gtest 2010-02-26 13:56:30.000000000 +0000 @@ -0,0 +1,61 @@ +# JSON-GLib - JSON reader and writer library + +GTESTER = gtester +GTESTER_REPORT = gtester-report + +# initialize variables for unconditional += appending +EXTRA_DIST = +TEST_PROGS = + +### testing rules + +# test: run all tests in cwd and subdirs +test: ${TEST_PROGS} + @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} + @ for subdir in $(SUBDIRS) . ; do \ + test "$$subdir" = "." -o "$$subdir" = "po" || \ + ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ + done +# test-report: run tests in subdirs and generate report +# perf-report: run tests in subdirs with -m perf and generate report +# full-report: like test-report: with -m perf and -m slow +test-report perf-report full-report: ${TEST_PROGS} + @test -z "${TEST_PROGS}" || { \ + case $@ in \ + test-report) test_options="-k";; \ + perf-report) test_options="-k -m=perf";; \ + full-report) test_options="-k -m=perf -m=slow";; \ + esac ; \ + if test -z "$$GTESTER_LOGDIR" ; then \ + ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ + elif test -n "${TEST_PROGS}" ; then \ + ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ + fi ; \ + } + @ ignore_logdir=true ; \ + if test -z "$$GTESTER_LOGDIR" ; then \ + GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ + ignore_logdir=false ; \ + fi ; \ + for subdir in $(SUBDIRS) . ; do \ + test "$$subdir" = "." -o "$$subdir" = "po" || \ + ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ + done ; \ + $$ignore_logdir || { \ + echo '' > $@.xml ; \ + echo '' >> $@.xml ; \ + echo '' >> $@.xml ; \ + echo ' $(PACKAGE)' >> $@.xml ; \ + echo ' $(VERSION)' >> $@.xml ; \ + echo '' >> $@.xml ; \ + for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ + sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ + done ; \ + echo >> $@.xml ; \ + echo '' >> $@.xml ; \ + rm -rf "$$GTESTER_LOGDIR"/ ; \ + ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ + } +.PHONY: test test-report perf-report full-report +# run make test as part of make check +check-local: test diff -Nru json-glib-0.7.6/build/autotools/Makefile.am.marshal json-glib-0.10.2/build/autotools/Makefile.am.marshal --- json-glib-0.7.6/build/autotools/Makefile.am.marshal 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.am.marshal 2009-11-28 14:40:50.000000000 +0000 @@ -0,0 +1,45 @@ +# Rules for generating marshal files using glib-genmarshal +# +# Define: +# glib_marshal_list = marshal list file +# glib_marshal_prefix = prefix for marshal functions +# +# before including Makefile.am.marshal. You will also need to have +# the following targets already defined: +# +# CLEANFILES +# DISTCLEANFILES +# BUILT_SOURCES +# EXTRA_DIST +# +# Author: Emmanuele Bassi + +marshal_h = $(glib_marshal_list:.list=.h) +marshal_c = $(glib_marshal_list:.list=.c) + +CLEANFILES += stamp-marshal +DISTCLEANFILES += $(marshal_h) $(marshal_c) +BUILT_SOURCES += $(marshal_h) $(marshal_c) +EXTRA_DIST += $(srcdir)/$(glib_marshal_list) + +stamp-marshal: $(glib_marshal_list) + $(QUIET_GEN)$(GLIB_GENMARSHAL) \ + --prefix=$(glib_marshal_prefix) \ + --header \ + $(srcdir)/$(glib_marshal_list) > xgen-mh \ + && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \ + && rm -f xgen-mh \ + && echo timestamp > $(@F) + +$(marshal_h): stamp-marshal + @true + +$(marshal_c): $(marshal_h) + $(QUIET_GEN)(echo "#include \"$(marshal_h)\"" ; \ + $(GLIB_GENMARSHAL) \ + --prefix=$(glib_marshal_prefix) \ + --body \ + $(srcdir)/$(glib_marshal_list)) > xgen-mc \ + && cp xgen-mc $(marshal_c) \ + && rm -f xgen-mc + diff -Nru json-glib-0.7.6/build/autotools/Makefile.am.silent json-glib-0.10.2/build/autotools/Makefile.am.silent --- json-glib-0.7.6/build/autotools/Makefile.am.silent 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.am.silent 2009-10-29 14:37:07.000000000 +0000 @@ -0,0 +1,17 @@ +# custom rules for quiet builds + +if USE_SHAVE +QUIET_GEN = $(Q:@=@echo ' GEN '$@;) +QUIET_LN = $(Q:@=@echo ' LN '$@;) +QUIET_RM = $(Q:@=@echo ' RM '$@;) +else +QUIET_GEN = $(AM_V_GEN) + +QUIET_LN = $(QUIET_LN_$(V)) +QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY)) +QUIET_LN_0 = @echo ' LN '$@; + +QUIET_RM = $(QUIET_RM_$(V)) +QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY)) +QUIET_RM_0 = @echo ' RM '$@; +endif # USE_SHAVE diff -Nru json-glib-0.7.6/build/autotools/Makefile.in json-glib-0.10.2/build/autotools/Makefile.in --- json-glib-0.7.6/build/autotools/Makefile.in 2009-08-12 16:07:32.000000000 +0100 +++ json-glib-0.10.2/build/autotools/Makefile.in 2010-02-26 14:04:29.000000000 +0000 @@ -1,8 +1,9 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -13,12 +14,11 @@ # PARTICULAR PURPOSE. @SET_MAKE@ - -# JSON-GLib - JSON reader and writer library VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c @@ -33,10 +33,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/shave-libtool.in $(srcdir)/shave.in \ - $(top_srcdir)/Makefile.decl subdir = build/autotools +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = \ $(top_srcdir)/build/autotools/as-compiler-flag.m4 \ @@ -47,19 +45,25 @@ $(top_srcdir)/build/autotools/ltsugar.m4 \ $(top_srcdir)/build/autotools/ltversion.m4 \ $(top_srcdir)/build/autotools/lt~obsolete.m4 \ - $(top_srcdir)/build/autotools/shave.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = shave-libtool shave +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AM_MAKEFLAGS = @AM_MAKEFLAGS@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -70,7 +74,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -81,8 +84,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FC = @FC@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ @@ -110,6 +111,7 @@ JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@ JSON_MICRO_VERSION = @JSON_MICRO_VERSION@ JSON_MINOR_VERSION = @JSON_MINOR_VERSION@ +JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@ JSON_VERSION = @JSON_VERSION@ LD = @LD@ LDFLAGS = @LDFLAGS@ @@ -119,12 +121,11 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAKEFLAGS = @MAKEFLAGS@ +MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ -OBJC = @OBJC@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ @@ -137,13 +138,11 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -Q = @Q@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ -V = @V@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -191,25 +190,28 @@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -shavedir = @shavedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -GTESTER = gtester -GTESTER_REPORT = gtester-report +EXTRA_DIST = \ + shave-libtool.in \ + shave.in \ + shave.m4 \ + as-compiler-flag.m4 \ + introspection.m4 \ + Makefile.am.silent \ + Makefile.am.enums \ + Makefile.am.marshal \ + Makefile.am.gtest -# initialize variables for unconditional += appending -EXTRA_DIST = shave-libtool.in shave.in shave.m4 as-compiler-flag.m4 \ - introspection.m4 -TEST_PROGS = DISTCLEANFILES = shave-libtool shave all: all-am .SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -218,9 +220,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu build/autotools/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu build/autotools/Makefile + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu build/autotools/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu build/autotools/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -238,10 +240,7 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -shave-libtool: $(top_builddir)/config.status $(srcdir)/shave-libtool.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -shave: $(top_builddir)/config.status $(srcdir)/shave.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +$(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo @@ -271,13 +270,17 @@ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @@ -306,6 +309,7 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @@ -325,6 +329,8 @@ html: html-am +html-am: + info: info-am info-am: @@ -333,18 +339,28 @@ install-dvi: install-dvi-am +install-dvi-am: + install-exec-am: install-html: install-html-am +install-html-am: + install-info: install-info-am +install-info-am: + install-man: install-pdf: install-pdf-am +install-pdf-am: + install-ps: install-ps-am +install-ps-am: + installcheck-am: maintainer-clean: maintainer-clean-am @@ -365,7 +381,7 @@ uninstall-am: -.MAKE: install-am install-strip +.MAKE: check-am install-am install-strip .PHONY: all all-am check check-am check-local clean clean-generic \ clean-libtool distclean distclean-generic distclean-libtool \ @@ -380,58 +396,17 @@ uninstall uninstall-am -### testing rules +# needed to avoid including Makefile.am.gtest +test-report: + @true + +test: + @true -# test: run all tests in cwd and subdirs -test: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} - @ for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done -# test-report: run tests in subdirs and generate report -# perf-report: run tests in subdirs with -m perf and generate report -# full-report: like test-report: with -m perf and -m slow -test-report perf-report full-report: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || { \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ - elif test -n "${TEST_PROGS}" ; then \ - ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ - fi ; \ - } - @ ignore_logdir=true ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ - ignore_logdir=false ; \ - fi ; \ - for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done ; \ - $$ignore_logdir || { \ - echo '' > $@.xml ; \ - echo '' >> $@.xml ; \ - echo '' >> $@.xml ; \ - echo ' $(PACKAGE)' >> $@.xml ; \ - echo ' $(VERSION)' >> $@.xml ; \ - echo '' >> $@.xml ; \ - for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ - sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ - done ; \ - echo >> $@.xml ; \ - echo '' >> $@.xml ; \ - rm -rf "$$GTESTER_LOGDIR"/ ; \ - ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ - } -.PHONY: test test-report perf-report full-report -# run make test as part of make check check-local: test + +.PHONY: test test-report check-local + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru json-glib-0.7.6/build/Makefile.am json-glib-0.10.2/build/Makefile.am --- json-glib-0.7.6/build/Makefile.am 2009-06-24 13:06:20.000000000 +0100 +++ json-glib-0.10.2/build/Makefile.am 2009-10-29 14:37:07.000000000 +0000 @@ -1,3 +1,11 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = autotools + +test-report: + @true + +test: + @true + +check-local: test + +.PHONY: test-report test check-local diff -Nru json-glib-0.7.6/build/Makefile.in json-glib-0.10.2/build/Makefile.in --- json-glib-0.7.6/build/Makefile.in 2009-08-12 16:07:32.000000000 +0100 +++ json-glib-0.10.2/build/Makefile.in 2010-02-26 14:04:29.000000000 +0000 @@ -1,8 +1,9 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -13,12 +14,11 @@ # PARTICULAR PURPOSE. @SET_MAKE@ - -# JSON-GLib - JSON reader and writer library VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c @@ -33,9 +33,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/Makefile.decl subdir = build +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = \ $(top_srcdir)/build/autotools/as-compiler-flag.m4 \ @@ -46,13 +45,19 @@ $(top_srcdir)/build/autotools/ltsugar.m4 \ $(top_srcdir)/build/autotools/ltversion.m4 \ $(top_srcdir)/build/autotools/lt~obsolete.m4 \ - $(top_srcdir)/build/autotools/shave.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ @@ -64,13 +69,41 @@ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AM_MAKEFLAGS = @AM_MAKEFLAGS@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -81,7 +114,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -92,8 +124,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FC = @FC@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ @@ -121,6 +151,7 @@ JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@ JSON_MICRO_VERSION = @JSON_MICRO_VERSION@ JSON_MINOR_VERSION = @JSON_MINOR_VERSION@ +JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@ JSON_VERSION = @JSON_VERSION@ LD = @LD@ LDFLAGS = @LDFLAGS@ @@ -130,12 +161,11 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAKEFLAGS = @MAKEFLAGS@ +MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ -OBJC = @OBJC@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ @@ -148,13 +178,11 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -Q = @Q@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ -V = @V@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -202,24 +230,17 @@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -shavedir = @shavedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -GTESTER = gtester -GTESTER_REPORT = gtester-report - -# initialize variables for unconditional += appending -EXTRA_DIST = -TEST_PROGS = SUBDIRS = autotools all: all-recursive .SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -228,9 +249,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu build/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu build/Makefile + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu build/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu build/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -248,6 +269,7 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo @@ -262,7 +284,7 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -279,7 +301,7 @@ else \ local_target="$$target"; \ fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ @@ -287,7 +309,7 @@ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -313,16 +335,16 @@ else \ local_target="$$target"; \ fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) @@ -337,7 +359,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) - tags=; \ + set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ @@ -349,7 +371,7 @@ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -358,29 +380,34 @@ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) - tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ + test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique + $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -401,29 +428,44 @@ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ + am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ @@ -454,6 +496,7 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -472,6 +515,8 @@ html: html-recursive +html-am: + info: info-recursive info-am: @@ -480,18 +525,28 @@ install-dvi: install-dvi-recursive +install-dvi-am: + install-exec-am: install-html: install-html-recursive +install-html-am: + install-info: install-info-recursive +install-info-am: + install-man: install-pdf: install-pdf-recursive +install-pdf-am: + install-ps: install-ps-recursive +install-ps-am: + installcheck-am: maintainer-clean: maintainer-clean-recursive @@ -512,8 +567,8 @@ uninstall-am: -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ + ctags-recursive install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am check-local clean clean-generic \ @@ -530,58 +585,16 @@ tags tags-recursive uninstall uninstall-am -### testing rules +test-report: + @true + +test: + @true -# test: run all tests in cwd and subdirs -test: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} - @ for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done -# test-report: run tests in subdirs and generate report -# perf-report: run tests in subdirs with -m perf and generate report -# full-report: like test-report: with -m perf and -m slow -test-report perf-report full-report: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || { \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ - elif test -n "${TEST_PROGS}" ; then \ - ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ - fi ; \ - } - @ ignore_logdir=true ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ - ignore_logdir=false ; \ - fi ; \ - for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done ; \ - $$ignore_logdir || { \ - echo '' > $@.xml ; \ - echo '' >> $@.xml ; \ - echo '' >> $@.xml ; \ - echo ' $(PACKAGE)' >> $@.xml ; \ - echo ' $(VERSION)' >> $@.xml ; \ - echo '' >> $@.xml ; \ - for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ - sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ - done ; \ - echo >> $@.xml ; \ - echo '' >> $@.xml ; \ - rm -rf "$$GTESTER_LOGDIR"/ ; \ - ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ - } -.PHONY: test test-report perf-report full-report -# run make test as part of make check check-local: test + +.PHONY: test-report test check-local + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru json-glib-0.7.6/ChangeLog json-glib-0.10.2/ChangeLog --- json-glib-0.7.6/ChangeLog 2009-08-12 16:08:14.000000000 +0100 +++ json-glib-0.10.2/ChangeLog 2010-02-26 14:05:48.000000000 +0000 @@ -1,3 +1,1063 @@ +commit 755592e2c9e7e9cafbdf2b349a0df41dfeae83aa +Author: Emmanuele Bassi +Date: Fri Feb 26 14:04:12 2010 +0000 + + Release 0.10.2 (stable snapshot) + + configure.ac | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 382159118096b899b10411c8b37dbc743702e205 +Author: Emmanuele Bassi +Date: Fri Feb 26 14:03:59 2010 +0000 + + Update NEWS file + + NEWS | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +commit a5d9c7bd125571c877f1f7b76f92412b37fc4ce4 +Author: Emmanuele Bassi +Date: Sun Jan 24 18:58:28 2010 +0000 + + docs: Fix the GBoxed registration example + + The registration function for serialization and deserialization has been + replaced by two separate functions before releasing 0.10, but I forgot to + update the example in the documentation. + (cherry picked from commit ea666891cb1e6fc9e527ce6c93a306bc97145f16) + + json-glib/json-gboxed.c | 11 ++++++----- + 1 files changed, 6 insertions(+), 5 deletions(-) + +commit 1ce1d549477b79e7d94fb891f323afbdb8a8d4ce +Author: Emmanuele Bassi +Date: Sun Jan 10 09:59:14 2010 +0000 + + Initialize every member of JsonObject on construction + + We create JsonObject structures using g_slice_new(), so we need to + initialize every member of the structure ourselves. + (cherry picked from commit c09c2dc1c54c83fea4ef93486081fe3fab35452c) + + json-glib/json-object.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit dae32677d140a3ba6a15e1198b53ea0b3e1716b0 +Author: Emmanuele Bassi +Date: Tue Dec 29 15:35:21 2009 +0000 + + Post-release version bump to 0.10.1 + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 5aff66e8fae3e28c9cb6b74696170154eed303a7 +Author: Emmanuele Bassi +Date: Tue Dec 29 15:33:28 2009 +0000 + + Release 0.10.0 + + configure.ac | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 7258a776ea90ea4b2dcc6f1e4e440bb09c581a12 +Author: Emmanuele Bassi +Date: Tue Dec 29 15:31:22 2009 +0000 + + build: Enable introspection when distchecking + + Makefile.am | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 80c5178127052e600146ca889500e263da4ebf10 +Author: Vincent Untz +Date: Sun Dec 27 02:09:44 2009 +0100 + + Initialize out variables before using them + + Here's a small patch for json-glib, to fix some gcc warnings breaking + the build with -Werror (gcc can't know if the variable will get + initialized or not). I didn't find a product for json-glib in bugzilla, + but I guess a mail will work ;-) + + Happy holidays :-) + + Signed-off-by: Emmanuele Bassi + + json-glib/json-gobject.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit e3a57eae397926ad23e216996eda164ed6c15c63 +Author: Emmanuele Bassi +Date: Sun Nov 29 12:50:58 2009 +0000 + + Post-release bump to 0.9.3 + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 4477758b73a0712fdef5e7907f6b6f4e0878428e +Author: Emmanuele Bassi +Date: Sun Nov 29 12:34:41 2009 +0000 + + Release 0.9.2 (0.10.0-rc1) + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 654f99c6b0d771cc6b4c68790ab164b0f691307d +Author: Emmanuele Bassi +Date: Sun Nov 29 12:34:08 2009 +0000 + + Update NEWS + + NEWS | 15 +++++++++++++++ + 1 files changed, 15 insertions(+), 0 deletions(-) + +commit 307605046cf89ef922d1d1e7c7b95405f3ecfdfb +Author: Emmanuele Bassi +Date: Sun Nov 29 12:48:25 2009 +0000 + + docs: Fix annotation for json_gobject_to_data() + + json-glib/json-gobject.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit e7eb3ca4a9de1c7348dc82f528cf0858f52849dd +Author: Emmanuele Bassi +Date: Sun Nov 29 12:37:04 2009 +0000 + + docs: Add missing to/from_data methods + + doc/reference/json-glib-sections.txt | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +commit 27bb2c060a7b2ecc4839719d39b2044efe4c3e7a +Author: Emmanuele Bassi +Date: Sun Nov 29 12:46:27 2009 +0000 + + docs: Add release notes to the README + + README | 12 ++++++++++-- + 1 files changed, 10 insertions(+), 2 deletions(-) + +commit 780d82310c47c3f07bcbaab2cefbea0d6decb899 +Author: Emmanuele Bassi +Date: Sun Nov 29 12:33:45 2009 +0000 + + docs: Update the README + + README | 27 ++++++++++++++++----------- + 1 files changed, 16 insertions(+), 11 deletions(-) + +commit d122f9b8c09ad7e82b1a70da5d65ebba2111e6cc +Author: Emmanuele Bassi +Date: Sun Nov 29 12:33:01 2009 +0000 + + build: Clean up the configure summary + + Make the output of the summary a little bit nicer. + + configure.ac | 27 ++++++++++++++++++++------- + 1 files changed, 20 insertions(+), 7 deletions(-) + +commit e4c4480036a82cc5177fc1f184c18019af0e805e +Author: Emmanuele Bassi +Date: Sun Nov 29 12:31:54 2009 +0000 + + build: Require G-I 0.6.4 + + We should require at least 0.6.4 for GObject-Introspection, since that + version allows us to pass the .la file to g-ir-scanner. + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 4445bdb04d5eebc145a1db82aa5b811e8d4ed048 +Author: Emmanuele Bassi +Date: Sat Nov 28 19:13:27 2009 +0000 + + docs: Fix argument name mismatch + + gtk-doc complains that the argument name in the header does not match + the one in the documentation annotation for the GBoxed deserialization + function registration. + + json-glib/json-gobject.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 793e827feaa9be3c4ffbe5c0425ac6bcc0c9e6d1 +Author: Emmanuele Bassi +Date: Sat Nov 28 19:06:36 2009 +0000 + + build: Clean up json-glib/Makefile.am rules + + json-glib/Makefile.am | 24 ++++-------------------- + 1 files changed, 4 insertions(+), 20 deletions(-) + +commit 97584658672fe4709fc7c3b24a44b477112322f7 +Author: Emmanuele Bassi +Date: Sat Nov 28 17:39:37 2009 +0000 + + build: Fix out-of-tree enum types file generation + + build/autotools/Makefile.am.enums | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 3cf919e9c7f3201305a1a63a3c270e422a37efed +Author: Emmanuele Bassi +Date: Mon Nov 23 22:20:58 2009 +0000 + + boxed: Split (de)serialization registration + + A GBoxed type defined as: + + struct Boxed { + int foo; + gboolean bar; + int baz; + }; + + Can be represented either by a JSON object: + + { + "foo" : 1, + "bar" : true, + "baz" : 3 + } + + Or by a JSON array: + + [ 1, true, 3 ] + + The current function for registering a serialization and a + deserialization pair does not allow registering more than one + deserialization function - which means that there can only be + one way to deserialize a GBoxed type into a specific JsonNode + type. + + To allow having more than one JsonNodeType associated to a + GBoxed type and a deserialization function we need to split out + the registration of the serialization and deserialization functions + into two distinct functions. + + doc/reference/json-glib-sections.txt | 3 +- + json-glib/json-gboxed.c | 115 ++++++++++++++++++++++------------ + json-glib/json-gobject.c | 4 +- + json-glib/json-gobject.h | 63 +++++++++--------- + tests/test-serialize-boxed.c | 7 +- + 5 files changed, 114 insertions(+), 78 deletions(-) + +commit 61d54cc9e2a3098e876e700a9248428f400a5368 +Author: Tristan Van Berkom +Date: Thu Nov 12 12:59:03 2009 +0000 + + serializable: Make Serializable in charge of parsing + + If a GObject class implements JsonSerializable and has overridden + the serialize_property() vfunc then the Serializable should be fully in + charge of serializing a property - that is: JSON-GLib should not try to + add a fallback in case the serialize_property() implementation returned + NULL. + + This is a change in semantics for JsonSerializable implementations. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1859 + + Signed-off-by: Emmanuele Bassi + + json-glib/json-gobject.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +commit 63dc03da507a216c0764bc0e50fc62b2b77dc1b2 +Author: Emmanuele Bassi +Date: Thu Nov 12 12:38:29 2009 +0000 + + serializable: Add methods proxying default implementations + + If you want to use the default implementation of serialize_property() + and/or deserialize_property() from an object class implementing + JsonSerializable you currently have to peek the interface vtable and + then call the vfunc pointers. + + We can expose the default implementation through functions ourselves and + simplify the required code. + + doc/reference/json-glib-sections.txt | 4 ++ + json-glib/json-gobject.h | 28 +++++++--- + json-glib/json-serializable.c | 92 ++++++++++++++++++++++++++++++++++ + 3 files changed, 115 insertions(+), 9 deletions(-) + +commit 5f484d8c274a2b866f9a3d38eebe2baa1939b7ac +Author: Emmanuele Bassi +Date: Thu Nov 12 12:03:13 2009 +0000 + + gobject: Add deprecation annotations + + This makes it easier to detect when building without + JSON_DISABLE_DEPRECATED. + + json-glib/json-gobject.h | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 3c7811bf24d4b957da730949af6795b728db5bad +Author: Emmanuele Bassi +Date: Thu Nov 12 12:02:41 2009 +0000 + + build: Build without deprecations + + Make sure that JSON-GLib is built without using deprecated API. + + json-glib/Makefile.am | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 923311ee52b77f53c5c529e497ea2a24efaf23ea +Author: Emmanuele Bassi +Date: Thu Nov 12 12:01:04 2009 +0000 + + tests: Do not use deprecated API + + Tests should not be using API marked as deprecated. + + tests/Makefile.am | 2 +- + tests/test-serialize-boxed.c | 4 ++-- + tests/test-serialize-complex.c | 2 +- + tests/test-serialize-full.c | 2 +- + tests/test-serialize-simple.c | 2 +- + 5 files changed, 6 insertions(+), 6 deletions(-) + +commit e3ae84e743e1d1a1a0202e900f443e143cb77f45 +Author: Emmanuele Bassi +Date: Thu Nov 12 11:57:45 2009 +0000 + + tests: Verify Serializable::serialize_property() + + Verify that an object with a custom serialize_property() is effectively + what we expect it to be when it is parsed. + + tests/test-serialize-complex.c | 32 ++++++++++++++++++++++++++++++++ + 1 files changed, 32 insertions(+), 0 deletions(-) + +commit 7cebdd008a02e6cef0514f40327f94eba2a2088e +Author: Cornelius Hald +Date: Thu Nov 12 11:37:54 2009 +0000 + + Doubles are converted to strings containing commas + + Under some locales (e.g. de_DE) a double is converted to a string + containing a comma instead of a dot. That breaks the JSON syntax. + + Example: + Double: 0.34 is converted to 0,34 when using locale de_DE + + http://bugzilla.openedhand.com/show_bug.cgi?id=1826 + + Signed-off-by: Emmanuele Bassi + + json-glib/json-generator.c | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) + +commit 30d4efb775cb416212c00e3ececb0f0147739f40 +Author: Emmanuele Bassi +Date: Thu Nov 12 11:28:17 2009 +0000 + + Update Introspection annotations + + • Fix the transfer rules for JsonNode, JsonObject and JsonArray + getters. + + • Annotate the methods returning lists + + json-glib/json-array.c | 18 +++++++++--------- + json-glib/json-node.c | 15 ++++++++------- + json-glib/json-object.c | 25 +++++++++++++------------ + json-glib/json-parser.c | 5 +++-- + 4 files changed, 33 insertions(+), 30 deletions(-) + +commit 47cd2f678a8321faac0e2d00a3538181e7bc1cbf +Author: Emmanuele Bassi +Date: Thu Nov 12 11:27:36 2009 +0000 + + build: Add more flags to the maintainer cflags list + + configure.ac | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +commit ecc185d1c542f6ff41f84be026dc380f611a5d6e +Author: Emmanuele Bassi +Date: Thu Nov 12 10:09:17 2009 +0000 + + enum-types: Put back a missing static + + The GEnumValue array defining the enumeration type values must be + static, otherwise everything will crash when trying to retrieve the + enumeration data from the GEnumClass. + + json-glib/json-enum-types.c.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 84f5af58c23b174cc9708e81ce8ccbfffa6e68eb +Author: Emmanuele Bassi +Date: Fri Oct 30 10:46:32 2009 +0000 + + object: Return values list in insertion order + + Since we return the member names in insertion order, we should also + return the member values in the same order. + + This also allows us to get rid of the (yucky) internal copies of + g_hash_table_get_keys() and g_hash_table_get_values(), since we use + the hash table only for storage and lookup purposes. + + json-glib/json-object.c | 55 ++++++----------------------------------------- + 1 files changed, 7 insertions(+), 48 deletions(-) + +commit a25a1ded25e5d1f605cffd6da7a5e036151aa70c +Author: Mathias Hasselmann +Date: Thu Oct 29 14:01:04 2009 +0000 + + tests: Verify parsing bare values + + http://bugzilla.openedhand.com/show_bug.cgi?id=1856 + + Signed-off-by: Emmanuele Bassi + + tests/test-parser.c | 38 +++++++++++++++++++++++++++++++++----- + 1 files changed, 33 insertions(+), 5 deletions(-) + +commit 026ea0357fbe95e2acd43555e3b5d00e329c9740 +Author: Emmanuele Bassi +Date: Thu Oct 29 13:59:44 2009 +0000 + + parser: Advance when parsing bare values + + A missing get_next_token() prevents getting the contents of + the tokenizer in order to place them into the JsonNode. + + json-glib/json-parser.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 578111be53065a2bbeda73865bfa4e178f185649 +Author: Emmanuele Bassi +Date: Wed Oct 28 16:54:34 2009 +0000 + + introspection: Fix the GIR generation + + The rule for creating the JSON-GLib GIR file should use the + json-glib.la shared object, to avoid using the installed + copy of JSON-GLib when compiling the typelib. + + The include file for JSON-GLib is json-glib/json-gobject.h as + well: json-glib/json-object.h does not exist. + + json-glib/Makefile.am | 11 ++++++++--- + 1 files changed, 8 insertions(+), 3 deletions(-) + +commit 8f8ce87730fc0bf102a707e84c4f6106b215cfab +Author: Emmanuele Bassi +Date: Wed Oct 28 16:23:39 2009 +0000 + + gobject: Use from/to data naming convention + + Be more GLib-like, and use + + __from_data() + __to_data() + + Instead of the homebrew "construct" and "serialize", when dealing + with string buffers. + + This means: + + • adding json_gobject_from_data() to deprecate + json_construct_gobject() + • adding json_gobject_to_data() to deprecate + json_serialize_gobject() + + The json_construct_gobject() function also contains a mistake: it + uses gsize with the special value of -1 meaning "slurp the whole + string", but gsize is an unsigned type. The newly added + json_gobject_from_data() correctly uses gssize instead. + + json-glib/json-gobject.c | 63 +++++++++++++++++++++++++++++++++++++++++++--- + json-glib/json-gobject.h | 10 +++++++ + 2 files changed, 69 insertions(+), 4 deletions(-) + +commit 00b4d200849e232cd904d23d3593d6f95252b483 +Author: Emmanuele Bassi +Date: Wed Oct 28 16:05:19 2009 +0000 + + gobject: Uniform JSON<->GObject mapping code + + Rename json_gobject_new() to json_gobject_deserialize(), and + json_gobject_dump() to json_gobject_serialize(); this maps the + JSON GBoxed API. + + Also for consistency, change the serialize() return value and + the deserialize() argument to be JsonNodes of type JSON_NODE_OBJECT. + + doc/reference/json-glib-sections.txt | 4 +- + json-glib/json-gobject.c | 82 ++++++++++++++++++++++------------ + json-glib/json-gobject.h | 10 ++-- + 3 files changed, 61 insertions(+), 35 deletions(-) + +commit fc0607c740b153acc96e4df12a12b042e08e831b +Author: Emmanuele Bassi +Date: Wed Oct 28 12:01:21 2009 +0000 + + docs: Add long descriptions + + The json-boxed and json-serializable sections are missing the + long description for the API reference. + + json-glib/json-gboxed.c | 49 +++++++++++++++++++++++++++++++++++++--- + json-glib/json-serializable.c | 5 +++- + 2 files changed, 49 insertions(+), 5 deletions(-) + +commit 498827110f3d635e545c7351732551676a06a1bf +Author: Emmanuele Bassi +Date: Wed Oct 28 10:07:39 2009 +0000 + + docs: Add the 0.10 symbols index + + doc/reference/json-glib-docs.xml | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +commit 0979bbceb654c5e4b5dadf1e6f7e85bb9df87ca5 +Author: Emmanuele Bassi +Date: Tue Oct 27 20:58:08 2009 +0000 + + docs: Split out GObject-related sections + + Like commit c176f70e593c9cfb4901cd9f27ce54b8aa7152f2 did for the + source code, the documentation should be split three-ways: + + • GObject-related API + • JsonSerializable + • GBoxed-related API + + doc/reference/Makefile.am | 15 +++++++-------- + doc/reference/json-glib-docs.xml | 2 ++ + doc/reference/json-glib-sections.txt | 33 +++++++++++++++++++++++++++------ + 3 files changed, 36 insertions(+), 14 deletions(-) + +commit 2f56ba9021ec4fe1574630404d6b24e4813cf1eb +Author: Emmanuele Bassi +Date: Tue Oct 27 20:57:52 2009 +0000 + + docs: Documentation fixes for gtk-doc + + json-glib/json-gboxed.c | 8 +++++--- + 1 files changed, 5 insertions(+), 3 deletions(-) + +commit c176f70e593c9cfb4901cd9f27ce54b8aa7152f2 +Author: Emmanuele Bassi +Date: Tue Oct 27 20:49:09 2009 +0000 + + build: Split out GBoxed and Serializable + + The json-gobject.c is getting pretty crowded; we should split out + the JsonBoxed API and the JsonSerialized implementation into their + separate source files. + + json-glib/Makefile.am | 4 + + json-glib/json-gboxed.c | 275 ++++++++++++++++++++++++++++ + json-glib/json-gobject-private.h | 39 ++++ + json-glib/json-gobject.c | 371 +------------------------------------- + json-glib/json-serializable.c | 154 ++++++++++++++++ + 5 files changed, 476 insertions(+), 367 deletions(-) + +commit 373fa3d9b73391b38620fbd9ce9b69f358e5f4c8 +Author: Emmanuele Bassi +Date: Tue Oct 27 18:10:19 2009 +0000 + + gobject: Make GObject<->JsonObject functions public + + The functions mapping a GObject to and from a JsonObject should + be public, as they can be used by parsers. + + json-glib/json-gobject.c | 30 ++++++++++++++++++++++++++++-- + json-glib/json-gobject.h | 16 ++++++++++------ + 2 files changed, 38 insertions(+), 8 deletions(-) + +commit 85f7a8e8206168d95b3ef9c02aa584f0fae5b37e +Author: Emmanuele Bassi +Date: Tue Oct 27 18:03:11 2009 +0000 + + gobject: Reuse the list data + + Since we ignore all members that don't have a corresponding + GParamSpec for the class we cannot use: + + members = g_list_prepend (members, pspec->name); + + Because pspec might also be NULL. We can reuse the GList iterator + data field, since that points to data internal to the JsonObject + we are iterating over. + + json-glib/json-gobject.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit ff986ee5b8df45255f4f5ab01be0bbad893bc55e +Author: Emmanuele Bassi +Date: Tue Oct 27 17:53:34 2009 +0000 + + gobject: Add experimental GBoxed<->JSON transformation + + Serializing and deserializing GBoxed types is fairly complicated + currently. If a GObject implements JsonSerializable it is possible + for the class to intercept the JsonNode, parse it manually and + then set the value to the property. + + This leaves a hole opened for: + + • manual (de)serialization of GBoxed types + • (de)serialization of GBoxed properties in classes not + implementing JsonSerializable + + In order to serialize and deserialize a GBoxed JSON-GLib should + provide a mechanism similar to the GValue transformation functions: + when registering the boxed type the developer should also be able + to register a serialization and a deserialization functions pair + matching the tuple: + + (GBoxed type, JSON type) + + The serialization function would be: + + JsonNode *(* JsonBoxedSerializeFunc) (gconstpointer boxed); + + And, conversely, the deserialization function would be: + + gpointer (* JsonBoxedDeserializeFunc) (JsonNode *node); + + Obviously, the whole machinery works only for GBoxed types that + register the serialization and deserialization functions. + + .gitignore | 68 ++++++----- + json-glib/json-gobject.c | 264 +++++++++++++++++++++++++++++++++++++++++- + json-glib/json-gobject.h | 37 ++++++ + tests/Makefile.am | 8 +- + tests/test-serialize-boxed.c | 263 +++++++++++++++++++++++++++++++++++++++++ + 5 files changed, 602 insertions(+), 38 deletions(-) + +commit 7f6a73a0964b66b15e8b5a9858b9bc76b010f67b +Author: Emmanuele Bassi +Date: Tue Oct 27 17:43:38 2009 +0000 + + node: Add a private NodeType-to-string converter + + Useful for debugging and logging purposes. + + json-glib/json-node.c | 23 ++++++++++++++++++++++- + json-glib/json-types-private.h | 2 ++ + 2 files changed, 24 insertions(+), 1 deletions(-) + +commit 3f8990f7a4c362590f19e427aae2f68f27303fe6 +Author: Emmanuele Bassi +Date: Tue Oct 27 17:42:14 2009 +0000 + + Remove a stray ';' that broke deserializing GStrv + + The stray semicolon was preventing the GPtrArray from being + updated. + + json-glib/json-gobject.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 8e550ac4dbb5500a40c7adad88868ede40397db7 +Author: Emmanuele Bassi +Date: Tue Oct 27 17:41:38 2009 +0000 + + Fix compiler warnings (remove unused variables) + + json-glib/json-gobject.c | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +commit 3b994a52d9c34f67e4ac52aa4bb0c380789fbd60 +Author: Emmanuele Bassi +Date: Tue Oct 27 17:40:55 2009 +0000 + + build: Export MAINTAINER_CFLAGS + + Apparently, the MAINTAINER_CFLAGS were ignored. + + configure.ac | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 0810711a7fbb915ba9397a66e77babb30765d090 +Author: Emmanuele Bassi +Date: Tue Oct 27 17:40:23 2009 +0000 + + build: Use AM_PROG_CC_C_O + + Use the Automake macro to enable per-target compiler flags. + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit d664f886372afbe1d54e633240e7b7e06ebc45c8 +Author: Emmanuele Bassi +Date: Tue Oct 27 17:40:03 2009 +0000 + + Fix compiler warnings (remove unused variables) + + tests/test-generator.c | 4 ++-- + tests/test-serialize-full.c | 1 - + 2 files changed, 2 insertions(+), 3 deletions(-) + +commit 83dea3b3dd2281dca206e0873b5fed0a2a3d50de +Author: Emmanuele Bassi +Date: Tue Oct 27 14:01:24 2009 +0000 + + gobject: Support constructor properties + + The GObject deserialization code currently skips all the constructor + and constructor-only properties. In order to implement them we can + add a preliminary pass on the JSON object members and build a + GParameter array. + + As we don't have a GObject instance we cannot really use the + Serializable interface to provide custom parsing for complex data + structures, thus we fall back to the default deserialization code + path. + + json-glib/json-gobject.c | 98 ++++++++++++++++++++++++++++++++++++++----- + tests/test-serialize-full.c | 11 +++-- + 2 files changed, 93 insertions(+), 16 deletions(-) + +commit 2616938c7c042fced9be197205a535a8b420534e +Author: Emmanuele Bassi +Date: Tue Oct 27 11:57:38 2009 +0000 + + build: Clean up the build environment + + Some of the rules can be moved into their own files to be included + when needed, like: + + • silent rules (QUIET_*) + • glib-mkenums rules + • glib-genmarshal rules + + Also, the test suite rules should be moved from the top-level of + the project into the build/autotools directory and then included + only where it makes sense. + + This requires changing most of the build system to use the new + files layout. + + .gitignore | 4 +- + Makefile.am | 5 +- + Makefile.decl | 61 ------------------------ + build/Makefile.am | 12 ++++- + build/autotools/Makefile.am | 21 +++++++-- + build/autotools/Makefile.am.enums | 43 +++++++++++++++++ + build/autotools/Makefile.am.gtest | 61 ++++++++++++++++++++++++ + build/autotools/Makefile.am.marshal | 45 ++++++++++++++++++ + build/autotools/Makefile.am.silent | 17 +++++++ + doc/Makefile.am | 12 ++++- + doc/reference/Makefile.am | 5 +- + json-glib/Makefile.am | 88 +++++++++++------------------------ + json-glib/tests/Makefile.am | 12 +++-- + tests/Makefile.am | 15 ++---- + 14 files changed, 252 insertions(+), 149 deletions(-) + +commit 5406301b0e3bf74c0d7ae47a618c416d5c6dc29d +Author: Emmanuele Bassi +Date: Tue Oct 27 11:30:55 2009 +0000 + + gobject: Serialize properties holding a GObject + + Like we deserialize them, we can serialize GObject properties + defined using GParamSpecObject. + + json-glib/json-gobject.c | 14 ++++++++++++++ + 1 files changed, 14 insertions(+), 0 deletions(-) + +commit 3a2176ebf96b33716d1b50068ca44b1d3cd9b0c8 +Author: Emmanuele Bassi +Date: Tue Oct 27 11:29:32 2009 +0000 + + tests: Use properties to change values + + The values inside _init() should match the default values of the + properties as specified by the GParamSpec. If we want to verify + a non-default value we should specify the value when instantiating + the object. + + tests/test-serialize-simple.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 1ff48cdc5d773925bda1ddf8bc904a9ea6a5e643 +Author: Emmanuele Bassi +Date: Tue Oct 27 11:18:51 2009 +0000 + + gobject: Split GObject serialization code + + Like for the deserialization of a GObject into a JsonObject we + should split out the serialization of a GObject into a JsonObject + part of json_serialize_gobject() into its own private function. + + json-glib/json-gobject.c | 113 +++++++++++++++++++++++++--------------------- + 1 files changed, 61 insertions(+), 52 deletions(-) + +commit 27afed8dc89bf9562c3536f0a053d250e70eea4d +Author: Emmanuele Bassi +Date: Tue Oct 27 10:30:27 2009 +0000 + + gobject: Recurse in GParamSpecObject properties + + Use the newly added json_gobject_new() internal function to + recurse into properties defined using GParamSpecObject. + + The same rules used by json_construct_gobject() apply to the + properties storing a GObject - including JsonSerializable + support. + + The test case for serialization and deserialization of a + GObject has been updated to include a property holding a + GObject. + + json-glib/json-gobject.c | 14 +++++++++- + tests/test-serialize-full.c | 58 +++++++++++++++++++++++++++++++++++++----- + 2 files changed, 64 insertions(+), 8 deletions(-) + +commit 317447b52455c56b0123168ab127ce026d7d0c22 +Author: Emmanuele Bassi +Date: Tue Oct 27 10:20:42 2009 +0000 + + gobject: Split JSON to GObject code + + If we want to be able to parse a GParamSpecObject property + we need to use the same code as json_construct_gobject(), minus + the parsing. + + json-glib/json-gobject.c | 152 +++++++++++++++++++++++++--------------------- + 1 files changed, 83 insertions(+), 69 deletions(-) + +commit cba7db96581343e3cbd8e5eb067026efb8cac24e +Author: Emmanuele Bassi +Date: Mon Oct 26 22:36:01 2009 +0000 + + object: Guarantee insertion order + + When iterating over the members of a JsonObject, or when retrieving + the list of members, the insertion order should be preserved by the + JsonObject. This is simply implemented by keeping a mirror list of + the member names. + + Apparently, though JSON does not guarantee any ordering, it is somewhat + expected by JSON (and ECMAScript) users. + + json-glib/json-object.c | 67 +++++++++++++++++++++------------------- + json-glib/json-types-private.h | 3 ++ + tests/test-generator.c | 3 +- + 3 files changed, 40 insertions(+), 33 deletions(-) + +commit d5bebce0286aef5c4b4110c16c22a8ef3dc38405 +Author: Emmanuele Bassi +Date: Mon Sep 28 18:15:48 2009 +0100 + + [node] Add HOLDS macros for quick type checking + + JsonNode should mimick GValue's API and have macros for easy type checking + + doc/reference/json-glib-sections.txt | 7 ++++- + json-glib/json-types.h | 51 ++++++++++++++++++++++++++++++++++ + json-glib/tests/node-test.c | 2 +- + 3 files changed, 58 insertions(+), 2 deletions(-) + +commit 17fc731ed54b754285bac76c7ac23eac6b96bf24 +Author: Emmanuele Bassi +Date: Mon Sep 28 14:02:14 2009 +0100 + + [tests] Add a test case for Object members with empty strings + + Both the Object API and the Parser should not choke on members with + empty strings as their value. The Object should just have a member + associated with a JSON_NODE_VALUE node type and an empty string as + the contents. + + json-glib/tests/object-test.c | 13 +++++++++++++ + tests/test-parser.c | 1 + + 2 files changed, 14 insertions(+), 0 deletions(-) + +commit 5181bf24bf3cde743de590ab3ffa0471df9e4799 +Author: Emmanuele Bassi +Date: Tue Sep 22 15:42:34 2009 +0100 + + Post-branch bump to 0.9.1 + + configure.ac | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 3f83767109979c660469b3b5862fbd04469a8011 +Author: Emmanuele Bassi +Date: Tue Sep 22 15:39:46 2009 +0100 + + [release] 0.8.0 + + NEWS | 2 ++ + configure.ac | 8 ++++++-- + 2 files changed, 8 insertions(+), 2 deletions(-) + +commit bd604338b25884edbd86cf531505259948484323 +Author: Emmanuele Bassi +Date: Tue Sep 22 15:34:18 2009 +0100 + + [parser] Return the right expected token + + When parsing a value embedded in a Json Object or Array we need to + return the right expected token so that the generated syntax error + will be correct. + + json-glib/json-parser.c | 16 ++++++++++++++-- + 1 files changed, 14 insertions(+), 2 deletions(-) + +commit f99cf3d3d038eff786f85409f3d04736e2068e74 +Author: Emmanuele Bassi +Date: Tue Sep 22 15:34:07 2009 +0100 + + [parser] Whitespace clean up + + json-glib/json-parser.c | 11 ++++++----- + 1 files changed, 6 insertions(+), 5 deletions(-) + +commit 6c20aae2b49a6d64db5e7d1ff3a82950ea9dc58a +Author: Emmanuele Bassi +Date: Mon Sep 7 22:30:11 2009 +0100 + + [build] Prefer automake-1.11 silent rules to shave + + If we have automake-1.11 installed then we should enable the + AM_SILENT_RULES machinery instead of Shave - even though Shave's + output is a lot cleaner. + + autogen.sh | 2 +- + configure.ac | 20 ++++++++++++++++---- + json-glib/Makefile.am | 6 +++++- + 3 files changed, 22 insertions(+), 6 deletions(-) + +commit 7b4bb80930f12a366d5e5a5eea5b398972cd4891 +Author: Emmanuele Bassi +Date: Sun Sep 6 17:31:41 2009 +0100 + + [node] Add JsonNode.set_parent() + + Add the setter for JsonNode:parent, to be used in JsonParser instead + of directly accessing the JsonNode structure. + + doc/reference/json-glib-sections.txt | 1 + + json-glib/json-node.c | 18 ++++++++++++++++++ + json-glib/json-parser.c | 14 +++++++------- + json-glib/json-types.h | 2 ++ + tests/test-parser.c | 10 ++++++++++ + 5 files changed, 38 insertions(+), 7 deletions(-) + +commit c1b76a73e0b2c6e0c7afced10bd6079a0f5b0f5d +Author: Emmanuele Bassi +Date: Sun Sep 6 17:15:46 2009 +0100 + + [parser] Clean up value parsing + + The code that parses a value within an object and an array should + be moved to its own function to avoid duplication. + + json-glib/json-parser.c | 199 +++++++++++++++++++---------------------------- + tests/test-parser.c | 9 +- + 2 files changed, 86 insertions(+), 122 deletions(-) + +commit d3f005c27d9a8a46259205f2f8077fb01a6a3609 +Author: Emmanuele Bassi +Date: Sun Sep 6 14:44:18 2009 +0100 + + [docs] Use proper xi:include for indexes + + Instead of relying on gtk-doc we can do the proper inclusion of the + API indexes using XInclude, complete with fallbacks. + + Also, we should include the additional pages that gtk-doc generates + for us, like the annotations glossary and the object tree. + + doc/reference/json-glib-docs.xml | 17 +++++++++++++++++ + 1 files changed, 17 insertions(+), 0 deletions(-) + +commit 7442a3011a860f12cbd40b6687b699b0b648d6b7 +Author: Emmanuele Bassi +Date: Wed Sep 2 16:41:51 2009 +0100 + + [docs] Small documentation fixes + + Clean up some notes, and add introspection annotations where needed. + + json-glib/json-generator.c | 11 ++++++----- + json-glib/json-gobject.c | 24 ++++++++++++------------ + json-glib/json-parser.c | 3 ++- + 3 files changed, 20 insertions(+), 18 deletions(-) + +commit d7d1e702b1d67fa1ec830a46650a02367ce1dd29 +Author: Emmanuele Bassi +Date: Sun Aug 16 05:52:46 2009 +0100 + + [docs] Remove note about normalization of member names + + The normalization of member names inside JsonObject was removed by + commit 8a7e0f381dc7e49745680df92ebb428f18bf4832. + + json-glib/json-object.c | 6 +----- + 1 files changed, 1 insertions(+), 5 deletions(-) + +commit 9362ccc891c914dbcf1be6bd067b0b37ae688057 +Author: Emmanuele Bassi +Date: Thu Aug 13 15:10:27 2009 +0100 + + [docs] Generate new symbols index for 0.6 and 0.8 + + doc/reference/json-glib-docs.xml | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +commit 087bfe83412dca8de1b2dd67c74f490e44ecb96a +Author: Emmanuele Bassi +Date: Thu Aug 13 15:10:07 2009 +0100 + + [docs] Remove the version number from the title + + doc/reference/json-glib-docs.xml | 11 ++++++++--- + 1 files changed, 8 insertions(+), 3 deletions(-) + +commit c7d31d55b50b23c6c1067cb3541f73dddc12127a +Author: Emmanuele Bassi +Date: Thu Aug 13 15:08:56 2009 +0100 + + [docs] Let gtk-doc build the correct index + + Use the --name-space command line argument for gtk-doc to detect the + right namespace of JSON-GLib, and create a useful index. + + doc/reference/Makefile.am | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit be07ba7b983b34231ad2f0fd7fe60ae47b14ce7e +Author: Emmanuele Bassi +Date: Thu Aug 13 14:51:42 2009 +0100 + + [docs] Rename main file to json-glib-docs.xml + + doc/reference/Makefile.am | 36 +++++---- + doc/reference/json-glib-docs.sgml | 163 ------------------------------------- + doc/reference/json-glib-docs.xml | 163 +++++++++++++++++++++++++++++++++++++ + 3 files changed, 182 insertions(+), 180 deletions(-) + +commit 9661ff342b439b5b398f7bf9ba931d6139d5143d +Author: Emmanuele Bassi +Date: Wed Aug 12 16:09:33 2009 +0100 + + Post-release version bump to 0.7.7 + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + commit d5922b42604c09ba7ebcb0adc1566d0a33a99808 Author: Emmanuele Bassi Date: Wed Aug 12 16:06:40 2009 +0100 diff -Nru json-glib-0.7.6/compile json-glib-0.10.2/compile --- json-glib-0.7.6/compile 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/compile 2010-02-26 14:04:29.000000000 +0000 @@ -0,0 +1,143 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2009-10-06.20; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software +# Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; +esac + +ofile= +cfile= +eat= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we strip `-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff -Nru json-glib-0.7.6/config.guess json-glib-0.10.2/config.guess --- json-glib-0.7.6/config.guess 2009-08-12 16:07:32.000000000 +0100 +++ json-glib-0.10.2/config.guess 2010-02-26 14:04:29.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2009-04-27' +timestamp='2009-11-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -27,16 +27,16 @@ # the same distribution terms that you use for the rest of that program. -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` @@ -170,7 +170,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -333,6 +333,9 @@ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" @@ -656,7 +659,7 @@ # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null + grep -q __LP64__ then HP_ARCH="hppa2.0w" else @@ -807,12 +810,12 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - *:Interix*:[3456]*) + *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T | authenticamd | genuineintel) + authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) @@ -822,6 +825,9 @@ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -851,6 +857,20 @@ i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ @@ -873,6 +893,17 @@ frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; @@ -882,78 +913,34 @@ m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) + mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU - #undef mips64 - #undef mips64el + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el + CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 + CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in @@ -962,8 +949,11 @@ *) echo hppa-unknown-linux-gnu ;; esac exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux @@ -986,66 +976,6 @@ xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both @@ -1074,7 +1004,7 @@ i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) @@ -1182,7 +1112,7 @@ rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) @@ -1275,6 +1205,16 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} diff -Nru json-glib-0.7.6/config.h.in json-glib-0.10.2/config.h.in --- json-glib-0.7.6/config.h.in 2009-08-12 16:07:31.000000000 +0100 +++ json-glib-0.10.2/config.h.in 2010-02-26 14:04:27.000000000 +0000 @@ -44,6 +44,9 @@ */ #undef LT_OBJDIR +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + /* Name of package */ #undef PACKAGE diff -Nru json-glib-0.7.6/config.sub json-glib-0.10.2/config.sub --- json-glib-0.7.6/config.sub 2009-08-12 16:07:32.000000000 +0100 +++ json-glib-0.10.2/config.sub 2010-02-26 14:04:29.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2009-04-17' +timestamp='2009-11-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -32,13 +32,16 @@ # Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. @@ -149,10 +152,13 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) + -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 @@ -281,6 +287,7 @@ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ + | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ @@ -288,13 +295,14 @@ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ + | ubicom32 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12) + m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none @@ -337,7 +345,7 @@ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -365,7 +373,7 @@ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ - | romp-* | rs6000-* \ + | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ @@ -374,6 +382,7 @@ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | tron-* \ + | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ @@ -467,6 +476,10 @@ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; c90) basic_machine=c90-cray os=-unicos @@ -719,6 +732,9 @@ basic_machine=ns32k-utek os=-sysv ;; + microblaze) + basic_machine=microblaze-xilinx + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -1240,6 +1256,9 @@ # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; @@ -1260,9 +1279,9 @@ # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -kopensolaris* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ @@ -1283,7 +1302,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1613,7 +1632,7 @@ -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) diff -Nru json-glib-0.7.6/configure json-glib-0.10.2/configure --- json-glib-0.7.6/configure 2009-08-12 16:07:31.000000000 +0100 +++ json-glib-0.10.2/configure 2010-02-26 14:04:27.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for json-glib 0.7.6. +# Generated by GNU Autoconf 2.63 for json-glib 0.10.2. # # Report bugs to . # @@ -745,8 +745,8 @@ # Identity of this package. PACKAGE_NAME='json-glib' PACKAGE_TARNAME='json-glib' -PACKAGE_VERSION='0.7.6' -PACKAGE_STRING='json-glib 0.7.6' +PACKAGE_VERSION='0.10.2' +PACKAGE_STRING='json-glib 0.10.2' PACKAGE_BUGREPORT='http://bugzilla.openedhand.com/enter_bug.cgi?product=json-glib' ac_unique_file="json-glib/json-glib.h" @@ -786,16 +786,13 @@ # include #endif" -ac_subst_vars='LTLIBOBJS -Q -V -OBJC -F77 -FC -CXX -AM_MAKEFLAGS -MAKEFLAGS -shavedir +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +USE_SHAVE_FALSE +USE_SHAVE_TRUE +AM_BACKSLASH +AM_DEFAULT_VERBOSITY HAVE_INTROSPECTION_FALSE HAVE_INTROSPECTION_TRUE INTROSPECTION_TYPELIBDIR @@ -809,6 +806,7 @@ ENABLE_GTK_DOC_TRUE GTKDOC_CHECK HTML_DIR +MAINTAINER_CFLAGS JSON_DEBUG_CFLAGS ENABLE_GLIB_TEST_FALSE ENABLE_GLIB_TEST_TRUE @@ -817,6 +815,7 @@ GLIB_PREFIX LIBOBJS JSON_LT_LDFLAGS +JSON_RELEASE_STATUS JSON_VERSION JSON_MINOR_VERSION JSON_MICRO_VERSION @@ -947,7 +946,7 @@ with_html_dir enable_gtk_doc enable_introspection -enable_shave +enable_silent_rules ' ac_precious_vars='build_alias host_alias @@ -1513,7 +1512,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures json-glib 0.7.6 to adapt to many kinds of systems. +\`configure' configures json-glib 0.10.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1583,7 +1582,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of json-glib 0.7.6:";; + short | recursive ) echo "Configuration of json-glib 0.10.2:";; esac cat <<\_ACEOF @@ -1607,7 +1606,8 @@ --enable-gtk-doc use gtk-doc to build documentation [default=no] --enable-introspection=[no/auto/yes] Enable introspection for this build - --enable-shave use shave to make the build pretty [default=yes] + --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0') Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1696,7 +1696,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -json-glib configure 0.7.6 +json-glib configure 0.10.2 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1710,7 +1710,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by json-glib $as_me 0.7.6, which was +It was created by json-glib $as_me 0.10.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2082,7 +2082,7 @@ -am__api_version='1.10' +am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2213,16 +2213,33 @@ # Just in case sleep 1 echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 +$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} + { (exit 1); exit 1; }; };; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 +$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} + { (exit 1); exit 1; }; };; +esac + # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` + set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ @@ -2266,7 +2283,14 @@ # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " @@ -2276,6 +2300,115 @@ $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then @@ -2430,7 +2563,7 @@ # Define the identity of the package. PACKAGE='json-glib' - VERSION='0.7.6' + VERSION='0.10.2' cat >>confdefs.h <<_ACEOF @@ -2458,108 +2591,6 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. @@ -2614,7 +2645,7 @@ am_make=${MAKE-make} cat > confinc << 'END' am__doit: - @echo done + @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. @@ -2625,24 +2656,24 @@ _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac fi @@ -3631,6 +3662,11 @@ if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and @@ -3648,7 +3684,17 @@ done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested @@ -3658,19 +3704,23 @@ break fi ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; none) break ;; esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message @@ -4120,21 +4170,153 @@ rm -f conf.glibtest -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac - - - -macro_version='2.2.6' -macro_revision='1.3012' - - - - - +if test "x$CC" != xcc; then + { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + +cat >>confdefs.h <<\_ACEOF +#define NO_MINUS_C_MINUS_O 1 +_ACEOF + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.2.6b' +macro_revision='1.3017' + + + + + @@ -4822,13 +5004,13 @@ else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4825: $ac_compile\"" >&5) + (eval echo "\"\$as_me:5007: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4828: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:5010: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4831: output\"" >&5) + (eval echo "\"\$as_me:5013: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5298,7 +5480,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -6033,7 +6215,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6036 "configure"' > conftest.$ac_ext + echo '#line 6218 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7860,11 +8042,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7863: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8045: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7867: \$? = $ac_status" >&5 + echo "$as_me:8049: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8199,11 +8381,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8202: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8384: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8206: \$? = $ac_status" >&5 + echo "$as_me:8388: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8304,11 +8486,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8307: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8489: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8311: \$? = $ac_status" >&5 + echo "$as_me:8493: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8359,11 +8541,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8362: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8544: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8366: \$? = $ac_status" >&5 + echo "$as_me:8548: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8478,9 +8660,6 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - link_all_deplibs=no - ;; esac ld_shlibs=yes @@ -8663,7 +8842,7 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -8838,7 +9017,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -9253,7 +9431,7 @@ link_all_deplibs=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -10215,10 +10393,13 @@ # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -10230,18 +10411,6 @@ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -11175,7 +11344,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11178 "configure" +#line 11347 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11271,7 +11440,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11274 "configure" +#line 11443 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11445,868 +11614,79 @@ aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - -# Honor aclocal flags -ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" - -JSON_MAJOR_VERSION=0 -JSON_MINOR_VERSION=7 -JSON_MICRO_VERSION=6 -JSON_VERSION=0.7.6 - - - - - -JSON_LT_CURRENT=706 -JSON_LT_REVISION=0 -JSON_LT_AGE=706 -JSON_LT_VERSION="$JSON_LT_CURRENT:$JSON_LT_REVISION:$JSON_LT_AGE" -JSON_LT_LDFLAGS="-version-info $JSON_LT_VERSION" - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + esac + { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } -fi + { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes + { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -depcc="$CC" am_compiler_list= +CC="$lt_save_CC" -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi -fi -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + +# Honor aclocal flags +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + +JSON_MAJOR_VERSION=0 +JSON_MINOR_VERSION=10 +JSON_MICRO_VERSION=2 +JSON_VERSION=0.10.2 +JSON_RELEASE_STATUS=release + + + + + + +JSON_LT_CURRENT=1000 +JSON_LT_REVISION=2 +JSON_LT_AGE=1000 +JSON_LT_VERSION="$JSON_LT_CURRENT:$JSON_LT_REVISION:$JSON_LT_AGE" +JSON_LT_LDFLAGS="-version-info $JSON_LT_VERSION" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 @@ -13440,11 +12820,10 @@ { $as_echo "$as_me:$LINENO: checking for JSON" >&5 $as_echo_n "checking for JSON... " >&6; } -if test -n "$PKG_CONFIG"; then - if test -n "$JSON_CFLAGS"; then - pkg_cv_JSON_CFLAGS="$JSON_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ +if test -n "$JSON_CFLAGS"; then + pkg_cv_JSON_CFLAGS="$JSON_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.15\"") >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.15") 2>&5 ac_status=$? @@ -13454,15 +12833,13 @@ else pkg_failed=yes fi - fi -else - pkg_failed=untried + else + pkg_failed=untried fi -if test -n "$PKG_CONFIG"; then - if test -n "$JSON_LIBS"; then - pkg_cv_JSON_LIBS="$JSON_LIBS" - else - if test -n "$PKG_CONFIG" && \ +if test -n "$JSON_LIBS"; then + pkg_cv_JSON_LIBS="$JSON_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.15\"") >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.15") 2>&5 ac_status=$? @@ -13472,9 +12849,8 @@ else pkg_failed=yes fi - fi -else - pkg_failed=untried + else + pkg_failed=untried fi @@ -13487,9 +12863,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0 >= 2.15"` + JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.15" 2>&1` else - JSON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= 2.15"` + JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.15" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$JSON_PKG_ERRORS" >&5 @@ -13567,7 +12943,7 @@ if test "${enable_debug+set}" = set; then enableval=$enable_debug; else - enable_debug=yes + enable_debug=minimum fi @@ -13598,7 +12974,7 @@ if test "${enable_maintainer_flags+set}" = set; then enableval=$enable_maintainer_flags; else - enable_maintainer_flags=yes + enable_maintainer_flags=no fi @@ -13607,7 +12983,9 @@ list="-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wformat-security - -Winit-self -Wempty-body" + -Wno-strict-aliasing -Winit-self + -Wempty-body -Wdeclaration-after-statement + -Wno-strict-aliasing -Wno-strict-aliasing" flags_supported="" flags_unsupported="" { $as_echo "$as_me:$LINENO: checking for supported compiler flags" >&5 @@ -13681,6 +13059,7 @@ + # Check whether --with-html-dir was given. if test "${with_html_dir+set}" = set; then withval=$with_html_dir; @@ -13813,21 +13192,21 @@ { (exit 1); exit 1; }; } fi if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5 - ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5 + ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then found_introspection=yes else - { { $as_echo "$as_me:$LINENO: error: You need to have gobject-introspection >= 0.6.3 installed to build json-glib" >&5 -$as_echo "$as_me: error: You need to have gobject-introspection >= 0.6.3 installed to build json-glib" >&2;} + { { $as_echo "$as_me:$LINENO: error: You need to have gobject-introspection >= 0.6.4 installed to build json-glib" >&5 +$as_echo "$as_me: error: You need to have gobject-introspection >= 0.6.4 installed to build json-glib" >&2;} { (exit 1); exit 1; }; } fi ;; auto) if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5 - ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\"") >&5 + ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then @@ -13875,95 +13254,31 @@ - - # Check whether --enable-shave was given. -if test "${enable_shave+set}" = set; then - enableval=$enable_shave; -else - enable_shave=yes - + # Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then + enableval=$enable_silent_rules; fi +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=0;; +esac +AM_BACKSLASH='\' + use_shave=no - if test x"$enable_shave" = xyes; then - shavedir="$ac_pwd/build/autotools" - - - MAKEFLAGS=-s - - AM_MAKEFLAGS='`test -z $V && echo -s`' - - - # Extract the first word of "sed", so it can be a program name with args. -set dummy sed; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_SED+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$SED"; then - ac_cv_prog_SED="$SED" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_SED="sed" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false" -fi -fi -SED=$ac_cv_prog_SED -if test -n "$SED"; then - { $as_echo "$as_me:$LINENO: result: $SED" >&5 -$as_echo "$SED" >&6; } + if test "x$use_shave" = "xyes"; then + USE_SHAVE_TRUE= + USE_SHAVE_FALSE='#' else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } + USE_SHAVE_TRUE='#' + USE_SHAVE_FALSE= fi - - SHAVE_SAVED_LIBTOOL=$LIBTOOL - LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'" - - - SHAVE_SAVED_CC=$CC - SHAVE_SAVED_CXX=$CXX - SHAVE_SAVED_FC=$FC - SHAVE_SAVED_F77=$F77 - SHAVE_SAVED_OBJC=$OBJC - CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}" - CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}" - FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}" - F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}" - OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}" - - - - - - - V=@ - else - V=1 - fi - Q='$(V:1=)' - - - - -ac_config_files="$ac_config_files Makefile build/Makefile build/autotools/Makefile build/autotools/shave-libtool build/autotools/shave json-glib/Makefile json-glib/json-version.h json-glib/tests/Makefile tests/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml json-glib.pc" +ac_config_files="$ac_config_files Makefile build/Makefile build/autotools/Makefile json-glib/Makefile json-glib/json-version.h json-glib/tests/Makefile tests/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml json-glib.pc" cat >confcache <<\_ACEOF @@ -14063,6 +13378,14 @@ LTLIBOBJS=$ac_ltlibobjs + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -14077,13 +13400,6 @@ Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi if test -z "${ENABLE_GLIB_TEST_TRUE}" && test -z "${ENABLE_GLIB_TEST_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GLIB_TEST\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -14112,6 +13428,13 @@ Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${USE_SHAVE_TRUE}" && test -z "${USE_SHAVE_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SHAVE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"USE_SHAVE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 @@ -14434,7 +13757,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by json-glib $as_me 0.7.6, which was +This file was extended by json-glib $as_me 0.10.2, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14497,7 +13820,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -json-glib config.status 0.7.6 +json-glib config.status 0.10.2 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" @@ -14881,8 +14204,6 @@ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;; - "build/autotools/shave-libtool") CONFIG_FILES="$CONFIG_FILES build/autotools/shave-libtool" ;; - "build/autotools/shave") CONFIG_FILES="$CONFIG_FILES build/autotools/shave" ;; "json-glib/Makefile") CONFIG_FILES="$CONFIG_FILES json-glib/Makefile" ;; "json-glib/json-version.h") CONFIG_FILES="$CONFIG_FILES json-glib/json-version.h" ;; "json-glib/tests/Makefile") CONFIG_FILES="$CONFIG_FILES json-glib/tests/Makefile" ;; @@ -15545,27 +14866,28 @@ case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files -# are listed without --file. Let's play safe and only enable the eval -# if we detect the quoting. -case $CONFIG_FILES in -*\'*) eval set x "$CONFIG_FILES" ;; -*) set x $CONFIG_FILES ;; -esac -shift -for mf -do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ @@ -15588,28 +14910,28 @@ q } s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ @@ -15632,7 +14954,7 @@ q } s/.*/./; q'` - { as_dir=$dirpart/$fdir + { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac @@ -15673,10 +14995,11 @@ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done done -done +} ;; "libtool":C) @@ -16355,13 +15678,18 @@ fi + +echo "" +echo " Json-GLib - $VERSION (${JSON_RELEASE_STATUS})" +echo "" +echo " • Prefix: ${prefix}" +echo "" +echo " • Debug level: ${enable_debug}" +echo " • Compiler flags: ${MAINTAINER_CFLAGS}" +echo " • Use shave: ${use_shave}" echo "" -echo " Json-GLib $VERSION" +echo " • API reference: ${enable_gtk_doc}" echo "" -echo " Prefix: ${prefix}" -echo " Debug level: ${enable_debug}" -echo " Compiler flags: ${MAINTAINER_CFLAGS}" -echo " API reference: ${enable_gtk_doc}" -echo " Enable test suite: ${enable_glibtest}" -echo " Build introspection data: ${enable_introspection}" +echo " • Enable test suite: ${enable_glibtest}" +echo " • Build introspection data: ${enable_introspection}" echo "" diff -Nru json-glib-0.7.6/configure.ac json-glib-0.10.2/configure.ac --- json-glib-0.7.6/configure.ac 2009-08-12 16:06:24.000000000 +0100 +++ json-glib-0.10.2/configure.ac 2010-02-26 14:03:50.000000000 +0000 @@ -1,10 +1,19 @@ +# bump micro_version to the next even number for each point release +# bump micro_version to the next odd number after each release m4_define([json_major_version], [0]) -m4_define([json_minor_version], [7]) -m4_define([json_micro_version], [6]) +m4_define([json_minor_version], [10]) +m4_define([json_micro_version], [2]) m4_define([json_version], [json_major_version.json_minor_version.json_micro_version]) -m4_define([json_interface_age], [0]) +m4_define([json_release_status], + [m4_if(m4_eval(json_micro_version % 2), [1], [git], + [m4_if(m4_eval(json_minor_version % 2), [1], [snapshot], + [release])])]) + +# bump up by 1 for every micro release with no API changes, otherwise +# set to 0. after release, bump up by 1 +m4_define([json_interface_age], [2]) m4_define([json_binary_age], [m4_eval(100 * json_minor_version + json_micro_version)]) m4_define([lt_current], [m4_eval(100 * json_minor_version + json_micro_version - json_interface_age)]) @@ -13,7 +22,7 @@ m4_define([glib_req_version], [2.15]) -AC_PREREQ([2.59]) +AC_PREREQ([2.61]) AC_INIT([json-glib], [json_version], @@ -28,6 +37,7 @@ AM_DISABLE_STATIC AM_PATH_GLIB_2_0 +AM_PROG_CC_C_O AM_PROG_LIBTOOL # Honor aclocal flags @@ -37,10 +47,12 @@ JSON_MINOR_VERSION=json_minor_version JSON_MICRO_VERSION=json_micro_version JSON_VERSION=json_version +JSON_RELEASE_STATUS=json_release_status AC_SUBST(JSON_MAJOR_VERSION) AC_SUBST(JSON_MICRO_VERSION) AC_SUBST(JSON_MINOR_VERSION) AC_SUBST(JSON_VERSION) +AC_SUBST(JSON_RELEASE_STATUS) JSON_LT_CURRENT=lt_current JSON_LT_REVISION=lt_revision @@ -49,7 +61,6 @@ JSON_LT_LDFLAGS="-version-info $JSON_LT_VERSION" AC_SUBST(JSON_LT_LDFLAGS) -AC_PROG_CC AC_HEADER_STDC AC_CHECK_HEADERS([unistd.h]) AC_C_CONST @@ -113,22 +124,37 @@ AS_COMPILER_FLAGS([MAINTAINER_CFLAGS], ["-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wformat-security - -Winit-self -Wempty-body"]) + -Wno-strict-aliasing -Winit-self + -Wempty-body -Wdeclaration-after-statement + -Wno-strict-aliasing -Wno-strict-aliasing"]) ] ) +AC_SUBST([MAINTAINER_CFLAGS]) GTK_DOC_CHECK([1.11]) -GOBJECT_INTROSPECTION_CHECK([0.6.3]) +GOBJECT_INTROSPECTION_CHECK([0.6.4]) -SHAVE_INIT([build/autotools], [enable]) +m4_ifdef([AM_SILENT_RULES], + [ + AM_SILENT_RULES([yes]) + use_shave=no + ], + [ + SHAVE_INIT([build/autotools], [enable]) + AC_CONFIG_FILES([ + build/autotools/shave-libtool + build/autotools/shave + ]) + use_shave=yes + ]) + +AM_CONDITIONAL([USE_SHAVE], [test "x$use_shave" = "xyes"]) AC_CONFIG_FILES([ Makefile build/Makefile build/autotools/Makefile - build/autotools/shave-libtool - build/autotools/shave json-glib/Makefile json-glib/json-version.h json-glib/tests/Makefile @@ -141,13 +167,19 @@ AC_OUTPUT +dnl === Summary =============================================================== + +echo "" +echo " Json-GLib - $VERSION (${JSON_RELEASE_STATUS})" +echo "" +echo " • Prefix: ${prefix}" +echo "" +echo " • Debug level: ${enable_debug}" +echo " • Compiler flags: ${MAINTAINER_CFLAGS}" +echo " • Use shave: ${use_shave}" echo "" -echo " Json-GLib $VERSION" +echo " • API reference: ${enable_gtk_doc}" echo "" -echo " Prefix: ${prefix}" -echo " Debug level: ${enable_debug}" -echo " Compiler flags: ${MAINTAINER_CFLAGS}" -echo " API reference: ${enable_gtk_doc}" -echo " Enable test suite: ${enable_glibtest}" -echo " Build introspection data: ${enable_introspection}" +echo " • Enable test suite: ${enable_glibtest}" +echo " • Build introspection data: ${enable_introspection}" echo "" diff -Nru json-glib-0.7.6/debian/changelog json-glib-0.10.2/debian/changelog --- json-glib-0.7.6/debian/changelog 2010-04-13 12:00:33.000000000 +0100 +++ json-glib-0.10.2/debian/changelog 2010-04-13 12:00:33.000000000 +0100 @@ -1,45 +1,28 @@ -json-glib (0.7.6-0ubuntu2) lucid; urgency=low +json-glib (0.10.2-2~ppa10.04+1) lucid; urgency=low - * rebuild rest of main for armel armv7/thumb2 optimization; - UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + * Merge new upstream release from Debian Experimental to my-ppa + * Change Maintainer value to match the DebianMaintainerField Spec. - -- Alexander Sack Sat, 06 Mar 2010 13:29:14 +0100 + -- Nicolas Derive Tue, 13 Apr 2010 12:41:45 +0200 -json-glib (0.7.6-0ubuntu1) karmic; urgency=low - - * Remove upstreamed patch from package - * New upstream release (0.7.6): - - Actually use the int64 support in the Scanner - * New upstream release (0.7.4) (LP: #416336): - - Pre-compute the escape table - - Use JSON_NODE_OBJECT, not JSON_NODE_ARRAY when creating the node in - json_object_set_object_member - - Fix typo in JsonObject::set_object_member() - - Verify parsing base values - - Advance the tokenizer to avoid an infinite loop - - Auto-promote integer types to G_TYPE_INT64 - - Do not sanitize the object member's name - - Disallow single header file inclusion - - Use our libtool for the typelib +json-glib (0.10.2-2) unstable; urgency=low - -- Rodrigo Moya Thu, 20 Aug 2009 11:36:21 +0200 + * Enable GObject introspection -json-glib (0.7.2-0ubuntu2) karmic; urgency=low + -- Rob Bradford Tue, 16 Mar 2010 06:07:32 +0000 - * Add upstream patch needed for couchdb-glib/evolution-couchdb +json-glib (0.10.2-1) unstable; urgency=low - -- Rodrigo Moya Wed, 08 Jul 2009 18:45:48 +0200 + * New upstream release -json-glib (0.7.2-0ubuntu1) karmic; urgency=low + -- Rob Bradford Mon, 15 Mar 2010 15:44:13 +0000 - [ Rodrigo Moya ] - * Package latest version, needed for upcoming couchdb-glib package. - (LP: #389461) +json-glib (0.8.0-1) unstable; urgency=low - [ Martin Pitt ] - * debian/rules: Enable test suite on build. + * New upstream release (Closes: #547673) + * Fix documentation symlink (Closes: #532712) - -- Rodrigo Moya Fri, 19 Jun 2009 13:27:49 +0200 + -- Ross Burton Mon, 28 Sep 2009 13:20:19 +0100 json-glib (0.6.2-3) unstable; urgency=low diff -Nru json-glib-0.7.6/debian/control json-glib-0.10.2/debian/control --- json-glib-0.7.6/debian/control 2010-04-13 12:00:33.000000000 +0100 +++ json-glib-0.10.2/debian/control 2010-04-13 12:00:33.000000000 +0100 @@ -1,11 +1,18 @@ Source: json-glib Section: libs Priority: optional -Maintainer: Ubuntu MOTU Developers +Maintainer: Nicolas Derive XSBC-Original-Maintainer: Emmanuele Bassi Uploaders: Rob Bradford , Ross Burton -Build-Depends: debhelper (>= 5), cdbs, libglib2.0-dev, gtk-doc-tools -Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5), + cdbs (>= 0.4.41), + libglib2.0-dev, + gtk-doc-tools, + gir-repository-dev, + gir1.0-glib-2.0, + libgirepository1.0-dev (>= 0.6.3), + gobject-introspection (>= 0.6.5-3) +Standards-Version: 3.8.3 Package: libjson-glib-1.0-0 Section: libs @@ -19,10 +26,10 @@ from JSON data types. Package: libjson-glib-1.0-0-dbg -Section: libdevel +Section: debug Priority: extra Architecture: any -Depends: libjson-glib-1.0-0 (= ${binary:Version}) +Depends: libjson-glib-1.0-0 (= ${binary:Version}), ${misc:Depends} Description: GLib JSON manipulation library (debug symbols) JSON-GLib is a library for parsing, generating and manipulating JavaScript Object Notation (JSON) data streams using the GLib type system. It allows @@ -60,3 +67,21 @@ . This package contains the documentation. +Package: gir1.0-json-glib-1.0 +Section: libs +Architecture: any +Depends: ${gir:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Description: GLib JSON manipulation library (documentation) + JSON-GLib is a library for parsing, generating and manipulating JavaScript + Object Notation (JSON) data streams using the GLib type system. It allows + manipulating JSON data types with a Document Object Model API. It also + allows serializing and deserializing simple or complex GObjects to and + from JSON data types. + . + This package contains introspection data. + . + It can be used by packages using the GIRepository format to generate + dynamic bindings. + diff -Nru json-glib-0.7.6/debian/gir1.0-json-glib-1.0.install json-glib-0.10.2/debian/gir1.0-json-glib-1.0.install --- json-glib-0.7.6/debian/gir1.0-json-glib-1.0.install 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/debian/gir1.0-json-glib-1.0.install 2010-04-13 12:00:33.000000000 +0100 @@ -0,0 +1 @@ +debian/tmp/usr/lib/girepository-1.0/ diff -Nru json-glib-0.7.6/debian/libjson-glib-dev.install json-glib-0.10.2/debian/libjson-glib-dev.install --- json-glib-0.7.6/debian/libjson-glib-dev.install 2010-04-13 12:00:33.000000000 +0100 +++ json-glib-0.10.2/debian/libjson-glib-dev.install 2010-04-13 12:00:33.000000000 +0100 @@ -1,3 +1,4 @@ debian/tmp/usr/lib/*.so debian/tmp/usr/lib/pkgconfig/ debian/tmp/usr/include/ +debian/tmp/usr/share/gir-1.0/ diff -Nru json-glib-0.7.6/debian/libjson-glib-doc.links json-glib-0.10.2/debian/libjson-glib-doc.links --- json-glib-0.7.6/debian/libjson-glib-doc.links 2010-04-13 12:00:33.000000000 +0100 +++ json-glib-0.10.2/debian/libjson-glib-doc.links 2010-04-13 12:00:33.000000000 +0100 @@ -1 +1 @@ -usr/share/gtk-doc/html/clutter usr/share/doc/libclutter-doc/html +usr/share/gtk-doc/html/json-glib usr/share/doc/libjson-glib-doc/html diff -Nru json-glib-0.7.6/debian/rules json-glib-0.10.2/debian/rules --- json-glib-0.7.6/debian/rules 2010-04-13 12:00:33.000000000 +0100 +++ json-glib-0.10.2/debian/rules 2010-04-13 12:00:33.000000000 +0100 @@ -1,13 +1,15 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/rules/utils.mk DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed" DEB_COMPRESS_EXCLUDE = .c -DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc -DEB_MAKE_CHECK_TARGET = test +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --enable-introspection=yes + +$(patsubst %,binary-predeb/%,$(DEB_ALL_PACKAGES)) :: + dh_girepository -p$(cdbs_curpkg) common-binary-predeb-arch:: list-missing diff -Nru json-glib-0.7.6/depcomp json-glib-0.10.2/depcomp --- json-glib-0.7.6/depcomp 2009-08-12 16:07:33.000000000 +0100 +++ json-glib-0.10.2/depcomp 2010-02-26 14:04:29.000000000 +0000 @@ -1,10 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2007-03-29.01 +scriptversion=2009-04-28.21; # UTC -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software -# Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free +# Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,9 +17,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -87,6 +85,15 @@ depmode=dashmstdout fi +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u="sed s,\\\\\\\\,/,g" + depmode=msvisualcpp +fi + case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what @@ -192,14 +199,14 @@ ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' -' ' ' >> $depfile - echo >> $depfile +' ' ' >> "$depfile" + echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile + >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile @@ -328,7 +335,12 @@ if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi @@ -404,7 +416,7 @@ # Remove the call to Libtool. if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift @@ -455,32 +467,39 @@ "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift - cleared=no - for arg in "$@"; do + cleared=no eat=no + for arg + do case $cleared in no) set ""; shift cleared=yes ;; esac + if test $eat = yes; then + eat=no + continue + fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done - obj_suffix="`echo $object | sed 's/^.*\././'`" + obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" @@ -500,7 +519,7 @@ # Remove the call to Libtool. if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift @@ -538,13 +557,27 @@ msvisualcpp) # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. + # always write the preprocessed file to stdout. "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + IFS=" " for arg do case "$arg" in + -o) + shift + ;; + $object) + shift + ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift @@ -557,16 +590,23 @@ ;; esac done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + none) exec "$@" ;; @@ -585,5 +625,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff -Nru json-glib-0.7.6/doc/Makefile.am json-glib-0.10.2/doc/Makefile.am --- json-glib-0.7.6/doc/Makefile.am 2009-06-24 13:06:20.000000000 +0100 +++ json-glib-0.10.2/doc/Makefile.am 2009-10-29 14:37:07.000000000 +0000 @@ -1,3 +1,11 @@ -include $(top_srcdir)/Makefile.decl - SUBDIRS = reference + +test-report: + @true + +test: + @true + +check-local: test + +.PHONY: test-report test check-local diff -Nru json-glib-0.7.6/doc/Makefile.in json-glib-0.10.2/doc/Makefile.in --- json-glib-0.7.6/doc/Makefile.in 2009-08-12 16:07:32.000000000 +0100 +++ json-glib-0.10.2/doc/Makefile.in 2010-02-26 14:04:29.000000000 +0000 @@ -1,8 +1,9 @@ -# Makefile.in generated by automake 1.10.2 from Makefile.am. +# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -13,12 +14,11 @@ # PARTICULAR PURPOSE. @SET_MAKE@ - -# JSON-GLib - JSON reader and writer library VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c @@ -33,9 +33,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/Makefile.decl subdir = doc +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = \ $(top_srcdir)/build/autotools/as-compiler-flag.m4 \ @@ -46,13 +45,19 @@ $(top_srcdir)/build/autotools/ltsugar.m4 \ $(top_srcdir)/build/autotools/ltversion.m4 \ $(top_srcdir)/build/autotools/lt~obsolete.m4 \ - $(top_srcdir)/build/autotools/shave.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ @@ -64,13 +69,41 @@ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ -AM_MAKEFLAGS = @AM_MAKEFLAGS@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -81,7 +114,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -92,8 +124,6 @@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FC = @FC@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ @@ -121,6 +151,7 @@ JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@ JSON_MICRO_VERSION = @JSON_MICRO_VERSION@ JSON_MINOR_VERSION = @JSON_MINOR_VERSION@ +JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@ JSON_VERSION = @JSON_VERSION@ LD = @LD@ LDFLAGS = @LDFLAGS@ @@ -130,12 +161,11 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAKEFLAGS = @MAKEFLAGS@ +MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ -OBJC = @OBJC@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ @@ -148,13 +178,11 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -Q = @Q@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ -V = @V@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -202,24 +230,17 @@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ -shavedir = @shavedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -GTESTER = gtester -GTESTER_REPORT = gtester-report - -# initialize variables for unconditional += appending -EXTRA_DIST = -TEST_PROGS = SUBDIRS = reference all: all-recursive .SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -228,9 +249,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu doc/Makefile + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -248,6 +269,7 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo @@ -262,7 +284,7 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -279,7 +301,7 @@ else \ local_target="$$target"; \ fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ @@ -287,7 +309,7 @@ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ + @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ @@ -313,16 +335,16 @@ else \ local_target="$$target"; \ fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) @@ -337,7 +359,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) - tags=; \ + set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ @@ -349,7 +371,7 @@ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -358,29 +380,34 @@ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) - tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ + test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique + $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -401,29 +428,44 @@ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ + am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ @@ -454,6 +496,7 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -472,6 +515,8 @@ html: html-recursive +html-am: + info: info-recursive info-am: @@ -480,18 +525,28 @@ install-dvi: install-dvi-recursive +install-dvi-am: + install-exec-am: install-html: install-html-recursive +install-html-am: + install-info: install-info-recursive +install-info-am: + install-man: install-pdf: install-pdf-recursive +install-pdf-am: + install-ps: install-ps-recursive +install-ps-am: + installcheck-am: maintainer-clean: maintainer-clean-recursive @@ -512,8 +567,8 @@ uninstall-am: -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ + ctags-recursive install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am check-local clean clean-generic \ @@ -530,58 +585,16 @@ tags tags-recursive uninstall uninstall-am -### testing rules +test-report: + @true + +test: + @true -# test: run all tests in cwd and subdirs -test: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} - @ for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done -# test-report: run tests in subdirs and generate report -# perf-report: run tests in subdirs with -m perf and generate report -# full-report: like test-report: with -m perf and -m slow -test-report perf-report full-report: ${TEST_PROGS} - @test -z "${TEST_PROGS}" || { \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ - elif test -n "${TEST_PROGS}" ; then \ - ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ - fi ; \ - } - @ ignore_logdir=true ; \ - if test -z "$$GTESTER_LOGDIR" ; then \ - GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ - ignore_logdir=false ; \ - fi ; \ - for subdir in $(SUBDIRS) . ; do \ - test "$$subdir" = "." -o "$$subdir" = "po" || \ - ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ - done ; \ - $$ignore_logdir || { \ - echo '' > $@.xml ; \ - echo '' >> $@.xml ; \ - echo '' >> $@.xml ; \ - echo ' $(PACKAGE)' >> $@.xml ; \ - echo ' $(VERSION)' >> $@.xml ; \ - echo '' >> $@.xml ; \ - for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ - sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ - done ; \ - echo >> $@.xml ; \ - echo '' >> $@.xml ; \ - rm -rf "$$GTESTER_LOGDIR"/ ; \ - ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ - } -.PHONY: test test-report perf-report full-report -# run make test as part of make check check-local: test + +.PHONY: test-report test check-local + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru json-glib-0.7.6/doc/reference/html/annotation-glossary.html json-glib-0.10.2/doc/reference/html/annotation-glossary.html --- json-glib-0.7.6/doc/reference/html/annotation-glossary.html 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/annotation-glossary.html 2010-02-26 14:05:46.000000000 +0000 @@ -0,0 +1,79 @@ + + + + +Annotation Glossary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+Annotation Glossary

+
+

O

+
+
+out
+

Parameter for returning results. Default is transfer-full.

+
+
+
+

A

+
+
+allow-none
+

+
+
+
+

E

+
+
+element-type
+

Generics and defining elements of containers and arrays.

+
+
+
+

T

+
+
+transfer
+

+
+
+
+ + + diff -Nru json-glib-0.7.6/doc/reference/html/ch01.html json-glib-0.10.2/doc/reference/html/ch01.html --- json-glib-0.7.6/doc/reference/html/ch01.html 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/ch01.html 2010-04-13 12:00:33.000000000 +0100 @@ -3,8 +3,8 @@ Data Types - - + + @@ -18,8 +18,14 @@ + - + + + + + + @@ -27,13 +33,12 @@ Prev Up Home -JSON-GLib 0.7.6 - Reference Manual +JSON-GLib Reference Manual Next

-Data Types

+Data Types
JSON Node — Node in a JSON object model diff -Nru json-glib-0.7.6/doc/reference/html/ch02.html json-glib-0.10.2/doc/reference/html/ch02.html --- json-glib-0.7.6/doc/reference/html/ch02.html 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/ch02.html 2010-04-13 12:00:33.000000000 +0100 @@ -3,8 +3,8 @@ Parser - - + + @@ -18,8 +18,14 @@ + - + + + + + + @@ -27,13 +33,12 @@ Prev Up Home -JSON-GLib 0.7.6 - Reference Manual +JSON-GLib Reference Manual Next

-Parser

+Parser
JsonParser — Parse JSON data streams
diff -Nru json-glib-0.7.6/doc/reference/html/ch03.html json-glib-0.10.2/doc/reference/html/ch03.html --- json-glib-0.7.6/doc/reference/html/ch03.html 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/ch03.html 2010-04-13 12:00:33.000000000 +0100 @@ -3,8 +3,8 @@ Generator - - + + @@ -18,8 +18,14 @@ + - + + + + + + @@ -27,13 +33,12 @@ Prev Up Home -JSON-GLib 0.7.6 - Reference Manual +JSON-GLib Reference Manual Next

-Generator

+Generator
JsonGenerator — Generates JSON data streams
diff -Nru json-glib-0.7.6/doc/reference/html/ch04.html json-glib-0.10.2/doc/reference/html/ch04.html --- json-glib-0.7.6/doc/reference/html/ch04.html 1970-01-01 01:00:00.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/ch04.html 2010-04-13 12:00:33.000000000 +0100 @@ -0,0 +1,54 @@ + + + + +Object Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+Object Hierarchy

+
+    GObject
+        JsonGenerator
+        JsonParser
+
+
+ + + diff -Nru json-glib-0.7.6/doc/reference/html/index.html json-glib-0.10.2/doc/reference/html/index.html --- json-glib-0.7.6/doc/reference/html/index.html 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/index.html 2010-04-13 12:00:33.000000000 +0100 @@ -2,9 +2,9 @@ -JSON-GLib 0.7.6 Reference Manual - - +JSON-GLib Reference Manual + + @@ -16,21 +16,27 @@ + - + + + + + + -
+
-
-

Version 0.7.6 +

+

for JSON-GLib 0.10.2

-
+
+
-

+

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later @@ -83,15 +89,31 @@

IV. JSON-GLib Advanced API
-
-GObject integration — Serialize and deserialize GObjects -
+
+
+GObject Serialization — Serialize and deserialize GObjects +
+
+Serializable Interface — Interface for serialize and deserialize special GObjects +
+
+Boxed Types Serialization — Serialize and deserialize GBoxed types +
+
V. JSON-GLib Additional Reference
-
+
+
Versioning information — JSON-GLib version checking -
+ +
Object Hierarchy
+
Index
-
Index of new symbols in 0.4
+
Index of deprecated symbols
+
Index of new symbols in 0.4
+
Index of new symbols in 0.6
+
Index of new symbols in 0.8
+
Index of new symbols in 0.10
+
Annotation Glossary
A. License
diff -Nru json-glib-0.7.6/doc/reference/html/index.sgml json-glib-0.10.2/doc/reference/html/index.sgml --- json-glib-0.7.6/doc/reference/html/index.sgml 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/index.sgml 2010-02-26 14:05:46.000000000 +0000 @@ -3,8 +3,13 @@ - + + + + + + @@ -27,6 +32,7 @@ + @@ -139,15 +145,37 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -159,3 +187,7 @@ + + + + diff -Nru json-glib-0.7.6/doc/reference/html/ix01.html json-glib-0.10.2/doc/reference/html/ix01.html --- json-glib-0.7.6/doc/reference/html/ix01.html 2009-08-12 16:08:13.000000000 +0100 +++ json-glib-0.10.2/doc/reference/html/ix01.html 2010-04-13 12:00:33.000000000 +0100 @@ -3,11 +3,11 @@ Index - - - - - + + + + + @@ -18,281 +18,374 @@ + - + + + + + + - + - +

-Index

-
-

J

+Index
+
+
+

A

-
JsonArray, JsonArray -
-
JsonArrayForeach, JsonArrayForeach () -
-
JsonGenerator, JsonGenerator -
-
JsonGenerator:indent, The "indent" property -
-
JsonGenerator:indent-char, The "indent-char" property -
-
JsonGenerator:pretty, The "pretty" property -
-
JsonGenerator:root, The "root" property -
-
JsonGeneratorClass, JsonGeneratorClass -
-
JsonNode, JsonNode -
-
JsonNodeType, enum JsonNodeType -
-
JsonObject, JsonObject -
-
JsonObjectForeach, JsonObjectForeach () -
-
JsonParser, JsonParser -
-
JsonParser::array-element, The "array-element" signal -
-
JsonParser::array-end, The "array-end" signal -
-
JsonParser::array-start, The "array-start" signal -
-
JsonParser::error, The "error" signal -
-
JsonParser::object-end, The "object-end" signal -
-
JsonParser::object-member, The "object-member" signal -
-
JsonParser::object-start, The "object-start" signal -
-
JsonParser::parse-end, The "parse-end" signal -
-
JsonParser::parse-start, The "parse-start" signal -
-
JsonParserClass, JsonParserClass -
-
JsonParserError, enum JsonParserError -
-
JsonSerializableIface, JsonSerializableIface -
-
json_array_add_array_element, json_array_add_array_element () -
-
json_array_add_boolean_element, json_array_add_boolean_element () -
-
json_array_add_double_element, json_array_add_double_element () -
-
json_array_add_element, json_array_add_element () -
-
json_array_add_int_element, json_array_add_int_element () -
-
json_array_add_null_element, json_array_add_null_element () -
-
json_array_add_object_element, json_array_add_object_element () -
-
json_array_add_string_element, json_array_add_string_element () -
-
json_array_dup_element, json_array_dup_element () -
-
json_array_foreach_element, json_array_foreach_element () -
-
json_array_get_array_element, json_array_get_array_element () -
-
json_array_get_boolean_element, json_array_get_boolean_element () -
-
json_array_get_double_element, json_array_get_double_element () -
-
json_array_get_element, json_array_get_element () -
-
json_array_get_elements, json_array_get_elements () -
-
json_array_get_int_element, json_array_get_int_element () -
-
json_array_get_length, json_array_get_length () -
-
json_array_get_null_element, json_array_get_null_element () -
-
json_array_get_object_element, json_array_get_object_element () -
-
json_array_get_string_element, json_array_get_string_element () -
-
json_array_new, json_array_new () -
-
json_array_ref, json_array_ref () -
-
json_array_remove_element, json_array_remove_element () -
-
json_array_sized_new, json_array_sized_new () -
-
json_array_unref, json_array_unref () -
-
JSON_CHECK_VERSION, JSON_CHECK_VERSION() -
-
json_construct_gobject, json_construct_gobject () -
-
json_generator_new, json_generator_new () -
-
json_generator_set_root, json_generator_set_root () -
-
json_generator_to_data, json_generator_to_data () -
-
json_generator_to_file, json_generator_to_file () -
-
JSON_MAJOR_VERSION, JSON_MAJOR_VERSION -
-
JSON_MICRO_VERSION, JSON_MICRO_VERSION -
-
JSON_MINOR_VERSION, JSON_MINOR_VERSION -
-
json_node_copy, json_node_copy () -
-
json_node_dup_array, json_node_dup_array () -
-
json_node_dup_object, json_node_dup_object () -
-
json_node_dup_string, json_node_dup_string () -
-
json_node_free, json_node_free () -
-
json_node_get_array, json_node_get_array () -
-
json_node_get_boolean, json_node_get_boolean () -
-
json_node_get_double, json_node_get_double () -
-
json_node_get_int, json_node_get_int () -
-
json_node_get_node_type, json_node_get_node_type () -
-
json_node_get_object, json_node_get_object () -
-
json_node_get_parent, json_node_get_parent () -
-
json_node_get_string, json_node_get_string () -
-
json_node_get_value, json_node_get_value () -
-
json_node_get_value_type, json_node_get_value_type () -
-
json_node_is_null, json_node_is_null () -
-
json_node_new, json_node_new () -
-
json_node_set_array, json_node_set_array () -
-
json_node_set_boolean, json_node_set_boolean () -
-
json_node_set_double, json_node_set_double () -
-
json_node_set_int, json_node_set_int () -
-
json_node_set_object, json_node_set_object () -
-
json_node_set_string, json_node_set_string () -
-
json_node_set_value, json_node_set_value () -
-
json_node_take_array, json_node_take_array () -
-
json_node_take_object, json_node_take_object () -
-
JSON_NODE_TYPE, JSON_NODE_TYPE() -
-
json_node_type_name, json_node_type_name () -
-
json_object_add_member, json_object_add_member () -
-
json_object_dup_member, json_object_dup_member () -
-
json_object_foreach_member, json_object_foreach_member () -
-
json_object_get_array_member, json_object_get_array_member () -
-
json_object_get_boolean_member, json_object_get_boolean_member () -
-
json_object_get_double_member, json_object_get_double_member () -
-
json_object_get_int_member, json_object_get_int_member () -
-
json_object_get_member, json_object_get_member () -
-
json_object_get_members, json_object_get_members () -
-
json_object_get_null_member, json_object_get_null_member () -
-
json_object_get_object_member, json_object_get_object_member () -
-
json_object_get_size, json_object_get_size () -
-
json_object_get_string_member, json_object_get_string_member () -
-
json_object_get_values, json_object_get_values () -
-
json_object_has_member, json_object_has_member () -
-
json_object_new, json_object_new () -
-
json_object_ref, json_object_ref () -
-
json_object_remove_member, json_object_remove_member () -
-
json_object_set_array_member, json_object_set_array_member () -
-
json_object_set_boolean_member, json_object_set_boolean_member () -
-
json_object_set_double_member, json_object_set_double_member () -
-
json_object_set_int_member, json_object_set_int_member () -
-
json_object_set_member, json_object_set_member () -
-
json_object_set_null_member, json_object_set_null_member () -
-
json_object_set_object_member, json_object_set_object_member () -
-
json_object_set_string_member, json_object_set_string_member () -
-
json_object_unref, json_object_unref () -
-
json_parser_get_current_line, json_parser_get_current_line () -
-
json_parser_get_current_pos, json_parser_get_current_pos () -
-
json_parser_get_root, json_parser_get_root () -
-
json_parser_has_assignment, json_parser_has_assignment () -
-
json_parser_load_from_data, json_parser_load_from_data () -
-
json_parser_load_from_file, json_parser_load_from_file () -
-
json_parser_new, json_parser_new () -
-
json_serializable_deserialize_property, json_serializable_deserialize_property () -
-
json_serializable_serialize_property, json_serializable_serialize_property () -
-
json_serialize_gobject, json_serialize_gobject () -
-
JSON_VERSION, JSON_VERSION -
-
JSON_VERSION_HEX, JSON_VERSION_HEX -
-
JSON_VERSION_S, JSON_VERSION_S -
+
JsonArray
+
+
JsonArrayForeach
+
+
json_array_add_array_element
+
+
json_array_add_boolean_element
+
+
json_array_add_double_element
+
+
json_array_add_element
+
+
json_array_add_int_element
+
+
json_array_add_null_element
+
+
json_array_add_object_element
+
+
json_array_add_string_element
+
+
json_array_dup_element
+
+
json_array_foreach_element
+
+
json_array_get_array_element
+
+
json_array_get_boolean_element
+
+
json_array_get_double_element
+
+
json_array_get_element
+
+
json_array_get_elements
+
+
json_array_get_int_element
+
+
json_array_get_length
+
+
json_array_get_null_element
+
+
json_array_get_object_element
+
+
json_array_get_string_element
+
+
json_array_new
+
+
json_array_ref
+
+
json_array_remove_element
+
+
json_array_sized_new
+
+
json_array_unref
+
-
+
+ + + + + + + + + +
+