From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: [PATCH v3] Added optional build configs for qemu upstream Date: Wed, 07 Mar 2012 15:47:58 +0100 Message-ID: <4F57751E.4020200@tiscali.it> Reply-To: fantonifabio@tiscali.it Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5112717911112432077==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Questo è un messaggio firmato digitalmente in formato MIME. --===============5112717911112432077== Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090707090607050802080003" Questo è un messaggio firmato digitalmente in formato MIME. --------------ms090707090607050802080003 Content-Type: multipart/mixed; boundary="------------080005090007070203010106" This is a multi-part message in MIME format. --------------080005090007070203010106 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Added optional build configs for qemu upstream: CONFIG_QEMUU_DEBUG to enable debug, disabled by default CONFIG_QEMUU_SPICE to enable spice, setting by autoconf Added to README requirements for spice-enabled qemu upstream build=20 (optional) Changes from v2: tools/Makefile: fix qemu upstream build parameters Changes from v1: Does checks with autoconf: if spice requirements are meet, then build=20 with spice is enabled, otherwise no Signed-off-by: Fabio Fantoni Patch attached. --------------080005090007070203010106 Content-Type: text/plain; name="added_qemu_optional_build_configs_v3.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="added_qemu_optional_build_configs_v3.patch" # HG changeset patch # User Fabio Fantoni # Date 1331047324 -3600 # Node ID 72a4403915504ca36f53cc69979e2ac9e6a857b1 # Parent 185f1deebf490932b3f905d587f8c44668dc25e4 Added optional build configs for qemu upstream: CONFIG_QEMUU_DEBUG to enable debug, disabled by default CONFIG_QEMUU_SPICE to enable spice, setting by autoconf Added to README requirements for spice-enabled qemu upstream build (optio= nal) Changes from v2: tools/Makefile: fix qemu upstream build parameters Changes from v1: Does checks with autoconf: if spice requirements are meet, then build wit= h spice is enabled, otherwise no Signed-off-by: Fabio Fantoni diff -r 185f1deebf49 -r 72a440391550 README --- a/README mar mar 06 16:04:24 2012 +0100 +++ b/README mar mar 06 16:22:04 2012 +0100 @@ -60,6 +60,9 @@ * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 & bc= c debs) * ACPI ASL compiler (iasl) * markdown + Optionals: + * Dev of spice protocol (e.g. libspice-protocol-dev >=3D0.10) + * Dev of spice server (e.g. libspice-server-dev >=3D0.10) =20 Second, you need to acquire a suitable kernel for use in domain 0. If possible you should use a kernel provided by your OS distributor. If diff -r 185f1deebf49 -r 72a440391550 config/Tools.mk.in --- a/config/Tools.mk.in mar mar 06 16:04:24 2012 +0100 +++ b/config/Tools.mk.in mar mar 06 16:22:04 2012 +0100 @@ -37,6 +37,8 @@ OCAML_TOOLS :=3D @ocamltools@ CONFIG_MINITERM :=3D @miniterm@ CONFIG_LOMOUNT :=3D @lomount@ +CONFIG_QEMUU_SPICE :=3D @qemuuspice@ +CONFIG_QEMUU_DEBUG :=3D @qemuudebug@ =20 #System options CONFIG_SYSTEM_LIBAIO:=3D @system_aio@ diff -r 185f1deebf49 -r 72a440391550 tools/Makefile --- a/tools/Makefile mar mar 06 16:04:24 2012 +0100 +++ b/tools/Makefile mar mar 06 16:22:04 2012 +0100 @@ -87,6 +87,14 @@ --interp-prefix=3D$(CROSS_SYS_ROOT) endif =20 +ifeq ($(CONFIG_QEMUU_DEBUG),y) +QEMU_OPTIONAL_CONFIGS +=3D --enable-debug +endif + +ifeq ($(CONFIG_QEMUU_SPICE),y) +QEMU_OPTIONAL_CONFIGS +=3D --enable-spice +endif + QEMU_ROOT :=3D $(shell if [ -d "$(CONFIG_QEMU)" ]; then echo "$(CONFIG_Q= EMU)"; else echo .; fi) ifneq ($(QEMU_ROOT),.) export QEMU_ROOT @@ -157,6 +165,7 @@ --bindir=3D$(LIBEXEC) \ --disable-kvm \ --python=3D$(PYTHON) \ + $(QEMU_OPTIONAL_CONFIGS) \ $(IOEMU_CONFIGURE_CROSS); \ $(MAKE) install =20 diff -r 185f1deebf49 -r 72a440391550 tools/configure --- a/tools/configure mar mar 06 16:04:24 2012 +0100 +++ b/tools/configure mar mar 06 16:22:04 2012 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for Xen Hypervisor 4.2. +# Generated by GNU Autoconf 2.68 for Xen Hypervisor 4.2. # # Report bugs to . # @@ -91,6 +91,7 @@ IFS=3D" "" $as_nl" =20 # Find who we are. Look in the path if we contain no directory separato= r. +as_myself=3D case $0 in #(( *[\\/]* ) as_myself=3D$0 ;; *) as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR @@ -216,11 +217,18 @@ # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. BASH_ENV=3D/dev/null ENV=3D/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + case $- in # (((( + *v*x* | *x*v* ) as_opts=3D-vx ;; + *v* ) as_opts=3D-v ;; + *x* ) as_opts=3D-x ;; + * ) as_opts=3D ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi =20 if test x$as_have_required =3D xno; then : @@ -606,6 +614,11 @@ libext2fs system_aio LIB_PATH +qemuuspice +spice_server_LIBS +spice_server_CFLAGS +spice_protocol_LIBS +spice_protocol_CFLAGS glib_LIBS glib_CFLAGS PKG_CONFIG_LIBDIR @@ -643,6 +656,7 @@ APPEND_INCLUDES PREPEND_LIB PREPEND_INCLUDES +qemuudebug debug lomount miniterm @@ -720,6 +734,7 @@ enable_miniterm enable_lomount enable_debug +enable_qemuudebug ' ac_precious_vars=3D'build_alias host_alias @@ -746,7 +761,11 @@ PKG_CONFIG_PATH PKG_CONFIG_LIBDIR glib_CFLAGS -glib_LIBS' +glib_LIBS +spice_protocol_CFLAGS +spice_protocol_LIBS +spice_server_CFLAGS +spice_server_LIBS' =20 =20 # Initialize some variables set by options. @@ -1151,7 +1170,7 @@ $as_echo "$as_me: WARNING: you should use --build, --host, --target"= >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_al= ias=3D$ac_option} + : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_a= lias=3D$ac_option}" ;; =20 esac @@ -1371,6 +1390,7 @@ --enable-miniterm Enable miniterm --enable-lomount Enable lomount --disable-debug Disable debug build of tools + --enable-qemuudebug Enable debug build of Qemu upstream =20 Some influential environment variables: CC C compiler command @@ -1402,6 +1422,14 @@ path overriding pkg-config's built-in search path glib_CFLAGS C compiler flags for glib, overriding pkg-config glib_LIBS linker flags for glib, overriding pkg-config + spice_protocol_CFLAGS + C compiler flags for spice_protocol, overriding pkg-config= + spice_protocol_LIBS + linker flags for spice_protocol, overriding pkg-config + spice_server_CFLAGS + C compiler flags for spice_server, overriding pkg-config + spice_server_LIBS + linker flags for spice_server, overriding pkg-config =20 Use these variables to override the choices made by `configure' or to he= lp it to find libraries and programs with nonstandard names/locations. @@ -1470,7 +1498,7 @@ if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor configure 4.2 -generated by GNU Autoconf 2.67 +generated by GNU Autoconf 2.68 =20 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation @@ -1516,7 +1544,7 @@ =20 ac_retval=3D1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval =20 } # ac_fn_c_try_compile @@ -1553,7 +1581,7 @@ =20 ac_retval=3D1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval =20 } # ac_fn_c_try_cpp @@ -1566,10 +1594,10 @@ ac_fn_c_check_header_mongrel () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - if eval "test \"\${$3+set}\"" =3D set; then : + if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=3D\$$3 @@ -1636,7 +1664,7 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=3D\$ac_header_compiler" @@ -1645,7 +1673,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_header_mongrel =20 @@ -1686,7 +1714,7 @@ ac_retval=3D$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval =20 } # ac_fn_c_try_run @@ -1700,7 +1728,7 @@ as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1718,7 +1746,7 @@ eval ac_res=3D\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_header_compile =20 @@ -1763,11 +1791,65 @@ # interfere with the next link command; also delete a directory that i= s # left behind by Apple's compiler. We do this before executing the ac= tions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval =20 } # ac_fn_c_try_link =20 +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cach= e +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=3Dno" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=3Dyes" +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 +eval ac_res=3D\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type + # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -1776,7 +1858,7 @@ as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1831,64 +1913,10 @@ eval ac_res=3D\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_func =20 -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES -# ------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cach= e -# variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=3Dno" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - eval "$3=3Dyes" -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 -eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} - -} # ac_fn_c_check_type - # ac_fn_c_find_intX_t LINENO BITS VAR # ----------------------------------- # Finds a signed integer type with width BITS, setting cache variable VA= R @@ -1898,7 +1926,7 @@ as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 $as_echo_n "checking for int$2_t... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=3Dno" @@ -1959,7 +1987,7 @@ eval ac_res=3D\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_find_intX_t =20 @@ -1972,7 +2000,7 @@ as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } -if eval "test \"\${$4+set}\"" =3D set; then : +if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2016,7 +2044,7 @@ eval ac_res=3D\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_member =20 @@ -2029,7 +2057,7 @@ as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 $as_echo_n "checking for uint$2_t... " >&6; } -if eval "test \"\${$3+set}\"" =3D set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=3Dno" @@ -2069,7 +2097,7 @@ eval ac_res=3D\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" =3D x && { as_lineno=3D= ; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_find_uintX_t cat >config.log <<_ACEOF @@ -2077,7 +2105,7 @@ running configure, to aid debugging if configure makes a mistake. =20 It was created by Xen Hypervisor $as_me 4.2, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.68. Invocation command line was =20 $ $0 $@ =20 @@ -2335,7 +2363,7 @@ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'= :" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi done =20 @@ -2488,7 +2516,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2528,7 +2556,7 @@ set dummy gcc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -2581,7 +2609,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2621,7 +2649,7 @@ set dummy cc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2680,7 +2708,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2724,7 +2752,7 @@ set dummy $ac_prog; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -2779,7 +2807,7 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`= $ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } =20 # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" = >&5 @@ -2894,7 +2922,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -2937,7 +2965,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and= link -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -2996,7 +3024,7 @@ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -3007,7 +3035,7 @@ ac_clean_files=3D$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object f= iles" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" =3D set; then : +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3048,7 +3076,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3058,7 +3086,7 @@ ac_objext=3D$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using t= he 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}" =3D set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3095,7 +3123,7 @@ ac_save_CFLAGS=3D$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g= " >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" =3D set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=3D$ac_c_werror_flag @@ -3173,7 +3201,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to acce= pt ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" =3D set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=3Dno @@ -3281,7 +3309,7 @@ CPP=3D fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" =3D set; then : + if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -3397,7 +3425,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi =20 ac_ext=3Dc @@ -3409,7 +3437,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles = long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }= -if test "${ac_cv_path_GREP+set}" =3D set; then : +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -3472,7 +3500,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" =3D set; then : +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -3539,7 +3567,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header file= s" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" =3D set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3668,7 +3696,7 @@ =20 =20 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_= minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" =3D x""yes; then : +if test "x$ac_cv_header_minix_config_h" =3D xyes; then : MINIX=3Dyes else MINIX=3D @@ -3690,7 +3718,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe t= o define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&= 6; } -if test "${ac_cv_safe_to_define___extensions__+set}" =3D set; then : +if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3733,7 +3761,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5= $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" =3D set; then : +if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=3D$build_alias @@ -3749,7 +3777,7 @@ $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=3D$ac_cv_build ac_save_IFS=3D$IFS; IFS=3D'-' @@ -3767,7 +3795,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" =3D set; then : +if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" =3D x; then @@ -3782,7 +3810,7 @@ $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=3D$ac_cv_host ac_save_IFS=3D$IFS; IFS=3D'-' @@ -4094,6 +4122,27 @@ fi debug=3D$ax_cv_debug =20 +# Check whether --enable-qemuudebug was given. +if test "${enable_qemuudebug+set}" =3D set; then : + enableval=3D$enable_qemuudebug; +fi + + +if test "x$enable_qemuudebug" =3D "xyes"; then : + + ax_cv_qemuudebug=3D"y" + +elif test "x$enable_qemuudebug" =3D "xno"; then : + + ax_cv_qemuudebug=3D"n" + +elif test -z $ax_cv_qemuudebug; then : + + ax_cv_qemuudebug=3D"n" + +fi +qemuudebug=3D$ax_cv_qemuudebug + =20 =20 =20 @@ -4131,7 +4180,7 @@ # Checks for programs. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does no= t truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; }= -if test "${ac_cv_path_SED+set}" =3D set; then : +if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=3Ds/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbb/ @@ -4208,7 +4257,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4248,7 +4297,7 @@ set dummy gcc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -4301,7 +4350,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4341,7 +4390,7 @@ set dummy cc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4400,7 +4449,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" =3D set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4444,7 +4493,7 @@ set dummy $ac_prog; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -4499,7 +4548,7 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`= $ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } =20 # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" = >&5 @@ -4528,7 +4577,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using t= he 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}" =3D set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4565,7 +4614,7 @@ ac_save_CFLAGS=3D$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g= " >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" =3D set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=3D$ac_c_werror_flag @@ -4643,7 +4692,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to acce= pt ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" =3D set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=3Dno @@ -4753,7 +4802,7 @@ $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=3D`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" =3D set; then = : +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -4797,7 +4846,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible i= nstall" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" =3D set; then : +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR @@ -4877,7 +4926,7 @@ set dummy perl; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PERL+set}" =3D set; then : +if ${ac_cv_path_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $PERL in @@ -4924,7 +4973,7 @@ set dummy curl-config; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_CURL+set}" =3D set; then : +if ${ac_cv_path_CURL+:} false; then : $as_echo_n "(cached) " >&6 else case $CURL in @@ -4969,7 +5018,7 @@ set dummy xml2-config; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_XML+set}" =3D set; then : +if ${ac_cv_path_XML+:} false; then : $as_echo_n "(cached) " >&6 else case $XML in @@ -5020,7 +5069,7 @@ set dummy ${ac_tool_prefix}ocamlc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLC+set}" =3D set; then : +if ${ac_cv_prog_OCAMLC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLC"; then @@ -5060,7 +5109,7 @@ set dummy ocamlc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLC"; then @@ -5131,7 +5180,7 @@ set dummy ${ac_tool_prefix}ocamlopt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLOPT+set}" =3D set; then : +if ${ac_cv_prog_OCAMLOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLOPT"; then @@ -5171,7 +5220,7 @@ set dummy ocamlopt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLOPT+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLOPT"; then @@ -5241,7 +5290,7 @@ set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLCDOTOPT+set}" =3D set; then : +if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLCDOTOPT"; then @@ -5281,7 +5330,7 @@ set dummy ocamlc.opt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLCDOTOPT+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLCDOTOPT"; then @@ -5345,7 +5394,7 @@ set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLOPTDOTOPT+set}" =3D set; then : +if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLOPTDOTOPT"; then @@ -5385,7 +5434,7 @@ set dummy ocamlopt.opt; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLOPTDOTOPT"; then @@ -5454,7 +5503,7 @@ set dummy ${ac_tool_prefix}ocaml; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAML+set}" =3D set; then : +if ${ac_cv_prog_OCAML+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAML"; then @@ -5494,7 +5543,7 @@ set dummy ocaml; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAML+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAML+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAML"; then @@ -5548,7 +5597,7 @@ set dummy ${ac_tool_prefix}ocamldep; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLDEP+set}" =3D set; then : +if ${ac_cv_prog_OCAMLDEP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLDEP"; then @@ -5588,7 +5637,7 @@ set dummy ocamldep; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLDEP+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLDEP"; then @@ -5642,7 +5691,7 @@ set dummy ${ac_tool_prefix}ocamlmktop; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLMKTOP+set}" =3D set; then : +if ${ac_cv_prog_OCAMLMKTOP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLMKTOP"; then @@ -5682,7 +5731,7 @@ set dummy ocamlmktop; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLMKTOP+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLMKTOP"; then @@ -5736,7 +5785,7 @@ set dummy ${ac_tool_prefix}ocamlmklib; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLMKLIB+set}" =3D set; then : +if ${ac_cv_prog_OCAMLMKLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLMKLIB"; then @@ -5776,7 +5825,7 @@ set dummy ocamlmklib; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLMKLIB+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLMKLIB"; then @@ -5830,7 +5879,7 @@ set dummy ${ac_tool_prefix}ocamldoc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLDOC+set}" =3D set; then : +if ${ac_cv_prog_OCAMLDOC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLDOC"; then @@ -5870,7 +5919,7 @@ set dummy ocamldoc; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLDOC+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLDOC"; then @@ -5924,7 +5973,7 @@ set dummy ${ac_tool_prefix}ocamlbuild; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OCAMLBUILD+set}" =3D set; then : +if ${ac_cv_prog_OCAMLBUILD+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OCAMLBUILD"; then @@ -5964,7 +6013,7 @@ set dummy ocamlbuild; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OCAMLBUILD+set}" =3D set; then : +if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OCAMLBUILD"; then @@ -6027,7 +6076,7 @@ set dummy bash; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_BASH+set}" =3D set; then : +if ${ac_cv_path_BASH+:} false; then : $as_echo_n "(cached) " >&6 else case $BASH in @@ -6084,7 +6133,7 @@ set dummy $PYTHON; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PYTHONPATH+set}" =3D set; then : +if ${ac_cv_path_PYTHONPATH+:} false; then : $as_echo_n "(cached) " >&6 else case $PYTHONPATH in @@ -6164,7 +6213,7 @@ set dummy xgettext; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_XGETTEXT+set}" =3D set; then : +if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in @@ -6208,7 +6257,7 @@ if test "x$host_os" =3D=3D "xlinux-gnu" then ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_u= uid_uuid_h" "$ac_includes_default" -if test "x$ac_cv_header_uuid_uuid_h" =3D x""yes; then : +if test "x$ac_cv_header_uuid_uuid_h" =3D xyes; then : =20 else as_fn_error $? "cannot find uuid headers" "$LINENO" 5 @@ -6217,7 +6266,7 @@ =20 else ac_fn_c_check_header_mongrel "$LINENO" "uuid.h" "ac_cv_header_uuid_h= " "$ac_includes_default" -if test "x$ac_cv_header_uuid_h" =3D x""yes; then : +if test "x$ac_cv_header_uuid_h" =3D xyes; then : =20 else as_fn_error $? "cannot find uuid headers" "$LINENO" 5 @@ -6238,7 +6287,7 @@ set dummy ${ac_tool_prefix}pkg-config; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" =3D set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -6281,7 +6330,7 @@ set dummy pkg-config; ac_word=3D$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" =3D set; then : +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -6426,7 +6475,7 @@ See the pkg-config man page for more details. =20 To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else glib_CFLAGS=3D$pkg_cv_glib_CFLAGS glib_LIBS=3D$pkg_cv_glib_LIBS @@ -6435,6 +6484,151 @@ =20 fi =20 +pkg_failed=3Dno +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for spice_protocol" >&= 5 +$as_echo_n "checking for spice_protocol... " >&6; } + +if test -n "$spice_protocol_CFLAGS"; then + pkg_cv_spice_protocol_CFLAGS=3D"$spice_protocol_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --p= rint-errors \"spice-protocol >=3D 0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-protocol >=3D 0.10") 2>&5 + ac_status=3D$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; }; then + pkg_cv_spice_protocol_CFLAGS=3D`$PKG_CONFIG --cflags "spice-protocol >= =3D 0.10" 2>/dev/null` +else + pkg_failed=3Dyes +fi + else + pkg_failed=3Duntried +fi +if test -n "$spice_protocol_LIBS"; then + pkg_cv_spice_protocol_LIBS=3D"$spice_protocol_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --p= rint-errors \"spice-protocol >=3D 0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-protocol >=3D 0.10") 2>&5 + ac_status=3D$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; }; then + pkg_cv_spice_protocol_LIBS=3D`$PKG_CONFIG --libs "spice-protocol >=3D = 0.10" 2>/dev/null` +else + pkg_failed=3Dyes +fi + else + pkg_failed=3Duntried +fi + + + +if test $pkg_failed =3D yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=3Dyes +else + _pkg_short_errors_supported=3Dno +fi + if test $_pkg_short_errors_supported =3D yes; then + spice_protocol_PKG_ERRORS=3D`$PKG_CONFIG --short-errors --print= -errors "spice-protocol >=3D 0.10" 2>&1` + else + spice_protocol_PKG_ERRORS=3D`$PKG_CONFIG --print-errors "spice-= protocol >=3D 0.10" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$spice_protocol_PKG_ERRORS" >&5 + + libspice-protocol=3Dn +elif test $pkg_failed =3D untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + libspice-protocol=3Dn +else + spice_protocol_CFLAGS=3D$pkg_cv_spice_protocol_CFLAGS + spice_protocol_LIBS=3D$pkg_cv_spice_protocol_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_spice_protocol=3Dy +fi + +pkg_failed=3Dno +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for spice_server" >&5 +$as_echo_n "checking for spice_server... " >&6; } + +if test -n "$spice_server_CFLAGS"; then + pkg_cv_spice_server_CFLAGS=3D"$spice_server_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --p= rint-errors \"spice-server >=3D 0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-server >=3D 0.10") 2>&5 + ac_status=3D$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; }; then + pkg_cv_spice_server_CFLAGS=3D`$PKG_CONFIG --cflags "spice-server >=3D = 0.10" 2>/dev/null` +else + pkg_failed=3Dyes +fi + else + pkg_failed=3Duntried +fi +if test -n "$spice_server_LIBS"; then + pkg_cv_spice_server_LIBS=3D"$spice_server_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --p= rint-errors \"spice-server >=3D 0.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "spice-server >=3D 0.10") 2>&5 + ac_status=3D$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; }; then + pkg_cv_spice_server_LIBS=3D`$PKG_CONFIG --libs "spice-server >=3D 0.10= " 2>/dev/null` +else + pkg_failed=3Dyes +fi + else + pkg_failed=3Duntried +fi + + + +if test $pkg_failed =3D yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=3Dyes +else + _pkg_short_errors_supported=3Dno +fi + if test $_pkg_short_errors_supported =3D yes; then + spice_server_PKG_ERRORS=3D`$PKG_CONFIG --short-errors --print-e= rrors "spice-server >=3D 0.10" 2>&1` + else + spice_server_PKG_ERRORS=3D`$PKG_CONFIG --print-errors "spice-se= rver >=3D 0.10" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$spice_server_PKG_ERRORS" >&5 + + libspice-server=3Dn +elif test $pkg_failed =3D untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + libspice-server=3Dn +else + spice_server_CFLAGS=3D$pkg_cv_spice_server_CFLAGS + spice_server_LIBS=3D$pkg_cv_spice_server_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_spice_server=3Dy +fi +if test "x$have_spice_protocol" =3D "xy" -a "x$have_spice_server" =3D "x= y"; then : + qemuuspice=3D"y" +else + qemuuspice=3D"n" + +fi + + # Check library path if test "\${exec_prefix}/lib" =3D "$libdir"; then : if test "$exec_prefix" =3D "NONE" && test "$prefix" !=3D "NONE"; then = : @@ -6463,7 +6657,7 @@ # Checks for libraries. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_setup in -laio"= >&5 $as_echo_n "checking for io_setup in -laio... " >&6; } -if test "${ac_cv_lib_aio_io_setup+set}" =3D set; then : +if ${ac_cv_lib_aio_io_setup+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6497,7 +6691,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aio_io_setup= " >&5 $as_echo "$ac_cv_lib_aio_io_setup" >&6; } -if test "x$ac_cv_lib_aio_io_setup" =3D x""yes; then : +if test "x$ac_cv_lib_aio_io_setup" =3D xyes; then : system_aio=3D"y" else system_aio=3D"n" @@ -6506,7 +6700,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >= &5 $as_echo_n "checking for MD5 in -lcrypto... " >&6; } -if test "${ac_cv_lib_crypto_MD5+set}" =3D set; then : +if ${ac_cv_lib_crypto_MD5+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6540,7 +6734,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" = >&5 $as_echo "$ac_cv_lib_crypto_MD5" >&6; } -if test "x$ac_cv_lib_crypto_MD5" =3D x""yes; then : +if test "x$ac_cv_lib_crypto_MD5" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBCRYPTO 1 _ACEOF @@ -6553,7 +6747,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_open2 in -l= ext2fs" >&5 $as_echo_n "checking for ext2fs_open2 in -lext2fs... " >&6; } -if test "${ac_cv_lib_ext2fs_ext2fs_open2+set}" =3D set; then : +if ${ac_cv_lib_ext2fs_ext2fs_open2+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6587,7 +6781,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2f= s_open2" >&5 $as_echo "$ac_cv_lib_ext2fs_ext2fs_open2" >&6; } -if test "x$ac_cv_lib_ext2fs_ext2fs_open2" =3D x""yes; then : +if test "x$ac_cv_lib_ext2fs_ext2fs_open2" =3D xyes; then : libext2fs=3D"y" else libext2fs=3D"n" @@ -6596,7 +6790,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_md_hash_buffe= r in -lgcrypt" >&5 $as_echo_n "checking for gcry_md_hash_buffer in -lgcrypt... " >&6; } -if test "${ac_cv_lib_gcrypt_gcry_md_hash_buffer+set}" =3D set; then : +if ${ac_cv_lib_gcrypt_gcry_md_hash_buffer+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6630,7 +6824,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_= md_hash_buffer" >&5 $as_echo "$ac_cv_lib_gcrypt_gcry_md_hash_buffer" >&6; } -if test "x$ac_cv_lib_gcrypt_gcry_md_hash_buffer" =3D x""yes; then : +if test "x$ac_cv_lib_gcrypt_gcry_md_hash_buffer" =3D xyes; then : libgcrypt=3D"y" else libgcrypt=3D"n" @@ -6639,7 +6833,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in = -lpthread" >&5 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread_pthread_create+set}" =3D set; then : +if ${ac_cv_lib_pthread_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6673,7 +6867,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthr= ead_create" >&5 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } -if test "x$ac_cv_lib_pthread_pthread_create" =3D x""yes; then : +if test "x$ac_cv_lib_pthread_pthread_create" =3D xyes; then : =20 else as_fn_error $? "Could not find libpthread" "$LINENO" 5 @@ -6681,7 +6875,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -= lrt" >&5 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } -if test "${ac_cv_lib_rt_clock_gettime+set}" =3D set; then : +if ${ac_cv_lib_rt_clock_gettime+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6715,7 +6909,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_get= time" >&5 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } -if test "x$ac_cv_lib_rt_clock_gettime" =3D x""yes; then : +if test "x$ac_cv_lib_rt_clock_gettime" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBRT 1 _ACEOF @@ -6726,7 +6920,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_clear in -luu= id" >&5 $as_echo_n "checking for uuid_clear in -luuid... " >&6; } -if test "${ac_cv_lib_uuid_uuid_clear+set}" =3D set; then : +if ${ac_cv_lib_uuid_uuid_clear+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6760,7 +6954,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_cl= ear" >&5 $as_echo "$ac_cv_lib_uuid_uuid_clear" >&6; } -if test "x$ac_cv_lib_uuid_uuid_clear" =3D x""yes; then : +if test "x$ac_cv_lib_uuid_uuid_clear" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBUUID 1 _ACEOF @@ -6773,7 +6967,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yajl_alloc in -lya= jl" >&5 $as_echo_n "checking for yajl_alloc in -lyajl... " >&6; } -if test "${ac_cv_lib_yajl_yajl_alloc+set}" =3D set; then : +if ${ac_cv_lib_yajl_yajl_alloc+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6807,7 +7001,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yajl_yajl_al= loc" >&5 $as_echo "$ac_cv_lib_yajl_yajl_alloc" >&6; } -if test "x$ac_cv_lib_yajl_yajl_alloc" =3D x""yes; then : +if test "x$ac_cv_lib_yajl_yajl_alloc" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBYAJL 1 _ACEOF @@ -6820,7 +7014,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateCopy in -lz= " >&5 $as_echo_n "checking for deflateCopy in -lz... " >&6; } -if test "${ac_cv_lib_z_deflateCopy+set}" =3D set; then : +if ${ac_cv_lib_z_deflateCopy+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6854,7 +7048,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateCop= y" >&5 $as_echo "$ac_cv_lib_z_deflateCopy" >&6; } -if test "x$ac_cv_lib_z_deflateCopy" =3D x""yes; then : +if test "x$ac_cv_lib_z_deflateCopy" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBZ 1 _ACEOF @@ -6867,7 +7061,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -= liconv" >&5 $as_echo_n "checking for libiconv_open in -liconv... " >&6; } -if test "${ac_cv_lib_iconv_libiconv_open+set}" =3D set; then : +if ${ac_cv_lib_iconv_libiconv_open+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -6901,7 +7095,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libico= nv_open" >&5 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; } -if test "x$ac_cv_lib_iconv_libiconv_open" =3D x""yes; then : +if test "x$ac_cv_lib_iconv_libiconv_open" =3D xyes; then : libiconv=3D"y" else libiconv=3D"n" @@ -6910,11 +7104,22 @@ =20 =20 # Checks for header files. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_= default" +if test "x$ac_cv_type_size_t" =3D xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" = >&5 $as_echo_n "checking for working alloca.h... " >&6; } -if test "${ac_cv_working_alloca_h+set}" =3D set; then : +if ${ac_cv_working_alloca_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6947,7 +7152,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } -if test "${ac_cv_func_alloca_works+set}" =3D set; then : +if ${ac_cv_func_alloca_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6966,7 +7171,7 @@ #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); +void *alloca (size_t); # endif # endif # endif @@ -7010,7 +7215,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' ne= eds Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if test "${ac_cv_os_cray+set}" =3D set; then : +if ${ac_cv_os_cray+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7051,7 +7256,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C = alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } -if test "${ac_cv_c_stack_direction+set}" =3D set; then : +if ${ac_cv_c_stack_direction+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -7122,7 +7327,7 @@ # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that con= forms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -if test "${ac_cv_header_stdbool_h+set}" =3D set; then : +if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7154,7 +7359,7 @@ char b[false =3D=3D 0 ? 1 : -1]; char c[__bool_true_false_are_defined =3D=3D 1 ? 1 : -1]; char d[(bool) 0.5 =3D=3D true ? 1 : -1]; - bool e =3D &s; + /* See body of main program for 'e'. */ char f[(_Bool) 0.0 =3D=3D false ? 1 : -1]; char g[true]; char h[sizeof (_Bool)]; @@ -7165,25 +7370,6 @@ _Bool n[m]; char o[sizeof n =3D=3D m * sizeof n[0] ? 1 : -1]; char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; -# if defined __xlc__ || defined __GNUC__ - /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 - reported by James Lemley on 2005-10-05; see - http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.ht= ml - This test is not quite right, since xlc is allowed to - reject this program, as the initializer for xlcbug is - not one of the forms that C requires support for. - However, doing the test right would require a runtime - test, and that would make cross-compilation harder. - Let us hope that IBM fixes the xlc bug, and also adds - support for this kind of constant expression. In the - meantime, this test will reject xlc, which is OK, since - our stdbool.h substitute should suffice. We also test - this with GCC, where it should work, to detect more - quickly whether someone messes up the test in the - future. */ - char digs[] =3D "0123456789"; - int xlcbug =3D 1 / (&(digs + 5)[-2 + (bool) 1] =3D=3D &digs[4] ? 1 : -= 1); -# endif /* Catch a bug in an HP-UX C compiler. See http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.htm= l @@ -7195,6 +7381,7 @@ main () { =20 + bool e =3D &s; *pq |=3D q; *pq |=3D ! q; /* Refer to every declared value, to avoid compiler optimizations. */ @@ -7215,7 +7402,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h= " >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_de= fault" -if test "x$ac_cv_type__Bool" =3D x""yes; then : +if test "x$ac_cv_type__Bool" =3D xyes; then : =20 cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 @@ -7232,7 +7419,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types= =2Eh" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } -if test "${ac_cv_type_uid_t+set}" =3D set; then : +if ${ac_cv_type_uid_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7262,7 +7449,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" =3D set; then : +if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=3Dno @@ -7347,7 +7534,7 @@ esac =20 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_= default" -if test "x$ac_cv_type_mode_t" =3D x""yes; then : +if test "x$ac_cv_type_mode_t" =3D xyes; then : =20 else =20 @@ -7358,7 +7545,7 @@ fi =20 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_de= fault" -if test "x$ac_cv_type_off_t" =3D x""yes; then : +if test "x$ac_cv_type_off_t" =3D xyes; then : =20 else =20 @@ -7369,7 +7556,7 @@ fi =20 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_de= fault" -if test "x$ac_cv_type_pid_t" =3D x""yes; then : +if test "x$ac_cv_type_pid_t" =3D xyes; then : =20 else =20 @@ -7381,7 +7568,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict key= word" >&5 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } -if test "${ac_cv_c_restrict+set}" =3D set; then : +if ${ac_cv_c_restrict+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_restrict=3Dno @@ -7426,7 +7613,7 @@ esac =20 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_= default" -if test "x$ac_cv_type_size_t" =3D x""yes; then : +if test "x$ac_cv_type_size_t" =3D xyes; then : =20 else =20 @@ -7437,7 +7624,7 @@ fi =20 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_include= s_default" -if test "x$ac_cv_type_ssize_t" =3D x""yes; then : +if test "x$ac_cv_type_ssize_t" =3D xyes; then : =20 else =20 @@ -7448,7 +7635,7 @@ fi =20 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_= struct_stat_st_blksize" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blksize" =3D x""yes; then : +if test "x$ac_cv_member_struct_stat_st_blksize" =3D xyes; then : =20 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 @@ -7458,7 +7645,7 @@ fi =20 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_s= truct_stat_st_blocks" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blocks" =3D x""yes; then : +if test "x$ac_cv_member_struct_stat_st_blocks" =3D xyes; then : =20 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLOCKS 1 @@ -7478,7 +7665,7 @@ =20 =20 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_str= uct_stat_st_rdev" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_rdev" =3D x""yes; then : +if test "x$ac_cv_member_struct_stat_st_rdev" =3D xyes; then : =20 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_RDEV 1 @@ -7542,7 +7729,7 @@ esac =20 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_inc= ludes_default" -if test "x$ac_cv_type_ptrdiff_t" =3D x""yes; then : +if test "x$ac_cv_type_ptrdiff_t" =3D xyes; then : =20 cat >>confdefs.h <<_ACEOF #define HAVE_PTRDIFF_T 1 @@ -7555,7 +7742,7 @@ # Checks for library functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5= $as_echo_n "checking for error_at_line... " >&6; } -if test "${ac_cv_lib_error_at_line+set}" =3D set; then : +if ${ac_cv_lib_error_at_line+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7591,7 +7778,7 @@ for ac_header in vfork.h do : ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h= " "$ac_includes_default" -if test "x$ac_cv_header_vfork_h" =3D x""yes; then : +if test "x$ac_cv_header_vfork_h" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF @@ -7615,7 +7802,7 @@ if test "x$ac_cv_func_fork" =3D xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&= 5 $as_echo_n "checking for working fork... " >&6; } -if test "${ac_cv_func_fork_works+set}" =3D set; then : +if ${ac_cv_func_fork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -7668,7 +7855,7 @@ if test "x$ac_cv_func_vfork" =3D xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >= &5 $as_echo_n "checking for working vfork... " >&6; } -if test "${ac_cv_func_vfork_works+set}" =3D set; then : +if ${ac_cv_func_vfork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -7803,7 +7990,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE = value needed for large files" >&5 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files.= =2E. " >&6; } -if test "${ac_cv_sys_largefile_source+set}" =3D set; then : +if ${ac_cv_sys_largefile_source+:} false; then : $as_echo_n "(cached) " >&6 else while :; do @@ -7871,7 +8058,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctl= y handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... "= >&6; } -if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" =3D set; = then : +if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file @@ -7933,7 +8120,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h de= fines makedev" >&5 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; } -if test "${ac_cv_header_sys_types_h_makedev+set}" =3D set; then : +if ${ac_cv_header_sys_types_h_makedev+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7961,7 +8148,7 @@ =20 if test $ac_cv_header_sys_types_h_makedev =3D no; then ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_m= kdev_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_mkdev_h" =3D x""yes; then : +if test "x$ac_cv_header_sys_mkdev_h" =3D xyes; then : =20 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h =20 @@ -7971,7 +8158,7 @@ =20 if test $ac_cv_header_sys_mkdev_h =3D no; then ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_head= er_sys_sysmacros_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_sysmacros_h" =3D x""yes; then : +if test "x$ac_cv_header_sys_sysmacros_h" =3D xyes; then : =20 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h =20 @@ -7984,7 +8171,7 @@ for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib= _h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" =3D x""yes; then : +if test "x$ac_cv_header_stdlib_h" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF @@ -7995,7 +8182,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatibl= e malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if test "${ac_cv_func_malloc_0_nonnull+set}" =3D set; then : +if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -8050,7 +8237,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys= /time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included.= =2E. " >&6; } -if test "${ac_cv_header_time+set}" =3D set; then : +if ${ac_cv_header_time+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8125,7 +8312,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&= 5 $as_echo_n "checking for working mktime... " >&6; } -if test "${ac_cv_func_working_mktime+set}" =3D set; then : +if ${ac_cv_func_working_mktime+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -8354,7 +8541,7 @@ for ac_func in getpagesize do : ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" =3D x""yes; then : +if test "x$ac_cv_func_getpagesize" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETPAGESIZE 1 _ACEOF @@ -8364,7 +8551,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 $as_echo_n "checking for working mmap... " >&6; } -if test "${ac_cv_func_mmap_fixed_mapped+set}" =3D set; then : +if ${ac_cv_func_mmap_fixed_mapped+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -8531,7 +8718,7 @@ for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib= _h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" =3D x""yes; then : +if test "x$ac_cv_header_stdlib_h" =3D xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF @@ -8542,7 +8729,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatibl= e realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } -if test "${ac_cv_func_realloc_0_nonnull+set}" =3D set; then : +if ${ac_cv_func_realloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -8595,13 +8782,17 @@ fi =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >= &5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" = >&5 $as_echo_n "checking for working strnlen... " >&6; } -if test "${ac_cv_func_strnlen_working+set}" =3D set; then : +if ${ac_cv_func_strnlen_working+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : - ac_cv_func_strnlen_working=3Dno + # Guess no on AIX systems, yes otherwise. + case "$host_os" in + aix*) ac_cv_func_strnlen_working=3Dno;; + *) ac_cv_func_strnlen_working=3Dyes;; + esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8650,7 +8841,7 @@ =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&= 5 $as_echo_n "checking for working strtod... " >&6; } -if test "${ac_cv_func_strtod+set}" =3D set; then : +if ${ac_cv_func_strtod+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" =3D yes; then : @@ -8709,14 +8900,14 @@ esac =20 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" -if test "x$ac_cv_func_pow" =3D x""yes; then : +if test "x$ac_cv_func_pow" =3D xyes; then : =20 fi =20 if test $ac_cv_func_pow =3D no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 $as_echo_n "checking for pow in -lm... " >&6; } -if test "${ac_cv_lib_m_pow+set}" =3D set; then : +if ${ac_cv_lib_m_pow+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=3D$LIBS @@ -8750,7 +8941,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 $as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" =3D x""yes; then : +if test "x$ac_cv_lib_m_pow" =3D xyes; then : POW_LIB=3D-lm else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library = containing definition of pow" >&5 @@ -8846,10 +9037,21 @@ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" !=3D "x/dev/null" && + if test "x$cache_file" !=3D "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_fil= e" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cac= he $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -8881,7 +9083,7 @@ =20 =20 =20 -: ${CONFIG_STATUS=3D./config.status} +: "${CONFIG_STATUS=3D./config.status}" ac_write_fail=3D0 ac_clean_files_save=3D$ac_clean_files ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" @@ -8982,6 +9184,7 @@ IFS=3D" "" $as_nl" =20 # Find who we are. Look in the path if we contain no directory separato= r. +as_myself=3D case $0 in #(( *[\\/]* ) as_myself=3D$0 ;; *) as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR @@ -9289,7 +9492,7 @@ # values after options handling. ac_log=3D" This file was extended by Xen Hypervisor $as_me 4.2, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.68. Invocation command line was =20 CONFIG_FILES =3D $CONFIG_FILES CONFIG_HEADERS =3D $CONFIG_HEADERS @@ -9351,7 +9554,7 @@ ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\= $]/\\\\&/g'`" ac_cs_version=3D"\\ Xen Hypervisor config.status 4.2 -configured by $0, generated by GNU Autoconf 2.67, +configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" =20 Copyright (C) 2010 Free Software Foundation, Inc. @@ -9475,7 +9678,7 @@ "../config/Tools.mk") CONFIG_FILES=3D"$CONFIG_FILES ../config/Tools.= mk" ;; "config.h") CONFIG_HEADERS=3D"$CONFIG_HEADERS config.h" ;; =20 - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5= ;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5= ;; esac done =20 @@ -9497,9 +9700,10 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp=3D + tmp=3D ac_tmp=3D trap 'exit_status=3D$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit= _status + : "${ac_tmp:=3D$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -9507,12 +9711,13 @@ =20 { tmp=3D`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=3D./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO"= 5 +ac_tmp=3D$tmp =20 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -9534,7 +9739,7 @@ ac_cs_awk_cr=3D$ac_cr fi =20 -echo 'BEGIN {' >"$tmp/subs1.awk" && +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF =20 =20 @@ -9562,7 +9767,7 @@ rm -f conf$$subs.sh =20 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -9610,7 +9815,7 @@ rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 _ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] =3D 1 FS =3D "=07" =20 @@ -9642,7 +9847,7 @@ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5= _ACEOF =20 @@ -9676,7 +9881,7 @@ # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || +cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF =20 @@ -9688,8 +9893,8 @@ # handling of long lines. ac_delim=3D'%!_!# ' for ac_last_try in false false :; do - ac_t=3D`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then + ac_tt=3D`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 @@ -9790,7 +9995,7 @@ esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=3D-:-;; :[FH]*) ac_tag=3D$ac_tag:$ac_tag.in;; esac @@ -9809,7 +10014,7 @@ for ac_f do case $ac_f in - -) ac_f=3D"$tmp/stdin";; + -) ac_f=3D"$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source= tree # (if the path is not absolute). The absolute path cannot be DOS-styl= e, # because $ac_f cannot contain `:'. @@ -9818,7 +10023,7 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f=3D"$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=3D`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\'= '/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -9844,8 +10049,8 @@ esac =20 case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -9975,21 +10180,22 @@ s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" = >$tmp/out \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.aw= k" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5= =20 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=3D`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"= ; } && - { ac_out=3D`sed -n '/^[ ]*datarootdir[ ]*:*=3D/p' "$tmp/out"`; test = -z "$ac_out"; } && + { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_o= ut"; } && + { ac_out=3D`sed -n '/^[ ]*datarootdir[ ]*:*=3D/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a = reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable= \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} =20 - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; @@ -10000,20 +10206,20 @@ if test x"$ac_file" !=3D x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&= 5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ + mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; diff -r 185f1deebf49 -r 72a440391550 tools/configure.ac --- a/tools/configure.ac mar mar 06 16:04:24 2012 +0100 +++ b/tools/configure.ac mar mar 06 16:22:04 2012 +0100 @@ -45,6 +45,7 @@ AX_ARG_ENABLE_AND_EXPORT([miniterm], [Enable miniterm]) AX_ARG_ENABLE_AND_EXPORT([lomount], [Enable lomount]) AX_ARG_DISABLE_AND_EXPORT([debug], [Disable debug build of tools]) +AX_ARG_ENABLE_AND_EXPORT([qemuudebug], [Enable debug build of Qemu upstr= eam]) =20 AC_ARG_VAR([PREPEND_INCLUDES], [List of include folders to prepend to CFLAGS (without -I)]) @@ -99,6 +100,13 @@ AX_PATH_PROG_OR_FAIL([XGETTEXT], [xgettext]) AX_CHECK_UUID PKG_CHECK_MODULES(glib, glib-2.0) +PKG_CHECK_MODULES(spice_protocol, spice-protocol >=3D 0.10, [have_spice_= protocol=3Dy], [libspice-protocol=3Dn]) +PKG_CHECK_MODULES(spice_server, spice-server >=3D 0.10, [have_spice_serv= er=3Dy], [libspice-server=3Dn]) +AS_IF([test "x$have_spice_protocol" =3D "xy" -a "x$have_spice_server" =3D= "xy"],=20 + [qemuuspice=3D"y"], + [qemuuspice=3D"n"] +) +AC_SUBST(qemuuspice) =20 # Check library path AX_DEFAULT_LIB --------------080005090007070203010106-- --------------ms090707090607050802080003 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: Firma crittografica S/MIME MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOuDCC Bs4wggW2oAMCAQICAgYuMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UE ChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUg U2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0 ZSBDbGllbnQgQ0EwHhcNMTAwMzE1MDEzNjEyWhcNMTIwMzE1MTgyMDI0WjCBwjEgMB4GA1UE DRMXMTYzNjM4LU1SaENTbDhEM1BCVDVpRkQxCzAJBgNVBAYTAklUMRAwDgYDVQQIEwdCZXJn YW1vMRAwDgYDVQQHEwdSb3ZldHRhMS0wKwYDVQQLEyRTdGFydENvbSBWZXJpZmllZCBDZXJ0 aWZpY2F0ZSBNZW1iZXIxFjAUBgNVBAMTDUZhYmlvIEZhbnRvbmkxJjAkBgkqhkiG9w0BCQEW F2ZhbnRvbmlmYWJpb0B0aXNjYWxpLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC AQEA77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s YXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIGLjANBgkqhkiG9w0BAQEF AASCAQDOfXolDITiVo7tZUP+7lNEtmday3Ff9FsVcrfjPPL9qa0QoODmOVZ6DhxI91KqIVsG P9IqXbhx/yNOyToEkNGURqFqlbyOdjK28/D3ID27P+L8+wYFNqMnsgtvWQVT/swxYcxvx4ZU TukN7/+a8zn/YkP6VwxPIPMzls3o6tA1R7Htw1ko4J+QFaSSeAIANW1CIcf38sRYQYFftuma 1DPzLuyY/CYIkm4xmQAtygPeBrkLEuSEhsABvkUFoOxqgi1nEZ54PkyiRTH+duBKcsGBeDGG 42Lw1MEj0gLe4BuEh17atd7W9DPK6RnfzM/H2W1qvbW5JvZEEqxvMf00T2tNAAAAAAAA --------------ms090707090607050802080003-- --===============5112717911112432077== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============5112717911112432077==--