From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192927; cv=none; d=zohomail.com; s=zohoarc; b=kZfnJsT8T2y7QgE5XmKqvKLGcW61GS8DpI0br1aMHF8kPbkeFSKvBaFisnqbiglGFkxz2JJtuRjNr0pi3AnxXq6BbuCDnofcBvq4x7QEloepgzt7J7ud56UzUuAzxU0PQJJrAUqzgutDGNtzYUzbCt5zm2mjp9BP4t4deEsiKaY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192927; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=3smfAUYhd5dbu3YxqN+pdeZ7qF8VsaVC/NDLpSf2fw4=; b=iRZX3YQl6NJj+zYgCZiJn3MScVRjEbX4GFoUDbSLmsFnGScygbGrifMIWxA5JRlFvi4R+9iwCCcDxmImVWCbdZxZeudzFLyNfSIV9gpZ09NCkcQeDzk28HIyZHreJJY3VrwmU81zWHNW9Pw/8WpE0b7uY9cOjpvfEQEZndDCNgA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720192927345739.0753025713832; Fri, 5 Jul 2024 08:22:07 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754377.1162850 (Exim 4.92) (envelope-from ) id 1sPkkx-0003BO-2X; Fri, 05 Jul 2024 15:21:51 +0000 Received: by outflank-mailman (output) from mailman id 754377.1162850; Fri, 05 Jul 2024 15:21:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkkw-0003BH-UG; Fri, 05 Jul 2024 15:21:50 +0000 Received: by outflank-mailman (input) for mailman id 754377; Fri, 05 Jul 2024 15:20:52 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkjz-00005r-1P for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:20:52 +0000 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [2a00:1450:4864:20::636]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2898f95f-3ae2-11ef-8776-851b0ebba9a2; Fri, 05 Jul 2024 17:20:49 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a77c349bb81so133957566b.3 for ; Fri, 05 Jul 2024 08:20:49 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:43 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2898f95f-3ae2-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192847; x=1720797647; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3smfAUYhd5dbu3YxqN+pdeZ7qF8VsaVC/NDLpSf2fw4=; b=EjqkNP0HujHTKSRCv2a495TOivAl3IjMZcxQ6Drg0iEVHfBKHQK8vsaZ/yQUDlUuvr DRddWwk2yI5x24yiWyiGNGCcuVKseBLXLV1ZkJIIF3cONK9tO6uq3USXOZ7rOh8l2His m24OxUsc29NhVJ2+QACeXnuxDzlXCsrp/zmXc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192847; x=1720797647; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3smfAUYhd5dbu3YxqN+pdeZ7qF8VsaVC/NDLpSf2fw4=; b=s00LhbNAce1BJGdzYcCd3ojQqeoLxv2o45f0LX+Owskc34YxH9k9cipZ+L8xQCO2r7 sLGaJ6BDrk92BrzNc8v7HE63wuuvRsBkvQnIDqcFAnqdG1VCeVJm91RR3Y7qzeEsHf9g XLwhPcvjpEVVhH82h2QufUJMrCjXqfjm+OwQ/ZhwW4O95YULy97VT3/fxWerfOzpq9VH QGuCrvMox+e54d0oapNDxMjWJiL/pBBWGYHDTXjWc17vqFZE15TCq4j1gyZjD9ztnaoE bKD2Mg1loHXPORic7KMcBMeDjAQigQWq3bWn8HQ9A7/uMNEzNh+Vr/rm2YewlZAJWlal LmHw== X-Gm-Message-State: AOJu0YzuehgqmPVkDxyUYmdKvWyqQzF1cuQLCmslyU8cb3/PObETLnNM ltw3LzgkNQ/lzmlpyS3qOD4FID+QuDXRCCcDfWpbMPig2wrXsTKgsPLNl7BmLTYpl/CFukChIwf i X-Google-Smtp-Source: AGHT+IE3rg+hD0sepb8F+vNSECI1zt9dzVhLWd5QoWCYTPt8S1PhuhvdlF/6+oEi9JrTF4Ypfdz1kQ== X-Received: by 2002:a17:906:2485:b0:a77:af6b:d1a8 with SMTP id a640c23a62f3a-a77ba7272a8mr288114766b.64.1720192846256; Fri, 05 Jul 2024 08:20:46 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 1/6] build: Regenerate ./configure with Autoconf 2.71 Date: Fri, 5 Jul 2024 16:20:32 +0100 Message-Id: <20240705152037.1920276-2-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192929054100001 This is the version now found in Debian Bookworm. Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko This was last done by commit de333b694591 ("configure: Regenerate with autoconf 2.69") I've got a local container with Debian Bullseye that has 2.69, but I'm temp= ted to simply backport this patch if we ever need to change anything about autoconf on the older trees --- configure | 1006 +++---- docs/configure | 990 +++---- stubdom/configure | 2293 ++++++++++------ tools/config.h.in | 15 +- tools/configure | 6481 +++++++++++++++++++++++++-------------------- 5 files changed, 6174 insertions(+), 4611 deletions(-) diff --git a/configure b/configure index df7fec483df7..17b8361fa242 100755 --- a/configure +++ b/configure @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Xen Hypervisor 4.19. +# Generated by GNU Autoconf 2.71 for Xen Hypervisor 4.19. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -96,8 +92,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -109,30 +109,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=3D; unset _as_can_reexec;} if test "x$CONFIG_SHELL" =3D x; then - as_bourne_compatible=3D"if test -n \"\${ZSH_VERSION+set}\" && (emulate s= h) >/dev/null 2>&1; then : + as_bourne_compatible=3D"as_nop=3D: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'=3D'\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,41 +169,52 @@ as_fn_success || { exitcode=3D1; echo as_fn_success f= ailed.; } as_fn_failure && { exitcode=3D1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=3D1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=3D1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ) +then : =20 -else +else \$as_nop exitcode=3D1; echo positional parameters were not saved. fi test x\$exitcode =3D x0 || exit 1 +blah=3D\$(echo \$(echo blah)) +test x\"\$blah\" =3D xblah || exit 1 test -x / || exit 1" as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=3Dyes -else +else $as_nop as_have_required=3Dno fi - if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/nul= l; then : + if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/null +then : =20 -else +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR as_found=3Dfalse for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac as_found=3D: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=3D$as_dir/$as_base + as_shell=3D$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$as_s= hell"; } 2>/dev/null; then : + as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/d= ev/null +then : CONFIG_SHELL=3D$as_shell as_have_required=3Dyes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=3Da "$a= s_shell"; } 2>/dev/null; then : + if as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2= >/dev/null +then : break 2 fi fi @@ -229,14 +222,21 @@ fi esac as_found=3Dfalse done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$SHE= LL"; } 2>/dev/null; then : - CONFIG_SHELL=3D$SHELL as_have_required=3Dyes -fi; } IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=3Da "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev= /null +then : + CONFIG_SHELL=3D$SHELL as_have_required=3Dyes +fi +fi =20 =20 - if test "x$CONFIG_SHELL" !=3D x; then : + if test "x$CONFIG_SHELL" !=3D x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -254,18 +254,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi =20 - if test x$as_have_required =3D xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} =3D xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required =3D xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: xen-devel@lists.xen.org about your system, including $0: any error possibly output before this message. Then $0: install a modern shell, or manually run the script @@ -293,6 +294,7 @@ as_fn_unset () } as_unset=3Das_fn_unset =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -310,6 +312,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_mkdir_p # ------------- @@ -324,7 +334,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -333,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -372,12 +382,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -389,18 +400,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` } fi # as_fn_arith =20 +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -412,9 +432,9 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 @@ -441,7 +461,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -485,7 +505,7 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a P= OSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun wit= h a POSIX shell" >&2; as_fn_exit 1; } =20 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -499,6 +519,10 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits exit } =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -512,6 +536,13 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -751,8 +782,6 @@ do *) ac_optarg=3Dyes ;; esac =20 - # Accept the important Cygnus configure options, so we can diagnose typo= s. - case $ac_dashdash$ac_option in --) ac_dashdash=3Dyes ;; @@ -793,9 +822,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -819,9 +848,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1032,9 +1061,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*with-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1048,9 +1077,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1094,9 +1123,9 @@ Try \`$0 --help' for more information" =20 *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >= &2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --targ= et" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_ali= as=3D$ac_option}" ;; =20 @@ -1112,7 +1141,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecogniz= ed_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrec= ognized_opts" >&2 ;; esac fi =20 @@ -1176,7 +1205,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$'= \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1351,9 +1380,9 @@ if test "$ac_init_help" =3D "recursive"; then case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -1381,7 +1410,8 @@ esac ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix =20 cd "$ac_dir" || { ac_status=3D$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=3Drecursive @@ -1389,7 +1419,7 @@ ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=3Drecursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_di= r" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $= ac_dir" >&2 fi || ac_status=3D$? cd "$ac_pwd" || { ac_status=3D$?; break; } done @@ -1399,9 +1429,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor configure 4.19 -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.71 =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1411,14 +1441,34 @@ fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## +ac_configure_args_raw=3D +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote=3D ;; + *) + ac_unsafe_z=3D'|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a=3D"$ac_unsafe_z#~" + ac_safe_unquote=3D"s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=3D` printf "%s\n" "$ac_configure_args_raw" = | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. =20 It was created by Xen Hypervisor $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 - $ $0 $@ + $ $0$ac_configure_args_raw =20 _ACEOF exec 5>>config.log @@ -1451,8 +1501,12 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=3D$as_save_IFS =20 @@ -1487,7 +1541,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -1522,11 +1576,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0= bug. trap 'exit_status=3D$? + # Sanitize IFS. + IFS=3D" "" $as_nl" # Save into config.log some information that might help in debugging. { echo =20 - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -1537,8 +1593,8 @@ trap 'exit_status=3D$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -1562,7 +1618,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; ) echo =20 - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -1570,14 +1626,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\= \'\'''\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo =20 if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -1585,15 +1641,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/= g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo fi =20 if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -1601,8 +1657,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; echo fi test "$ac_signal" !=3D 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -1616,63 +1672,48 @@ ac_signal=3D0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h =20 -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h =20 # Predefined preprocessor variables. =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdef= s.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h =20 =20 # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=3DNONE -ac_site_file2=3DNONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=3D./$CONFIG_SITE;; - */*) ac_site_file1=3D$CONFIG_SITE;; - *) ac_site_file1=3D./$CONFIG_SITE;; - esac + ac_site_files=3D"$CONFIG_SITE" elif test "x$prefix" !=3D xNONE; then - ac_site_file1=3D$prefix/share/config.site - ac_site_file2=3D$prefix/etc/config.site + ac_site_files=3D"$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=3D$ac_default_prefix/share/config.site - ac_site_file2=3D$ac_default_prefix/etc/config.site + ac_site_files=3D"$ac_default_prefix/share/config.site $ac_default_prefix= /etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" =3D xNONE && continue - if test /dev/null !=3D "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_= file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=3D./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_= site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_p= wd':" >&5 +printf "%s\n" "$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; } fi @@ -1682,19 +1723,117 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular fil= e. if test /dev/null !=3D "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_fil= e" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file= " >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi =20 + +# Auxiliary files required by this configure script. +ac_aux_files=3D"config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates=3D"${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPA= RATOR}${srcdir}/../.." + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files=3D"" +ac_first_candidate=3D: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux= _files" >&5 +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +as_found=3Dfalse +for as_dir in $ac_aux_dir_candidates +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + as_found=3D: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=3Dyes + ac_install_sh=3D + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" =3D x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh = found" >&5 + ac_install_sh=3D"${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh = found" >&5 + ac_install_sh=3D"${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool foun= d" >&5 + ac_install_sh=3D"${as_dir}shtool install -c" + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} f= ound" >&5 + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" =3D yes; then + ac_aux_dir=3D"$as_dir" + break + fi + ac_first_candidate=3Dfalse + + as_found=3Dfalse +done +IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_fil= es" "$LINENO" 5 +fi + + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a direc= tory +# whose full name contains unusual characters. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess=3D"$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub=3D"$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure=3D"$SHELL ${ac_aux_dir}configure" +fi + # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=3Dfalse @@ -1705,12 +1844,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=3D\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set t= o \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previ= ous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the = previous run" >&2;} ac_cache_corrupted=3D: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not s= et in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" = >&2;} ac_cache_corrupted=3D: ;; ,);; *) @@ -1719,24 +1858,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in = the previous run" >&2;} ac_old_val_w=3D`echo x $ac_old_val` ac_new_val_w=3D`echo x $ac_new_val` if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed = since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >= &2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has cha= nged since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous ru= n:" >&2;} ac_cache_corrupted=3D: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c= hanges in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since= the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitesp= ace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' = since the previous run:" >&2;} eval $ac_var=3D\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'"= >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"= >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_= val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_= val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" =3D set; then case $ac_new_val in - *\'*) ac_arg=3D$ac_var=3D`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\'= '/g"` ;; + *\'*) ac_arg=3D$ac_var=3D`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\= \\\\''/g"` ;; *) ac_arg=3D$ac_var=3D$ac_new_val ;; esac case " $ac_configure_args " in @@ -1746,11 +1885,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" = >&2;} fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environme= nt can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the bui= ld" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start= over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the envi= ronment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise th= e build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -1767,55 +1907,30 @@ ac_compiler_gnu=3D$ac_cv_c_compiler_gnu ac_config_files=3D"$ac_config_files config/Toplevel.mk config/Paths.mk" =20 =20 -ac_aux_dir=3D -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcd= ir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi =20 -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a direc= tory -# whose full name contains unusual characters. -ac_config_guess=3D"$SHELL $ac_aux_dir/config.guess" # Please don't use th= is var. -ac_config_sub=3D"$SHELL $ac_aux_dir/config.sub" # Please don't use this v= ar. -ac_configure=3D"$SHELL $ac_aux_dir/configure" # Please don't use this var. =20 =20 -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" = >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=3D$build_alias test "x$ac_build_alias" =3D x && - ac_build_alias=3D`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=3D`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" =3D x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO"= 5 -ac_cv_build=3D`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$= LINENO" 5 +ac_cv_build=3D`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "= $LINENO" 5 =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -1834,21 +1949,22 @@ IFS=3D$ac_save_IFS case $build_os in *\ *) build_os=3D`echo "$build_os" | sed 's/ /-/g'`;; es= ac =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >= &5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" =3D x; then ac_cv_host=3D$ac_cv_build else - ac_cv_host=3D`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LI= NENO" 5 + ac_cv_host=3D`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$L= INENO" 5 fi =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -1941,16 +2057,15 @@ CONFIG_DIR=3D$sysconfdir XEN_CONFIG_DIR=3D$CONFIG_DIR/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_CONFIG_DIR "$XEN_CONFIG_DIR" -_ACEOF +printf "%s\n" "#define XEN_CONFIG_DIR \"$XEN_CONFIG_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-initddir was given. -if test "${with_initddir+set}" =3D set; then : +if test ${with_initddir+y} +then : withval=3D$with_initddir; initddir_path=3D$withval -else +else $as_nop case "$host_os" in *linux*) if test -d $sysconfdir/rc.d/init.d ; then @@ -1968,9 +2083,10 @@ fi =20 =20 # Check whether --with-sysconfig-leaf-dir was given. -if test "${with_sysconfig_leaf_dir+set}" =3D set; then : +if test ${with_sysconfig_leaf_dir+y} +then : withval=3D$with_sysconfig_leaf_dir; config_leaf_dir=3D$withval -else +else $as_nop config_leaf_dir=3Dsysconfig if test ! -d /etc/sysconfig ; then config_leaf_dir=3Ddefault ; fi fi @@ -1980,52 +2096,55 @@ CONFIG_LEAF_DIR=3D$config_leaf_dir =20 =20 # Check whether --with-libexec-leaf-dir was given. -if test "${with_libexec_leaf_dir+set}" =3D set; then : +if test ${with_libexec_leaf_dir+y} +then : withval=3D$with_libexec_leaf_dir; libexec_subdir=3D$withval -else +else $as_nop libexec_subdir=3D$PACKAGE_TARNAME fi =20 =20 =20 # Check whether --with-xen-scriptdir was given. -if test "${with_xen_scriptdir+set}" =3D set; then : +if test ${with_xen_scriptdir+y} +then : withval=3D$with_xen_scriptdir; xen_scriptdir_path=3D$withval -else +else $as_nop xen_scriptdir_path=3D$XEN_CONFIG_DIR/scripts fi =20 XEN_SCRIPT_DIR=3D$xen_scriptdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_SCRIPT_DIR "$XEN_SCRIPT_DIR" -_ACEOF +printf "%s\n" "#define XEN_SCRIPT_DIR \"$XEN_SCRIPT_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-xen-dumpdir was given. -if test "${with_xen_dumpdir+set}" =3D set; then : +if test ${with_xen_dumpdir+y} +then : withval=3D$with_xen_dumpdir; xen_dumpdir_path=3D$withval -else +else $as_nop xen_dumpdir_path=3D$localstatedir/lib/xen/dump fi =20 =20 =20 # Check whether --with-rundir was given. -if test "${with_rundir+set}" =3D set; then : +if test ${with_rundir+y} +then : withval=3D$with_rundir; rundir_path=3D$withval -else +else $as_nop rundir_path=3D$localstatedir/run fi =20 =20 =20 # Check whether --with-debugdir was given. -if test "${with_debugdir+set}" =3D set; then : +if test ${with_debugdir+y} +then : withval=3D$with_debugdir; debugdir_path=3D$withval -else +else $as_nop debugdir_path=3D$prefix/lib/debug fi =20 @@ -2044,9 +2163,7 @@ LIBEXEC=3D`eval echo $libexecdir/$libexec_subdir` LIBEXEC_BIN=3D${LIBEXEC}/bin =20 =20 -cat >>confdefs.h <<_ACEOF -#define LIBEXEC_BIN "$LIBEXEC_BIN" -_ACEOF +printf "%s\n" "#define LIBEXEC_BIN \"$LIBEXEC_BIN\"" >>confdefs.h =20 LIBEXEC_LIB=3D${LIBEXEC}/lib =20 @@ -2055,41 +2172,31 @@ LIBEXEC_INC=3D${LIBEXEC}/include XENFIRMWAREDIR=3D${LIBEXEC}/boot =20 =20 -cat >>confdefs.h <<_ACEOF -#define XENFIRMWAREDIR "$XENFIRMWAREDIR" -_ACEOF +printf "%s\n" "#define XENFIRMWAREDIR \"$XENFIRMWAREDIR\"" >>confdefs.h =20 =20 XEN_RUN_DIR=3D$rundir_path/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_DIR "$XEN_RUN_DIR" -_ACEOF +printf "%s\n" "#define XEN_RUN_DIR \"$XEN_RUN_DIR\"" >>confdefs.h =20 =20 XEN_LOG_DIR=3D$localstatedir/log/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOG_DIR "$XEN_LOG_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOG_DIR \"$XEN_LOG_DIR\"" >>confdefs.h =20 =20 XEN_RUN_STORED=3D$rundir_path/xenstored =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_STORED "$XEN_RUN_STORED" -_ACEOF +printf "%s\n" "#define XEN_RUN_STORED \"$XEN_RUN_STORED\"" >>confdefs.h =20 =20 XEN_LIB_DIR=3D$localstatedir/lib/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LIB_DIR "$XEN_LIB_DIR" -_ACEOF +printf "%s\n" "#define XEN_LIB_DIR \"$XEN_LIB_DIR\"" >>confdefs.h =20 =20 SHAREDIR=3D$prefix/share @@ -2105,9 +2212,7 @@ case "$host_os" in esac =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOCK_DIR "$XEN_LOCK_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOCK_DIR \"$XEN_LOCK_DIR\"" >>confdefs.h =20 =20 XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging @@ -2116,9 +2221,7 @@ XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging XEN_DUMP_DIR=3D$xen_dumpdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_DUMP_DIR "$XEN_DUMP_DIR" -_ACEOF +printf "%s\n" "#define XEN_DUMP_DIR \"$XEN_DUMP_DIR\"" >>confdefs.h =20 =20 DEBUG_DIR=3D$debugdir_path @@ -2144,19 +2247,22 @@ esac =20 =20 # Check whether --enable-xen was given. -if test "${enable_xen+set}" =3D set; then : +if test ${enable_xen+y} +then : enableval=3D$enable_xen; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 xen=3Dy SUBSYSTEMS=3D"$SUBSYSTEMS xen" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 xen=3Dn @@ -2167,7 +2273,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 xen=3Dy @@ -2177,7 +2283,8 @@ SUBSYSTEMS=3D"$SUBSYSTEMS xen" fi =20 =20 -if test -e "xen/configure"; then : +if test -e "xen/configure" +then : =20 if test "x$xen" =3D "xy" || test "x$xen" =3D "x" ; then subdirs=3D"$subdirs xen" @@ -2190,19 +2297,22 @@ fi =20 =20 # Check whether --enable-tools was given. -if test "${enable_tools+set}" =3D set; then : +if test ${enable_tools+y} +then : enableval=3D$enable_tools; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 tools=3Dy SUBSYSTEMS=3D"$SUBSYSTEMS tools" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 tools=3Dn @@ -2213,7 +2323,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 tools=3Dy @@ -2223,7 +2333,8 @@ SUBSYSTEMS=3D"$SUBSYSTEMS tools" fi =20 =20 -if test -e "tools/configure"; then : +if test -e "tools/configure" +then : =20 if test "x$tools" =3D "xy" || test "x$tools" =3D "x" ; then subdirs=3D"$subdirs tools" @@ -2236,19 +2347,22 @@ fi =20 =20 # Check whether --enable-stubdom was given. -if test "${enable_stubdom+set}" =3D set; then : +if test ${enable_stubdom+y} +then : enableval=3D$enable_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 stubdom=3Dy SUBSYSTEMS=3D"$SUBSYSTEMS stubdom" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 stubdom=3Dn @@ -2259,16 +2373,17 @@ fi fi =20 =20 -else +else $as_nop =20 -if test "x$arch_enable_stubdom" =3D "xy"; then : +if test "x$arch_enable_stubdom" =3D "xy" +then : =20 =20 stubdom=3Dy SUBSYSTEMS=3D"$SUBSYSTEMS stubdom" =20 =20 -else +else $as_nop =20 =20 stubdom=3Dn @@ -2279,7 +2394,8 @@ fi fi =20 =20 -if test -e "stubdom/configure"; then : +if test -e "stubdom/configure" +then : =20 if test "x$stubdom" =3D "xy" || test "x$stubdom" =3D "x" ; then subdirs=3D"$subdirs stubdom" @@ -2292,19 +2408,22 @@ fi =20 =20 # Check whether --enable-docs was given. -if test "${enable_docs+set}" =3D set; then : +if test ${enable_docs+y} +then : enableval=3D$enable_docs; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 docs=3Dy SUBSYSTEMS=3D"$SUBSYSTEMS docs" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 docs=3Dn @@ -2315,7 +2434,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 docs=3Dy @@ -2325,7 +2444,8 @@ SUBSYSTEMS=3D"$SUBSYSTEMS docs" fi =20 =20 -if test -e "docs/configure"; then : +if test -e "docs/configure" +then : =20 if test "x$docs" =3D "xy" || test "x$docs" =3D "x" ; then subdirs=3D"$subdirs docs" @@ -2372,8 +2492,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -2403,15 +2523,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test "${\1+set}" =3D set || &/ + s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=3D]*\)=3D\(.*\)$/\1=3D${\1=3D\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" !=3D "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file"= >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_= file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -2425,8 +2545,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache= $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable = cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -2479,7 +2599,7 @@ U=3D for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue # 1. Remove the extension, and $U if already installed. ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=3D`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -2495,8 +2615,8 @@ LTLIBOBJS=3D$ac_ltlibobjs ac_write_fail=3D0 ac_clean_files_save=3D$ac_clean_files ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=3D0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=3D1 #! $SHELL @@ -2519,14 +2639,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=3D1 =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -2536,46 +2658,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -2584,13 +2706,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -2599,8 +2714,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -2612,30 +2731,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -2648,13 +2747,14 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -2681,18 +2781,20 @@ as_fn_unset () { eval $1=3D; unset $1;} } as_unset=3Das_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. = Take # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -2704,12 +2806,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` @@ -2740,7 +2843,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -2762,6 +2865,10 @@ as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS as_cr_digits=3D'0123456789' as_cr_alnum=3D$as_cr_Letters$as_cr_digits =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -2775,6 +2882,12 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -2816,7 +2929,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -2825,7 +2938,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|= \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2888,7 +3001,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 # values after options handling. ac_log=3D" This file was extended by Xen Hypervisor $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 CONFIG_FILES =3D $CONFIG_FILES CONFIG_HEADERS =3D $CONFIG_HEADERS @@ -2938,14 +3051,16 @@ Report bugs to . Xen Hypervisor home page: ." =20 _ACEOF +ac_cs_config=3D`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote= "` +ac_cs_config_escaped=3D`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'= \\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]= /\\\\&/g'`" +ac_cs_config=3D'$ac_cs_config_escaped' ac_cs_version=3D"\\ Xen Hypervisor config.status 4.19 -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." =20 @@ -2982,21 +3097,21 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=3D: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=3D: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=3D`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g= "` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=3Dfalse;; --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=3D: ;; @@ -3024,7 +3139,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-crea= te --no-recursion shift - \$as_echo "running CONFIG_SHELL=3D$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=3D$SHELL \$*" >&6 CONFIG_SHELL=3D'$SHELL' export CONFIG_SHELL exec "\$@" @@ -3038,7 +3153,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 =20 _ACEOF @@ -3064,7 +3179,7 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" =3D set || CONFIG_FILES=3D$config_files + test ${CONFIG_FILES+y} || CONFIG_FILES=3D$config_files fi =20 # Have a temporary directory for convenience. Make it in the build tree @@ -3292,7 +3407,7 @@ do esac || 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 + case $ac_f in *\'*) ac_f=3D`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\= \\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done =20 @@ -3300,17 +3415,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input=3D'Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" !=3D x-; then configure_input=3D"$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement stri= ngs. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=3D`$as_echo "$configure_input" | + ac_sed_conf_input=3D`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=3D$configure_input;; esac @@ -3327,7 +3442,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \= | \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -3351,9 +3466,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -3406,8 +3521,8 @@ ac_sed_dataroot=3D' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=3Dyes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems = to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootd= ir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs s= eems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --data= rootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 ac_datarootdir_hack=3D' @@ -3449,9 +3564,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out= "; } && { 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 re= ference to the variable \`datarootdir' + { printf "%s\n" "$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' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the varia= ble \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} =20 rm -f "$ac_tmp/stdin" @@ -3537,7 +3652,7 @@ if test "$no_recursion" !=3D yes; then ;; *) case $ac_arg in - *\'*) ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_sub_configure_args " '$ac_arg'" ;; esac @@ -3547,7 +3662,7 @@ if test "$no_recursion" !=3D yes; then # in subdir configurations. ac_arg=3D"--prefix=3D$prefix" case $ac_arg in - *\'*) ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ac_sub_configure_args=3D"'$ac_arg' $ac_sub_configure_args" =20 @@ -3568,17 +3683,17 @@ if test "$no_recursion" !=3D yes; then test -d "$srcdir/$ac_dir" || continue =20 ac_msg=3D"=3D=3D=3D configuring in $ac_dir (`pwd`/$ac_dir)" - $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 - $as_echo "$ac_msg" >&6 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + printf "%s\n" "$ac_msg" >&6 as_dir=3D"$ac_dir"; as_fn_mkdir_p ac_builddir=3D. =20 case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -3608,17 +3723,15 @@ ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix =20 cd "$ac_dir" =20 - # Check for guested configure; otherwise get Cygnus style configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then ac_sub_configure=3D$ac_srcdir/configure.gnu elif test -f "$ac_srcdir/configure"; then ac_sub_configure=3D$ac_srcdir/configure - elif test -f "$ac_srcdir/configure.in"; then - # This should be Cygnus configure. - ac_sub_configure=3D$ac_aux_dir/configure else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration i= nformation is in $ac_dir" >&5 -$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2= ;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configurat= ion information is in $ac_dir" >&5 +printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir= " >&2;} ac_sub_configure=3D fi =20 @@ -3631,8 +3744,8 @@ $as_echo "$as_me: WARNING: no configuration informati= on is in $ac_dir" >&2;} ac_sub_cache_file=3D$ac_top_build_prefix$cache_file ;; esac =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_conf= igure $ac_sub_configure_args --cache-file=3D$ac_sub_cache_file --srcdir=3D$= ac_srcdir" >&5 -$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args = --cache-file=3D$ac_sub_cache_file --srcdir=3D$ac_srcdir" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub= _configure $ac_sub_configure_args --cache-file=3D$ac_sub_cache_file --srcdi= r=3D$ac_srcdir" >&5 +printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_= args --cache-file=3D$ac_sub_cache_file --srcdir=3D$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ --cache-file=3D\"\$ac_sub_cache_file\" --srcdir=3D\"\$ac_srcdir\"" || @@ -3643,7 +3756,8 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $a= c_sub_configure_args --cach done fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" !=3D = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: = $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&= 2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized opti= ons: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt= s" >&2;} fi =20 + diff --git a/docs/configure b/docs/configure index b55e67e93a8f..b6732af3b49c 100755 --- a/docs/configure +++ b/docs/configure @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Xen Hypervisor Documentation 4.19. +# Generated by GNU Autoconf 2.71 for Xen Hypervisor Documentation 4.19. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -96,8 +92,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -109,30 +109,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=3D; unset _as_can_reexec;} if test "x$CONFIG_SHELL" =3D x; then - as_bourne_compatible=3D"if test -n \"\${ZSH_VERSION+set}\" && (emulate s= h) >/dev/null 2>&1; then : + as_bourne_compatible=3D"as_nop=3D: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'=3D'\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,41 +169,52 @@ as_fn_success || { exitcode=3D1; echo as_fn_success f= ailed.; } as_fn_failure && { exitcode=3D1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=3D1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=3D1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ) +then : =20 -else +else \$as_nop exitcode=3D1; echo positional parameters were not saved. fi test x\$exitcode =3D x0 || exit 1 +blah=3D\$(echo \$(echo blah)) +test x\"\$blah\" =3D xblah || exit 1 test -x / || exit 1" as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=3Dyes -else +else $as_nop as_have_required=3Dno fi - if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/nul= l; then : + if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/null +then : =20 -else +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR as_found=3Dfalse for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac as_found=3D: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=3D$as_dir/$as_base + as_shell=3D$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$as_s= hell"; } 2>/dev/null; then : + as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/d= ev/null +then : CONFIG_SHELL=3D$as_shell as_have_required=3Dyes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=3Da "$a= s_shell"; } 2>/dev/null; then : + if as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2= >/dev/null +then : break 2 fi fi @@ -229,14 +222,21 @@ fi esac as_found=3Dfalse done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$SHE= LL"; } 2>/dev/null; then : - CONFIG_SHELL=3D$SHELL as_have_required=3Dyes -fi; } IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=3Da "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev= /null +then : + CONFIG_SHELL=3D$SHELL as_have_required=3Dyes +fi +fi =20 =20 - if test "x$CONFIG_SHELL" !=3D x; then : + if test "x$CONFIG_SHELL" !=3D x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -254,18 +254,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi =20 - if test x$as_have_required =3D xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} =3D xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required =3D xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: xen-devel@lists.xen.org about your system, including $0: any error possibly output before this message. Then $0: install a modern shell, or manually run the script @@ -293,6 +294,7 @@ as_fn_unset () } as_unset=3Das_fn_unset =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -310,6 +312,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_mkdir_p # ------------- @@ -324,7 +334,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -333,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -372,12 +382,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -389,18 +400,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` } fi # as_fn_arith =20 +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -412,9 +432,9 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 @@ -441,7 +461,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -485,7 +505,7 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a P= OSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun wit= h a POSIX shell" >&2; as_fn_exit 1; } =20 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -499,6 +519,10 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits exit } =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -512,6 +536,13 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -741,8 +772,6 @@ do *) ac_optarg=3Dyes ;; esac =20 - # Accept the important Cygnus configure options, so we can diagnose typo= s. - case $ac_dashdash$ac_option in --) ac_dashdash=3Dyes ;; @@ -783,9 +812,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -809,9 +838,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1022,9 +1051,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*with-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1038,9 +1067,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1084,9 +1113,9 @@ Try \`$0 --help' for more information" =20 *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >= &2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --targ= et" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_ali= as=3D$ac_option}" ;; =20 @@ -1102,7 +1131,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecogniz= ed_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrec= ognized_opts" >&2 ;; esac fi =20 @@ -1166,7 +1195,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$'= \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1339,9 +1368,9 @@ if test "$ac_init_help" =3D "recursive"; then case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -1369,7 +1398,8 @@ esac ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix =20 cd "$ac_dir" || { ac_status=3D$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=3Drecursive @@ -1377,7 +1407,7 @@ ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=3Drecursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_di= r" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $= ac_dir" >&2 fi || ac_status=3D$? cd "$ac_pwd" || { ac_status=3D$?; break; } done @@ -1387,9 +1417,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor Documentation configure 4.19 -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.71 =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1399,14 +1429,34 @@ fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## +ac_configure_args_raw=3D +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote=3D ;; + *) + ac_unsafe_z=3D'|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a=3D"$ac_unsafe_z#~" + ac_safe_unquote=3D"s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=3D` printf "%s\n" "$ac_configure_args_raw" = | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. =20 It was created by Xen Hypervisor Documentation $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 - $ $0 $@ + $ $0$ac_configure_args_raw =20 _ACEOF exec 5>>config.log @@ -1439,8 +1489,12 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=3D$as_save_IFS =20 @@ -1475,7 +1529,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -1510,11 +1564,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0= bug. trap 'exit_status=3D$? + # Sanitize IFS. + IFS=3D" "" $as_nl" # Save into config.log some information that might help in debugging. { echo =20 - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -1525,8 +1581,8 @@ trap 'exit_status=3D$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -1550,7 +1606,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; ) echo =20 - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -1558,14 +1614,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\= \'\'''\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo =20 if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -1573,15 +1629,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/= g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo fi =20 if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -1589,8 +1645,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; echo fi test "$ac_signal" !=3D 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -1604,63 +1660,48 @@ ac_signal=3D0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h =20 -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h =20 # Predefined preprocessor variables. =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdef= s.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h =20 =20 # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=3DNONE -ac_site_file2=3DNONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=3D./$CONFIG_SITE;; - */*) ac_site_file1=3D$CONFIG_SITE;; - *) ac_site_file1=3D./$CONFIG_SITE;; - esac + ac_site_files=3D"$CONFIG_SITE" elif test "x$prefix" !=3D xNONE; then - ac_site_file1=3D$prefix/share/config.site - ac_site_file2=3D$prefix/etc/config.site + ac_site_files=3D"$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=3D$ac_default_prefix/share/config.site - ac_site_file2=3D$ac_default_prefix/etc/config.site + ac_site_files=3D"$ac_default_prefix/share/config.site $ac_default_prefix= /etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" =3D xNONE && continue - if test /dev/null !=3D "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_= file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=3D./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_= site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_p= wd':" >&5 +printf "%s\n" "$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; } fi @@ -1670,16 +1711,16 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular fil= e. if test /dev/null !=3D "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_fil= e" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file= " >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi =20 @@ -1693,12 +1734,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=3D\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set t= o \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previ= ous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the = previous run" >&2;} ac_cache_corrupted=3D: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not s= et in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" = >&2;} ac_cache_corrupted=3D: ;; ,);; *) @@ -1707,24 +1748,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in = the previous run" >&2;} ac_old_val_w=3D`echo x $ac_old_val` ac_new_val_w=3D`echo x $ac_new_val` if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed = since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >= &2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has cha= nged since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous ru= n:" >&2;} ac_cache_corrupted=3D: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c= hanges in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since= the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitesp= ace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' = since the previous run:" >&2;} eval $ac_var=3D\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'"= >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"= >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_= val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_= val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" =3D set; then case $ac_new_val in - *\'*) ac_arg=3D$ac_var=3D`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\'= '/g"` ;; + *\'*) ac_arg=3D$ac_var=3D`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\= \\\\''/g"` ;; *) ac_arg=3D$ac_var=3D$ac_new_val ;; esac case " $ac_configure_args " in @@ -1734,11 +1775,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" = >&2;} fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environme= nt can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the bui= ld" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start= over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the envi= ronment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise th= e build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -1754,34 +1796,6 @@ ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 ac_config_files=3D"$ac_config_files ../config/Docs.mk man/xl.cfg.5.pod man= /xl.1.pod man/xl-disk-configuration.5.pod man/xl-network-configuration.5.po= d man/xl.conf.5.pod" =20 -ac_aux_dir=3D -for ac_dir in ../ "$srcdir"/../; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../ \"$= srcdir\"/../" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a direc= tory -# whose full name contains unusual characters. -ac_config_guess=3D"$SHELL $ac_aux_dir/config.guess" # Please don't use th= is var. -ac_config_sub=3D"$SHELL $ac_aux_dir/config.sub" # Please don't use this v= ar. -ac_configure=3D"$SHELL $ac_aux_dir/configure" # Please don't use this var. - =20 =20 # M4 Macro includes @@ -1848,16 +1862,15 @@ CONFIG_DIR=3D$sysconfdir XEN_CONFIG_DIR=3D$CONFIG_DIR/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_CONFIG_DIR "$XEN_CONFIG_DIR" -_ACEOF +printf "%s\n" "#define XEN_CONFIG_DIR \"$XEN_CONFIG_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-initddir was given. -if test "${with_initddir+set}" =3D set; then : +if test ${with_initddir+y} +then : withval=3D$with_initddir; initddir_path=3D$withval -else +else $as_nop case "$host_os" in *linux*) if test -d $sysconfdir/rc.d/init.d ; then @@ -1875,9 +1888,10 @@ fi =20 =20 # Check whether --with-sysconfig-leaf-dir was given. -if test "${with_sysconfig_leaf_dir+set}" =3D set; then : +if test ${with_sysconfig_leaf_dir+y} +then : withval=3D$with_sysconfig_leaf_dir; config_leaf_dir=3D$withval -else +else $as_nop config_leaf_dir=3Dsysconfig if test ! -d /etc/sysconfig ; then config_leaf_dir=3Ddefault ; fi fi @@ -1887,52 +1901,55 @@ CONFIG_LEAF_DIR=3D$config_leaf_dir =20 =20 # Check whether --with-libexec-leaf-dir was given. -if test "${with_libexec_leaf_dir+set}" =3D set; then : +if test ${with_libexec_leaf_dir+y} +then : withval=3D$with_libexec_leaf_dir; libexec_subdir=3D$withval -else +else $as_nop libexec_subdir=3D$PACKAGE_TARNAME fi =20 =20 =20 # Check whether --with-xen-scriptdir was given. -if test "${with_xen_scriptdir+set}" =3D set; then : +if test ${with_xen_scriptdir+y} +then : withval=3D$with_xen_scriptdir; xen_scriptdir_path=3D$withval -else +else $as_nop xen_scriptdir_path=3D$XEN_CONFIG_DIR/scripts fi =20 XEN_SCRIPT_DIR=3D$xen_scriptdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_SCRIPT_DIR "$XEN_SCRIPT_DIR" -_ACEOF +printf "%s\n" "#define XEN_SCRIPT_DIR \"$XEN_SCRIPT_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-xen-dumpdir was given. -if test "${with_xen_dumpdir+set}" =3D set; then : +if test ${with_xen_dumpdir+y} +then : withval=3D$with_xen_dumpdir; xen_dumpdir_path=3D$withval -else +else $as_nop xen_dumpdir_path=3D$localstatedir/lib/xen/dump fi =20 =20 =20 # Check whether --with-rundir was given. -if test "${with_rundir+set}" =3D set; then : +if test ${with_rundir+y} +then : withval=3D$with_rundir; rundir_path=3D$withval -else +else $as_nop rundir_path=3D$localstatedir/run fi =20 =20 =20 # Check whether --with-debugdir was given. -if test "${with_debugdir+set}" =3D set; then : +if test ${with_debugdir+y} +then : withval=3D$with_debugdir; debugdir_path=3D$withval -else +else $as_nop debugdir_path=3D$prefix/lib/debug fi =20 @@ -1951,9 +1968,7 @@ LIBEXEC=3D`eval echo $libexecdir/$libexec_subdir` LIBEXEC_BIN=3D${LIBEXEC}/bin =20 =20 -cat >>confdefs.h <<_ACEOF -#define LIBEXEC_BIN "$LIBEXEC_BIN" -_ACEOF +printf "%s\n" "#define LIBEXEC_BIN \"$LIBEXEC_BIN\"" >>confdefs.h =20 LIBEXEC_LIB=3D${LIBEXEC}/lib =20 @@ -1962,41 +1977,31 @@ LIBEXEC_INC=3D${LIBEXEC}/include XENFIRMWAREDIR=3D${LIBEXEC}/boot =20 =20 -cat >>confdefs.h <<_ACEOF -#define XENFIRMWAREDIR "$XENFIRMWAREDIR" -_ACEOF +printf "%s\n" "#define XENFIRMWAREDIR \"$XENFIRMWAREDIR\"" >>confdefs.h =20 =20 XEN_RUN_DIR=3D$rundir_path/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_DIR "$XEN_RUN_DIR" -_ACEOF +printf "%s\n" "#define XEN_RUN_DIR \"$XEN_RUN_DIR\"" >>confdefs.h =20 =20 XEN_LOG_DIR=3D$localstatedir/log/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOG_DIR "$XEN_LOG_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOG_DIR \"$XEN_LOG_DIR\"" >>confdefs.h =20 =20 XEN_RUN_STORED=3D$rundir_path/xenstored =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_STORED "$XEN_RUN_STORED" -_ACEOF +printf "%s\n" "#define XEN_RUN_STORED \"$XEN_RUN_STORED\"" >>confdefs.h =20 =20 XEN_LIB_DIR=3D$localstatedir/lib/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LIB_DIR "$XEN_LIB_DIR" -_ACEOF +printf "%s\n" "#define XEN_LIB_DIR \"$XEN_LIB_DIR\"" >>confdefs.h =20 =20 SHAREDIR=3D$prefix/share @@ -2012,9 +2017,7 @@ case "$host_os" in esac =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOCK_DIR "$XEN_LOCK_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOCK_DIR \"$XEN_LOCK_DIR\"" >>confdefs.h =20 =20 XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging @@ -2023,9 +2026,7 @@ XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging XEN_DUMP_DIR=3D$xen_dumpdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_DUMP_DIR "$XEN_DUMP_DIR" -_ACEOF +printf "%s\n" "#define XEN_DUMP_DIR \"$XEN_DUMP_DIR\"" >>confdefs.h =20 =20 DEBUG_DIR=3D$debugdir_path @@ -2036,11 +2037,12 @@ DEBUG_DIR=3D$debugdir_path =20 # Extract the first word of "fig2dev", so it can be a program name wit= h args. set dummy fig2dev; 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 ${ac_cv_path_FIG2DEV+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FIG2DEV+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FIG2DEV in [\\/]* | ?:[\\/]*) ac_cv_path_FIG2DEV=3D"$FIG2DEV" # Let the user override the test with a = path. @@ -2050,11 +2052,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FIG2DEV=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FIG2DEV=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2066,18 +2072,19 @@ esac fi FIG2DEV=3D$ac_cv_path_FIG2DEV if test -n "$FIG2DEV"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIG2DEV" >&5 -$as_echo "$FIG2DEV" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FIG2DEV" >&5 +printf "%s\n" "$FIG2DEV" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if ! test -x "$ac_cv_path_FIG2DEV"; then : + if ! test -x "$ac_cv_path_FIG2DEV" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fig2dev is not a= vailable so some documentation won't be built" >&5 -$as_echo "$as_me: WARNING: fig2dev is not available so some documentation = won't be built" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fig2dev is = not available so some documentation won't be built" >&5 +printf "%s\n" "$as_me: WARNING: fig2dev is not available so some documenta= tion won't be built" >&2;} =20 fi =20 @@ -2085,11 +2092,12 @@ fi =20 # Extract the first word of "pod2man", so it can be a program name wit= h args. set dummy pod2man; 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 ${ac_cv_path_POD2MAN+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_POD2MAN+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $POD2MAN in [\\/]* | ?:[\\/]*) ac_cv_path_POD2MAN=3D"$POD2MAN" # Let the user override the test with a = path. @@ -2099,11 +2107,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_POD2MAN=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_POD2MAN=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2115,18 +2127,19 @@ esac fi POD2MAN=3D$ac_cv_path_POD2MAN if test -n "$POD2MAN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 -$as_echo "$POD2MAN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 +printf "%s\n" "$POD2MAN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if ! test -x "$ac_cv_path_POD2MAN"; then : + if ! test -x "$ac_cv_path_POD2MAN" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pod2man is not a= vailable so some documentation won't be built" >&5 -$as_echo "$as_me: WARNING: pod2man is not available so some documentation = won't be built" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pod2man is = not available so some documentation won't be built" >&5 +printf "%s\n" "$as_me: WARNING: pod2man is not available so some documenta= tion won't be built" >&2;} =20 fi =20 @@ -2134,11 +2147,12 @@ fi =20 # Extract the first word of "pod2html", so it can be a program name wi= th args. set dummy pod2html; 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 ${ac_cv_path_POD2HTML+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_POD2HTML+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $POD2HTML in [\\/]* | ?:[\\/]*) ac_cv_path_POD2HTML=3D"$POD2HTML" # Let the user override the test with = a path. @@ -2148,11 +2162,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_POD2HTML=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_POD2HTML=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2164,18 +2182,19 @@ esac fi POD2HTML=3D$ac_cv_path_POD2HTML if test -n "$POD2HTML"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5 -$as_echo "$POD2HTML" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5 +printf "%s\n" "$POD2HTML" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if ! test -x "$ac_cv_path_POD2HTML"; then : + if ! test -x "$ac_cv_path_POD2HTML" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pod2html is not = available so some documentation won't be built" >&5 -$as_echo "$as_me: WARNING: pod2html is not available so some documentation= won't be built" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pod2html is= not available so some documentation won't be built" >&5 +printf "%s\n" "$as_me: WARNING: pod2html is not available so some document= ation won't be built" >&2;} =20 fi =20 @@ -2183,11 +2202,12 @@ fi =20 # Extract the first word of "pod2text", so it can be a program name wi= th args. set dummy pod2text; 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 ${ac_cv_path_POD2TEXT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_POD2TEXT+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $POD2TEXT in [\\/]* | ?:[\\/]*) ac_cv_path_POD2TEXT=3D"$POD2TEXT" # Let the user override the test with = a path. @@ -2197,11 +2217,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_POD2TEXT=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_POD2TEXT=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2213,18 +2237,19 @@ esac fi POD2TEXT=3D$ac_cv_path_POD2TEXT if test -n "$POD2TEXT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2TEXT" >&5 -$as_echo "$POD2TEXT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2TEXT" >&5 +printf "%s\n" "$POD2TEXT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if ! test -x "$ac_cv_path_POD2TEXT"; then : + if ! test -x "$ac_cv_path_POD2TEXT" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pod2text is not = available so some documentation won't be built" >&5 -$as_echo "$as_me: WARNING: pod2text is not available so some documentation= won't be built" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pod2text is= not available so some documentation won't be built" >&5 +printf "%s\n" "$as_me: WARNING: pod2text is not available so some document= ation won't be built" >&2;} =20 fi =20 @@ -2232,11 +2257,12 @@ fi =20 # Extract the first word of "pandoc", so it can be a program name with= args. set dummy pandoc; 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 ${ac_cv_path_PANDOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PANDOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PANDOC in [\\/]* | ?:[\\/]*) ac_cv_path_PANDOC=3D"$PANDOC" # Let the user override the test with a pa= th. @@ -2246,11 +2272,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PANDOC=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PANDOC=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2262,18 +2292,19 @@ esac fi PANDOC=3D$ac_cv_path_PANDOC if test -n "$PANDOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANDOC" >&5 -$as_echo "$PANDOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PANDOC" >&5 +printf "%s\n" "$PANDOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if ! test -x "$ac_cv_path_PANDOC"; then : + if ! test -x "$ac_cv_path_PANDOC" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pandoc is not av= ailable so some documentation won't be built" >&5 -$as_echo "$as_me: WARNING: pandoc is not available so some documentation w= on't be built" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pandoc is n= ot available so some documentation won't be built" >&5 +printf "%s\n" "$as_me: WARNING: pandoc is not available so some documentat= ion won't be built" >&2;} =20 fi =20 @@ -2281,11 +2312,12 @@ fi =20 # Extract the first word of "perl", so it can be a program name with args. 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 ${ac_cv_path_PERL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PERL+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL=3D"$PERL" # Let the user override the test with a path. @@ -2295,11 +2327,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PERL=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PERL=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2312,11 +2348,11 @@ esac fi PERL=3D$ac_cv_path_PERL if test -n "$PERL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 -$as_echo "$PERL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +printf "%s\n" "$PERL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2352,8 +2388,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -2383,15 +2419,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test "${\1+set}" =3D set || &/ + s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=3D]*\)=3D\(.*\)$/\1=3D${\1=3D\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" !=3D "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file"= >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_= file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -2405,8 +2441,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache= $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable = cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -2459,7 +2495,7 @@ U=3D for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue # 1. Remove the extension, and $U if already installed. ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=3D`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -2475,8 +2511,8 @@ LTLIBOBJS=3D$ac_ltlibobjs ac_write_fail=3D0 ac_clean_files_save=3D$ac_clean_files ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=3D0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=3D1 #! $SHELL @@ -2499,14 +2535,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=3D1 =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -2516,46 +2554,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -2564,13 +2602,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -2579,8 +2610,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -2592,30 +2627,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -2628,13 +2643,14 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -2661,18 +2677,20 @@ as_fn_unset () { eval $1=3D; unset $1;} } as_unset=3Das_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. = Take # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -2684,12 +2702,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` @@ -2720,7 +2739,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -2742,6 +2761,10 @@ as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS as_cr_digits=3D'0123456789' as_cr_alnum=3D$as_cr_Letters$as_cr_digits =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -2755,6 +2778,12 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -2796,7 +2825,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -2805,7 +2834,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|= \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2868,7 +2897,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 # values after options handling. ac_log=3D" This file was extended by Xen Hypervisor Documentation $as_me 4.19, which = was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 CONFIG_FILES =3D $CONFIG_FILES CONFIG_HEADERS =3D $CONFIG_HEADERS @@ -2918,14 +2947,16 @@ Report bugs to . Xen Hypervisor Documentation home page: ." =20 _ACEOF +ac_cs_config=3D`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote= "` +ac_cs_config_escaped=3D`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'= \\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]= /\\\\&/g'`" +ac_cs_config=3D'$ac_cs_config_escaped' ac_cs_version=3D"\\ Xen Hypervisor Documentation config.status 4.19 -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." =20 @@ -2962,21 +2993,21 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=3D: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=3D: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=3D`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g= "` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=3Dfalse;; --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=3D: ;; @@ -3004,7 +3035,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-crea= te --no-recursion shift - \$as_echo "running CONFIG_SHELL=3D$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=3D$SHELL \$*" >&6 CONFIG_SHELL=3D'$SHELL' export CONFIG_SHELL exec "\$@" @@ -3018,7 +3049,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 =20 _ACEOF @@ -3048,7 +3079,7 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" =3D set || CONFIG_FILES=3D$config_files + test ${CONFIG_FILES+y} || CONFIG_FILES=3D$config_files fi =20 # Have a temporary directory for convenience. Make it in the build tree @@ -3276,7 +3307,7 @@ do esac || 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 + case $ac_f in *\'*) ac_f=3D`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\= \\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done =20 @@ -3284,17 +3315,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input=3D'Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" !=3D x-; then configure_input=3D"$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement stri= ngs. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=3D`$as_echo "$configure_input" | + ac_sed_conf_input=3D`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=3D$configure_input;; esac @@ -3311,7 +3342,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \= | \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -3335,9 +3366,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -3390,8 +3421,8 @@ ac_sed_dataroot=3D' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=3Dyes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems = to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootd= ir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs s= eems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --data= rootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 ac_datarootdir_hack=3D' @@ -3433,9 +3464,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out= "; } && { 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 re= ference to the variable \`datarootdir' + { printf "%s\n" "$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' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the varia= ble \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} =20 rm -f "$ac_tmp/stdin" @@ -3482,7 +3513,8 @@ if test "$no_create" !=3D yes; then $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" !=3D = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: = $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&= 2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized opti= ons: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt= s" >&2;} fi =20 + diff --git a/stubdom/configure b/stubdom/configure index 6d41be91b6c8..e642fab1f1cd 100755 --- a/stubdom/configure +++ b/stubdom/configure @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Xen Hypervisor Stub Domains 4.19. +# Generated by GNU Autoconf 2.71 for Xen Hypervisor Stub Domains 4.19. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -96,8 +92,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -109,30 +109,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=3D; unset _as_can_reexec;} if test "x$CONFIG_SHELL" =3D x; then - as_bourne_compatible=3D"if test -n \"\${ZSH_VERSION+set}\" && (emulate s= h) >/dev/null 2>&1; then : + as_bourne_compatible=3D"as_nop=3D: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'=3D'\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,41 +169,52 @@ as_fn_success || { exitcode=3D1; echo as_fn_success f= ailed.; } as_fn_failure && { exitcode=3D1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=3D1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=3D1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ) +then : =20 -else +else \$as_nop exitcode=3D1; echo positional parameters were not saved. fi test x\$exitcode =3D x0 || exit 1 +blah=3D\$(echo \$(echo blah)) +test x\"\$blah\" =3D xblah || exit 1 test -x / || exit 1" as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=3Dyes -else +else $as_nop as_have_required=3Dno fi - if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/nul= l; then : + if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/null +then : =20 -else +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR as_found=3Dfalse for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac as_found=3D: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=3D$as_dir/$as_base + as_shell=3D$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$as_s= hell"; } 2>/dev/null; then : + as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/d= ev/null +then : CONFIG_SHELL=3D$as_shell as_have_required=3Dyes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=3Da "$a= s_shell"; } 2>/dev/null; then : + if as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2= >/dev/null +then : break 2 fi fi @@ -229,14 +222,21 @@ fi esac as_found=3Dfalse done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$SHE= LL"; } 2>/dev/null; then : - CONFIG_SHELL=3D$SHELL as_have_required=3Dyes -fi; } IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=3Da "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev= /null +then : + CONFIG_SHELL=3D$SHELL as_have_required=3Dyes +fi +fi =20 =20 - if test "x$CONFIG_SHELL" !=3D x; then : + if test "x$CONFIG_SHELL" !=3D x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -254,18 +254,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi =20 - if test x$as_have_required =3D xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} =3D xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required =3D xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: xen-devel@lists.xen.org about your system, including $0: any error possibly output before this message. Then $0: install a modern shell, or manually run the script @@ -293,6 +294,7 @@ as_fn_unset () } as_unset=3Das_fn_unset =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -310,6 +312,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_mkdir_p # ------------- @@ -324,7 +334,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -333,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -372,12 +382,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -389,18 +400,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` } fi # as_fn_arith =20 +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -412,9 +432,9 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 @@ -441,7 +461,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -485,7 +505,7 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a P= OSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun wit= h a POSIX shell" >&2; as_fn_exit 1; } =20 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -499,6 +519,10 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits exit } =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -512,6 +536,13 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -778,8 +809,6 @@ do *) ac_optarg=3Dyes ;; esac =20 - # Accept the important Cygnus configure options, so we can diagnose typo= s. - case $ac_dashdash$ac_option in --) ac_dashdash=3Dyes ;; @@ -820,9 +849,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -846,9 +875,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1059,9 +1088,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*with-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1075,9 +1104,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1121,9 +1150,9 @@ Try \`$0 --help' for more information" =20 *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >= &2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --targ= et" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_ali= as=3D$ac_option}" ;; =20 @@ -1139,7 +1168,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecogniz= ed_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrec= ognized_opts" >&2 ;; esac fi =20 @@ -1203,7 +1232,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$'= \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1390,9 +1419,9 @@ if test "$ac_init_help" =3D "recursive"; then case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -1420,7 +1449,8 @@ esac ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix =20 cd "$ac_dir" || { ac_status=3D$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=3Drecursive @@ -1428,7 +1458,7 @@ ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=3Drecursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_di= r" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $= ac_dir" >&2 fi || ac_status=3D$? cd "$ac_pwd" || { ac_status=3D$?; break; } done @@ -1438,9 +1468,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor Stub Domains configure 4.19 -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.71 =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1457,14 +1487,14 @@ fi ac_fn_c_try_compile () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try=3D"$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -1472,14 +1502,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=3D0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 ac_retval=3D1 @@ -1488,14 +1519,34 @@ fi as_fn_set_status $ac_retval =20 } # ac_fn_c_try_compile +ac_configure_args_raw=3D +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote=3D ;; + *) + ac_unsafe_z=3D'|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a=3D"$ac_unsafe_z#~" + ac_safe_unquote=3D"s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=3D` printf "%s\n" "$ac_configure_args_raw" = | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. =20 It was created by Xen Hypervisor Stub Domains $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 - $ $0 $@ + $ $0$ac_configure_args_raw =20 _ACEOF exec 5>>config.log @@ -1528,8 +1579,12 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=3D$as_save_IFS =20 @@ -1564,7 +1619,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -1599,11 +1654,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0= bug. trap 'exit_status=3D$? + # Sanitize IFS. + IFS=3D" "" $as_nl" # Save into config.log some information that might help in debugging. { echo =20 - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -1614,8 +1671,8 @@ trap 'exit_status=3D$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -1639,7 +1696,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; ) echo =20 - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -1647,14 +1704,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\= \'\'''\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo =20 if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -1662,15 +1719,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/= g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo fi =20 if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -1678,8 +1735,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; echo fi test "$ac_signal" !=3D 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -1693,63 +1750,48 @@ ac_signal=3D0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h =20 -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h =20 # Predefined preprocessor variables. =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdef= s.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h =20 =20 # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=3DNONE -ac_site_file2=3DNONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=3D./$CONFIG_SITE;; - */*) ac_site_file1=3D$CONFIG_SITE;; - *) ac_site_file1=3D./$CONFIG_SITE;; - esac + ac_site_files=3D"$CONFIG_SITE" elif test "x$prefix" !=3D xNONE; then - ac_site_file1=3D$prefix/share/config.site - ac_site_file2=3D$prefix/etc/config.site + ac_site_files=3D"$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=3D$ac_default_prefix/share/config.site - ac_site_file2=3D$ac_default_prefix/etc/config.site + ac_site_files=3D"$ac_default_prefix/share/config.site $ac_default_prefix= /etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" =3D xNONE && continue - if test /dev/null !=3D "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_= file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=3D./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_= site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_p= wd':" >&5 +printf "%s\n" "$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; } fi @@ -1759,19 +1801,425 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular fil= e. if test /dev/null !=3D "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_fil= e" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file= " >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi =20 +# Test code for whether the C compiler supports C89 (global declarations) +ac_c_conftest_c89_globals=3D' +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif + +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ +struct buf { int x; }; +struct buf * (*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 =3D 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 do not provoke an error unfortunately, instead are silently treat= ed + as an "x". The following induces an error, until -std is added to get + proper ANSI mode. Curiously \x00 !=3D x always comes out true, for an + array size at least. It is necessary to write \x00 =3D=3D 0 to get som= ething + that is true only with -std. */ +int osf4_cc_array ['\''\x00'\'' =3D=3D 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parame= ters + inside strings and character constants. */ +#define FOO(x) '\''x'\'' +int xlc6_cc_array[FOO(a) =3D=3D '\''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 **, int *(*)(struct buf *, struct stat *, int), + int, int);' + +# Test code for whether the C compiler supports C89 (body of main). +ac_c_conftest_c89_main=3D' +ok |=3D (argc =3D=3D 0 || f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) != =3D argv[1]); +' + +# Test code for whether the C compiler supports C99 (global declarations) +ac_c_conftest_c99_globals=3D' +// Does the compiler advertise C99 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L +# error "Compiler does not advertise C99 conformance" +#endif + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +// dprintf is used instead of fprintf to avoid needing to declare +// FILE and stderr. +#define debug(...) dprintf (2, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x =3D 1234; + int y =3D 5678; + debug ("Flag"); + debug ("X =3D %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D=3D= 0) +#if !BIG_OK + #error "your preprocessor is broken" +#endif +#if BIG_OK +#else + #error "your preprocessor is broken" +#endif +static long long int bignum =3D -9223372036854775807LL; +static unsigned long long int ubignum =3D BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i =3D 0; *(text+i) !=3D '\''\0'\''; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static bool +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str =3D ""; + int number =3D 0; + float fnumber =3D 0; + + while (*format) + { + switch (*format++) + { + case '\''s'\'': // string + str =3D va_arg (args_copy, const char *); + break; + case '\''d'\'': // int + number =3D va_arg (args_copy, int); + break; + case '\''f'\'': // float + fnumber =3D va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); + + return *str && number && fnumber; +} +' + +# Test code for whether the C compiler supports C99 (body of main). +ac_c_conftest_c99_main=3D' + // Check bool. + _Bool success =3D false; + success |=3D (argc !=3D 0); + + // Check restrict. + if (test_restrict ("String literal") =3D=3D 0) + success =3D true; + char *restrict newvar =3D "Another string"; + + // Check varargs. + success &=3D test_varargs ("s, d'\'' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia =3D + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize =3D 10; + for (int i =3D 0; i < ia->datasize; ++i) + ia->data[i] =3D i * 1.234; + + // Check named initializers. + struct named_init ni =3D { + .number =3D 34, + .name =3D L"Test wide string", + .average =3D 543.34343, + }; + + ni.number =3D 58; + + int dynamic_array[ni.number]; + dynamic_array[0] =3D argv[0][0]; + dynamic_array[ni.number - 1] =3D 543; + + // work around unused variable warnings + ok |=3D (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D '\''x'\'' + || dynamic_array[ni.number - 1] !=3D 543); +' + +# Test code for whether the C compiler supports C11 (global declarations) +ac_c_conftest_c11_globals=3D' +// Does the compiler advertise C11 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L +# error "Compiler does not advertise C11 conformance" +#endif + +// Check _Alignas. +char _Alignas (double) aligned_as_double; +char _Alignas (0) no_special_alignment; +extern char aligned_as_int; +char _Alignas (0) _Alignas (int) aligned_as_int; + +// Check _Alignof. +enum +{ + int_alignment =3D _Alignof (int), + int_array_alignment =3D _Alignof (int[100]), + char_alignment =3D _Alignof (char) +}; +_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); + +// Check _Noreturn. +int _Noreturn does_not_return (void) { for (;;) continue; } + +// Check _Static_assert. +struct test_static_assert +{ + int x; + _Static_assert (sizeof (int) <=3D sizeof (long int), + "_Static_assert does not work in struct"); + long int y; +}; + +// Check UTF-8 literals. +#define u8 syntax error! +char const utf8_literal[] =3D u8"happens to be ASCII" "another string"; + +// Check duplicate typedefs. +typedef long *long_ptr; +typedef long int *long_ptr; +typedef long_ptr long_ptr; + +// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. +struct anonymous +{ + union { + struct { int i; int j; }; + struct { int k; long int l; } w; + }; + int m; +} v1; +' + +# Test code for whether the C compiler supports C11 (body of main). +ac_c_conftest_c11_main=3D' + _Static_assert ((offsetof (struct anonymous, i) + =3D=3D offsetof (struct anonymous, w.k)), + "Anonymous union alignment botch"); + v1.i =3D 2; + v1.w.k =3D 5; + ok |=3D v1.i !=3D 5; +' + +# Test code for whether the C compiler supports C11 (complete). +ac_c_conftest_c11_program=3D"${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} +${ac_c_conftest_c11_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + ${ac_c_conftest_c11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C99 (complete). +ac_c_conftest_c99_program=3D"${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + return ok; +} +" + +# Test code for whether the C compiler supports C89 (complete). +ac_c_conftest_c89_program=3D"${ac_c_conftest_c89_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + return ok; +} +" + + +# Auxiliary files required by this configure script. +ac_aux_files=3D"install-sh config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates=3D"${srcdir}/../" + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files=3D"" +ac_first_candidate=3D: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux= _files" >&5 +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +as_found=3Dfalse +for as_dir in $ac_aux_dir_candidates +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + as_found=3D: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=3Dyes + ac_install_sh=3D + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" =3D x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh = found" >&5 + ac_install_sh=3D"${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh = found" >&5 + ac_install_sh=3D"${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool foun= d" >&5 + ac_install_sh=3D"${as_dir}shtool install -c" + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} f= ound" >&5 + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" =3D yes; then + ac_aux_dir=3D"$as_dir" + break + fi + ac_first_candidate=3Dfalse + + as_found=3Dfalse +done +IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_fil= es" "$LINENO" 5 +fi + + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a direc= tory +# whose full name contains unusual characters. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess=3D"$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub=3D"$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure=3D"$SHELL ${ac_aux_dir}configure" +fi + # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=3Dfalse @@ -1782,12 +2230,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=3D\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set t= o \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previ= ous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the = previous run" >&2;} ac_cache_corrupted=3D: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not s= et in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" = >&2;} ac_cache_corrupted=3D: ;; ,);; *) @@ -1796,24 +2244,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in = the previous run" >&2;} ac_old_val_w=3D`echo x $ac_old_val` ac_new_val_w=3D`echo x $ac_new_val` if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed = since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >= &2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has cha= nged since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous ru= n:" >&2;} ac_cache_corrupted=3D: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c= hanges in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since= the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitesp= ace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' = since the previous run:" >&2;} eval $ac_var=3D\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'"= >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"= >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_= val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_= val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" =3D set; then case $ac_new_val in - *\'*) ac_arg=3D$ac_var=3D`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\'= '/g"` ;; + *\'*) ac_arg=3D$ac_var=3D`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\= \\\\''/g"` ;; *) ac_arg=3D$ac_var=3D$ac_new_val ;; esac case " $ac_configure_args " in @@ -1823,11 +2271,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" = >&2;} fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environme= nt can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the bui= ld" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start= over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the envi= ronment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise th= e build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -1843,56 +2292,32 @@ ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 ac_config_files=3D"$ac_config_files ../config/Stubdom.mk" =20 -ac_aux_dir=3D -for ac_dir in ../ "$srcdir"/../; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../ \"$= srcdir\"/../" "$LINENO" 5 -fi =20 -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a direc= tory -# whose full name contains unusual characters. -ac_config_guess=3D"$SHELL $ac_aux_dir/config.guess" # Please don't use th= is var. -ac_config_sub=3D"$SHELL $ac_aux_dir/config.sub" # Please don't use this v= ar. -ac_configure=3D"$SHELL $ac_aux_dir/configure" # Please don't use this var. =20 =20 =20 -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" = >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=3D$build_alias test "x$ac_build_alias" =3D x && - ac_build_alias=3D`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=3D`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" =3D x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO"= 5 -ac_cv_build=3D`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$= LINENO" 5 +ac_cv_build=3D`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "= $LINENO" 5 =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -1911,21 +2336,22 @@ IFS=3D$ac_save_IFS case $build_os in *\ *) build_os=3D`echo "$build_os" | sed 's/ /-/g'`;; es= ac =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >= &5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" =3D x; then ac_cv_host=3D$ac_cv_build else - ac_cv_host=3D`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LI= NENO" 5 + ac_cv_host=3D`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$L= INENO" 5 fi =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -1986,10 +2412,12 @@ case $host_os in *\ *) host_os=3D`echo "$host_os" |= sed 's/ /-/g'`;; esac # Enable/disable stub domains =20 # Check whether --enable-ioemu-stubdom was given. -if test "${enable_ioemu_stubdom+set}" =3D set; then : +if test ${enable_ioemu_stubdom+y} +then : enableval=3D$enable_ioemu_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 ioemu=3Dy @@ -1999,9 +2427,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-ioemu" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-ioemu" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 ioemu=3Dn @@ -2017,10 +2446,12 @@ fi =20 =20 # Check whether --enable-c-stubdom was given. -if test "${enable_c_stubdom+set}" =3D set; then : +if test ${enable_c_stubdom+y} +then : enableval=3D$enable_c_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 c=3Dy @@ -2030,9 +2461,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-c" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-c" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 c=3Dn @@ -2043,7 +2475,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 c=3Dn @@ -2055,10 +2487,12 @@ fi =20 =20 # Check whether --enable-pv-grub was given. -if test "${enable_pv_grub+set}" =3D set; then : +if test ${enable_pv_grub+y} +then : enableval=3D$enable_pv_grub; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 grub=3Dy @@ -2068,9 +2502,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-grub" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-grub" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 grub=3Dn @@ -2081,7 +2516,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 grub=3Dn @@ -2093,10 +2528,12 @@ fi =20 =20 # Check whether --enable-xenstore-stubdom was given. -if test "${enable_xenstore_stubdom+set}" =3D set; then : +if test ${enable_xenstore_stubdom+y} +then : enableval=3D$enable_xenstore_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 xenstore=3Dy @@ -2106,9 +2543,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-xenstore" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-xenstore" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 xenstore=3Dn @@ -2119,7 +2557,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 xenstore=3Dy @@ -2135,10 +2573,12 @@ fi =20 =20 # Check whether --enable-xenstorepvh-stubdom was given. -if test "${enable_xenstorepvh_stubdom+set}" =3D set; then : +if test ${enable_xenstorepvh_stubdom+y} +then : enableval=3D$enable_xenstorepvh_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 xenstorepvh=3Dy @@ -2148,9 +2588,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-xenstore= pvh" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-xenstorepvh" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 xenstorepvh=3Dn @@ -2161,7 +2602,7 @@ fi fi =20 =20 -else +else $as_nop =20 =20 xenstorepvh=3Dy @@ -2177,10 +2618,12 @@ fi =20 =20 # Check whether --enable-vtpm-stubdom was given. -if test "${enable_vtpm_stubdom+set}" =3D set; then : +if test ${enable_vtpm_stubdom+y} +then : enableval=3D$enable_vtpm_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 vtpm=3Dy @@ -2190,9 +2633,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-vtpm" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-vtpm" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 vtpm=3Dn @@ -2208,10 +2652,12 @@ fi =20 =20 # Check whether --enable-vtpmmgr-stubdom was given. -if test "${enable_vtpmmgr_stubdom+set}" =3D set; then : +if test ${enable_vtpmmgr_stubdom+y} +then : enableval=3D$enable_vtpmmgr_stubdom; =20 -if test "x$enableval" =3D "xyes"; then : +if test "x$enableval" =3D "xyes" +then : =20 =20 vtpmmgr=3Dy @@ -2221,9 +2667,10 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-vtpmmgr" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-vtpmmgr" =20 =20 -else +else $as_nop =20 -if test "x$enableval" =3D "xno"; then : +if test "x$enableval" =3D "xno" +then : =20 =20 vtpmmgr=3Dn @@ -2239,25 +2686,29 @@ fi =20 =20 # Check whether --enable-qemu-traditional was given. -if test "${enable_qemu_traditional+set}" =3D set; then : +if test ${enable_qemu_traditional+y} +then : enableval=3D$enable_qemu_traditional; fi =20 -if test "x$enable_qemu_traditional" =3D "xyes"; then : +if test "x$enable_qemu_traditional" =3D "xyes" +then : =20 qemu_traditional=3Dy -else +else $as_nop =20 qemu_traditional=3Dn =20 fi -if test "x$ioemu" =3D "x"; then : +if test "x$ioemu" =3D "x" +then : =20 ioemu=3D$qemu_traditional =20 fi echo "x$ioemu$qemu_traditional" -if test "x$ioemu$qemu_traditional" =3D "xyn"; then : +if test "x$ioemu$qemu_traditional" =3D "xyn" +then : =20 as_fn_error $? "IOEMU stubdomain requires qemu-traditional" "$LINENO" 5 =20 @@ -2265,20 +2716,24 @@ fi =20 =20 # Check whether --enable-debug was given. -if test "${enable_debug+set}" =3D set; then : +if test ${enable_debug+y} +then : enableval=3D$enable_debug; fi =20 =20 -if test "x$enable_debug" =3D "xno"; then : +if test "x$enable_debug" =3D "xno" +then : =20 ax_cv_debug=3D"n" =20 -elif test "x$enable_debug" =3D "xyes"; then : +elif test "x$enable_debug" =3D "xyes" +then : =20 ax_cv_debug=3D"y" =20 -elif test -z $ax_cv_debug; then : +elif test -z $ax_cv_debug +then : =20 ax_cv_debug=3D"y" =20 @@ -2288,20 +2743,24 @@ debug=3D$ax_cv_debug =20 =20 # Check whether --enable-extfiles was given. -if test "${enable_extfiles+set}" =3D set; then : +if test ${enable_extfiles+y} +then : enableval=3D$enable_extfiles; fi =20 =20 -if test "x$enable_extfiles" =3D "xno"; then : +if test "x$enable_extfiles" =3D "xno" +then : =20 ax_cv_extfiles=3D"n" =20 -elif test "x$enable_extfiles" =3D "xyes"; then : +elif test "x$enable_extfiles" =3D "xyes" +then : =20 ax_cv_extfiles=3D"y" =20 -elif test -z $ax_cv_extfiles; then : +elif test -z $ax_cv_extfiles +then : =20 ax_cv_extfiles=3D"y" =20 @@ -2314,11 +2773,12 @@ extfiles=3D$ax_cv_extfiles =20 # Extract the first word of "wget", so it can be a program name with args. set dummy wget; 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 ${ac_cv_path_WGET+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_WGET+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $WGET in [\\/]* | ?:[\\/]*) ac_cv_path_WGET=3D"$WGET" # Let the user override the test with a path. @@ -2328,11 +2788,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_WGET=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_WGET=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2345,21 +2809,22 @@ esac fi WGET=3D$ac_cv_path_WGET if test -n "$WGET"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 -$as_echo "$WGET" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 +printf "%s\n" "$WGET" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 # Extract the first word of "false", so it can be a program name with args. set dummy false; 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 ${ac_cv_path_FALSE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FALSE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FALSE in [\\/]* | ?:[\\/]*) ac_cv_path_FALSE=3D"$FALSE" # Let the user override the test with a path. @@ -2369,11 +2834,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FALSE=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FALSE=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2386,27 +2855,29 @@ esac fi FALSE=3D$ac_cv_path_FALSE if test -n "$FALSE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FALSE" >&5 -$as_echo "$FALSE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FALSE" >&5 +printf "%s\n" "$FALSE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 -if test x"$WGET" !=3D x"no"; then : +if test x"$WGET" !=3D x"no" +then : =20 FETCHER=3D"$WGET -c -O" =20 -else +else $as_nop =20 # Extract the first word of "ftp", so it can be a program name with ar= gs. set dummy ftp; 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 ${ac_cv_path_FTP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FTP+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FTP in [\\/]* | ?:[\\/]*) ac_cv_path_FTP=3D"$FTP" # Let the user override the test with a path. @@ -2416,11 +2887,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FTP=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FTP=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2433,23 +2908,24 @@ esac fi FTP=3D$ac_cv_path_FTP if test -n "$FTP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FTP" >&5 -$as_echo "$FTP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FTP" >&5 +printf "%s\n" "$FTP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if test x"$FTP" !=3D x"no"; then : + if test x"$FTP" !=3D x"no" +then : =20 FETCHER=3D"$FTP -o" =20 -else +else $as_nop =20 FETCHER=3D"$FALSE" - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find wget= or ftp" >&5 -$as_echo "$as_me: WARNING: cannot find wget or ftp" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find= wget or ftp" >&5 +printf "%s\n" "$as_me: WARNING: cannot find wget or ftp" >&2;} =20 fi =20 @@ -2458,6 +2934,15 @@ fi =20 =20 # Checks for programs. + + + + + + + + + ac_ext=3Dc ac_cpp=3D'$CPP $CPPFLAGS' ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2466,11 +2951,12 @@ ac_compiler_gnu=3D$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 progr= am name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2478,11 +2964,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2493,11 +2983,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2506,11 +2996,12 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=3D$CC # Extract the first word of "gcc", so it can be a program name with args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -2518,11 +3009,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2533,11 +3028,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_CC" =3D x; then @@ -2545,8 +3040,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC @@ -2559,11 +3054,12 @@ 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 prog= ram name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2571,11 +3067,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2586,11 +3086,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2599,11 +3099,12 @@ 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2612,15 +3113,19 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then ac_prog_rejected=3Dyes continue fi ac_cv_prog_CC=3D"cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2636,18 +3141,18 @@ if test $ac_prog_rejected =3D yes; then # 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=3D"$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC=3D"$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2658,11 +3163,12 @@ if test -z "$CC"; then 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2670,11 +3176,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2685,11 +3195,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2702,11 +3212,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -2714,11 +3225,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2729,11 +3244,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2745,8 +3260,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC @@ -2754,25 +3269,129 @@ esac fi =20 fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a pro= gram name with args. +set dummy ${ac_tool_prefix}clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC=3D"$CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC=3D"${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS + +fi +fi +CC=3D$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi =20 =20 -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$a= c_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=3D$CC + # Extract the first word of "clang", so it can be a program name with ar= gs. +set dummy clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC=3D"clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS + +fi +fi +ac_ct_CC=3D$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + if test "x$ac_ct_CC" =3D x; then + CC=3D"" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} +ac_tool_warned=3Dyes ;; +esac + CC=3D$ac_ct_CC + fi +else + CC=3D"$ac_cv_prog_CC" +fi + +fi + + +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in= \`$ac_pwd':" >&5 +printf "%s\n" "$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; } =20 # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler versio= n" >&5 set X $ac_compile ac_compiler=3D$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try=3D"$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -2782,7 +3401,7 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } done =20 @@ -2790,7 +3409,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; @@ -2802,9 +3421,9 @@ ac_clean_files=3D"$ac_clean_files a.out a.out.dSYM a.= exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler w= orks" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=3D`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compi= ler works" >&5 +printf %s "checking whether the C compiler works... " >&6; } +ac_link_default=3D`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` =20 # The possible output files: ac_files=3D"a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -2825,11 +3444,12 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT =3D no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -2846,7 +3466,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" =3D set && test "$ac_cv_exeext" !=3D no; + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" !=3D no; then :; else ac_cv_exeext=3D`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -2862,44 +3482,46 @@ do done test "$ac_cv_exeext" =3D no && ac_cv_exeext=3D =20 -else +else $as_nop ac_file=3D'' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default o= utput file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler defa= ult output file name" >&5 +printf %s "checking for C compiler default output file name... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=3D$ac_cv_exeext =20 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=3D$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executable= s" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of execu= tables" >&5 +printf %s "checking for suffix of executables... " >&6; } if { { ac_try=3D"$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -2913,15 +3535,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >= &5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and l= ink 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 -$as_echo "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } =20 rm -f conftest.$ac_ext EXEEXT=3D$ac_cv_exeext @@ -2930,7 +3552,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { FILE *f =3D fopen ("conftest.out", "w"); return ferror (f) || fclose (f) !=3D 0; @@ -2942,8 +3564,8 @@ _ACEOF ac_clean_files=3D"$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross com= piling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cros= s compiling" >&5 +printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" !=3D yes; then { { ac_try=3D"$ac_link" case "(($ac_try" in @@ -2951,10 +3573,10 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } if { ac_try=3D'./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -2962,39 +3584,40 @@ $as_echo "$ac_try_echo"; } >&5 *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; }; then cross_compiling=3Dno else if test "$cross_compiling" =3D maybe; then cross_compiling=3Dyes else - { { $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 run C compiled programs. + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } =20 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=3D$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object fil= es" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of objec= t files" >&5 +printf %s "checking for suffix of object files... " >&6; } +if test ${ac_cv_objext+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; @@ -3008,11 +3631,12 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -3021,31 +3645,32 @@ $as_echo "$ac_try_echo"; } >&5 break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$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; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=3D$ac_cv_objext ac_objext=3D$OBJEXT -{ $as_echo "$as_me:${as_lineno-$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 ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compile= r supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { #ifndef __GNUC__ choke me @@ -3055,29 +3680,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=3Dyes -else +else $as_nop ac_compiler_gnu=3Dno fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=3D$ac_compiler_gnu =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gn= u" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=3D$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu =3D yes; then GCC=3Dyes else GCC=3D fi -ac_test_CFLAGS=3D${CFLAGS+set} +ac_test_CFLAGS=3D${CFLAGS+y} 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 ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts= -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=3D$ac_c_werror_flag ac_c_werror_flag=3Dyes ac_cv_prog_cc_g=3Dno @@ -3086,57 +3715,60 @@ else /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=3Dyes -else +else $as_nop CFLAGS=3D"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : =20 -else +else $as_nop ac_c_werror_flag=3D$ac_save_c_werror_flag CFLAGS=3D"-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=3Dyes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=3D$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" =3D set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then CFLAGS=3D$ac_save_CFLAGS elif test $ac_cv_prog_cc_g =3D yes; then if test "$GCC" =3D yes; then @@ -3151,94 +3783,144 @@ else CFLAGS=3D fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept= ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=3Dno +ac_prog_cc_stdc=3Dno +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=3Dno ac_save_CC=3D$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -struct stat; -/* 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 =3D 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'!=3D'x' always comes out true, for an - array size at least. It's necessary to write '\x00'=3D=3D0 to get some= thing - that's true only with -std. */ -int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=3Dgnu11 +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi =20 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parame= ters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; +if test "x$ac_cv_prog_cc_c11" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=3Dc11 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=3Dgnu99 -std=3Dc99 -c99 -qlanglvl=3Dextc1x -qlanglvl= =3Dextc99 -AC99 -D_STDC_C99=3D +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi =20 -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) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; - ; - return 0; -} +if test "x$ac_cv_prog_cc_c99" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=3Dc99 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c89=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c89_program _ACEOF -for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std -Ae "-Aa -D_HPUX= _SOURCE" "-Xc -D__EXTENSIONS__" do CC=3D"$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=3D$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" !=3D "xno" && break done rm -f conftest.$ac_ext CC=3D$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC=3D"$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >= &5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" !=3D xno; then : =20 +if test "x$ac_cv_prog_cc_c89" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=3Dc89 +fi fi =20 ac_ext=3Dc @@ -3247,13 +3929,14 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac= _ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} set= s \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make= } sets \$(MAKE)" >&5 +printf %s "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 \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=3D`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL =3D /bin/sh all: @@ -3269,16 +3952,17 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE=3D else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE=3D"MAKE=3D${MAKE-make}" fi =20 -# Find a good install program. We prefer a C program (faster), + + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -3292,20 +3976,25 @@ fi # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible ins= tall" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatibl= e install" >&5 +printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + # Account for fact that we put trailing slashes in our PATH walk. +case $as_dir in #(( + ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -3315,13 +4004,13 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog =3D install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog =3D install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -3329,12 +4018,12 @@ case $as_dir/ in #(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`= /conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/= conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install=3D"$as_dir/$ac_prog$ac_exec_ext -c" + ac_cv_path_install=3D"$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -3350,7 +4039,7 @@ IFS=3D$as_save_IFS rm -rf conftest.one conftest.two conftest.dir =20 fi - if test "${ac_cv_path_install+set}" =3D set; then + if test ${ac_cv_path_install+y}; then INSTALL=3D$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -3360,8 +4049,8 @@ fi INSTALL=3D$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } =20 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -3374,14 +4063,16 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=3D'${INSTAL= L} -m 644' =20 # Checks for programs that depend on a feature =20 -if test "x$vtpm" =3D "xy"; then : +if test "x$vtpm" =3D "xy" +then : # Extract the first word of "cmake", so it can be a program name with ar= gs. set dummy cmake; 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 ${ac_cv_path_CMAKE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_CMAKE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $CMAKE in [\\/]* | ?:[\\/]*) ac_cv_path_CMAKE=3D"$CMAKE" # Let the user override the test with a path. @@ -3391,11 +4082,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_CMAKE=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_CMAKE=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -3408,11 +4103,11 @@ esac fi CMAKE=3D$ac_cv_path_CMAKE if test -n "$CMAKE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMAKE" >&5 -$as_echo "$CMAKE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CMAKE" >&5 +printf "%s\n" "$CMAKE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -3420,21 +4115,23 @@ if test x"${CMAKE}" =3D x"no" then as_fn_error $? "Unable to find cmake, please install cmake" "$LINENO" 5 fi -else +else $as_nop =20 -if test "x$vtpm" =3D "xn"; then : +if test "x$vtpm" =3D "xn" +then : =20 CMAKE=3D"/cmake-disabled-in-configure-script" =20 -else +else $as_nop =20 # Extract the first word of "cmake", so it can be a program name with args. set dummy cmake; 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 ${ac_cv_path_CMAKE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_CMAKE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $CMAKE in [\\/]* | ?:[\\/]*) ac_cv_path_CMAKE=3D"$CMAKE" # Let the user override the test with a path. @@ -3444,11 +4141,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_CMAKE=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_CMAKE=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -3461,15 +4162,16 @@ esac fi CMAKE=3D$ac_cv_path_CMAKE if test -n "$CMAKE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMAKE" >&5 -$as_echo "$CMAKE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CMAKE" >&5 +printf "%s\n" "$CMAKE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 -if test x"${CMAKE}" =3D "xno"; then : +if test x"${CMAKE}" =3D "xno" +then : =20 vtpm=3Dn CMAKE=3D"/cmake-disabled-in-configure-script" @@ -3485,7 +4187,8 @@ fi # Stubdom libraries version and url setup =20 =20 -if test "x$ZLIB_URL" =3D "x"; then : +if test "x$ZLIB_URL" =3D "x" +then : =20 ZLIB_URL=3D\$\(XEN_EXTFILES_URL\) fi @@ -3495,11 +4198,13 @@ ZLIB_VERSION=3D"1.2.3" =20 =20 =20 -if test "x$LIBPCI_URL" =3D "x"; then : +if test "x$LIBPCI_URL" =3D "x" +then : =20 - if test "x$extfiles" =3D "xy"; then : + if test "x$extfiles" =3D "xy" +then : LIBPCI_URL=3D\$\(XEN_EXTFILES_URL\) -else +else $as_nop LIBPCI_URL=3D"https://mirrors.edge.kernel.org/pub/software/utils/pciutil= s" fi =20 @@ -3510,11 +4215,13 @@ LIBPCI_VERSION=3D"2.2.9" =20 =20 =20 -if test "x$NEWLIB_URL" =3D "x"; then : +if test "x$NEWLIB_URL" =3D "x" +then : =20 - if test "x$extfiles" =3D "xy"; then : + if test "x$extfiles" =3D "xy" +then : NEWLIB_URL=3D\$\(XEN_EXTFILES_URL\) -else +else $as_nop NEWLIB_URL=3D"https://sourceware.org/ftp/newlib" fi =20 @@ -3525,11 +4232,13 @@ NEWLIB_VERSION=3D"1.16.0" =20 =20 =20 -if test "x$LWIP_URL" =3D "x"; then : +if test "x$LWIP_URL" =3D "x" +then : =20 - if test "x$extfiles" =3D "xy"; then : + if test "x$extfiles" =3D "xy" +then : LWIP_URL=3D\$\(XEN_EXTFILES_URL\) -else +else $as_nop LWIP_URL=3D"https://download.savannah.gnu.org/releases/lwip" fi =20 @@ -3540,11 +4249,13 @@ LWIP_VERSION=3D"1.3.0" =20 =20 =20 -if test "x$GRUB_URL" =3D "x"; then : +if test "x$GRUB_URL" =3D "x" +then : =20 - if test "x$extfiles" =3D "xy"; then : + if test "x$extfiles" =3D "xy" +then : GRUB_URL=3D\$\(XEN_EXTFILES_URL\) -else +else $as_nop GRUB_URL=3D"https://alpha.gnu.org/gnu/grub" fi =20 @@ -3555,11 +4266,13 @@ GRUB_VERSION=3D"0.97" =20 =20 =20 -if test "x$GMP_URL" =3D "x"; then : +if test "x$GMP_URL" =3D "x" +then : =20 - if test "x$extfiles" =3D "xy"; then : + if test "x$extfiles" =3D "xy" +then : GMP_URL=3D\$\(XEN_EXTFILES_URL\) -else +else $as_nop GMP_URL=3D"https://gmplib.org/download/gmp/archive" fi =20 @@ -3570,7 +4283,8 @@ GMP_VERSION=3D"4.3.2" =20 =20 =20 -if test "x$POLARSSL_URL" =3D "x"; then : +if test "x$POLARSSL_URL" =3D "x" +then : =20 POLARSSL_URL=3D\$\(XEN_EXTFILES_URL\) fi @@ -3580,7 +4294,8 @@ POLARSSL_VERSION=3D"1.1.4" =20 =20 =20 -if test "x$TPMEMU_URL" =3D "x"; then : +if test "x$TPMEMU_URL" =3D "x" +then : =20 TPMEMU_URL=3D\$\(XEN_EXTFILES_URL\) fi @@ -3591,7 +4306,8 @@ TPMEMU_VERSION=3D"0.7.4" =20 #These stubdoms should be enabled if the dependent one is =20 -if test "x$vtpmmgr" =3D "x" && test "x$vtpm" =3D "xn"; then : +if test "x$vtpmmgr" =3D "x" && test "x$vtpm" =3D "xn" +then : =20 vtpmmgr=3D"n" =20 @@ -3600,7 +4316,8 @@ fi =20 #Conditionally enable these stubdoms based on the presense of dependencies =20 -if test "x$vtpm" =3D "xy" || test "x$vtpm" =3D "x"; then : +if test "x$vtpm" =3D "xy" || test "x$vtpm" =3D "x" +then : =20 =20 vtpm=3Dy @@ -3610,7 +4327,7 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-vtpm" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-vtpm" =20 =20 -else +else $as_nop =20 =20 vtpm=3Dn @@ -3620,7 +4337,8 @@ fi =20 =20 =20 -if test "x$vtpmmgr" =3D "xy" || test "x$vtpmmgr" =3D "x"; then : +if test "x$vtpmmgr" =3D "xy" || test "x$vtpmmgr" =3D "x" +then : =20 =20 vtpmmgr=3Dy @@ -3630,7 +4348,7 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-vtpmmgr" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-vtpmmgr" =20 =20 -else +else $as_nop =20 =20 vtpmmgr=3Dn @@ -3640,7 +4358,8 @@ fi =20 =20 =20 -if test "x$ioemu" =3D "xy" || test "x$ioemu" =3D "x"; then : +if test "x$ioemu" =3D "xy" || test "x$ioemu" =3D "x" +then : =20 =20 ioemu=3Dy @@ -3650,7 +4369,7 @@ STUBDOM_INSTALL=3D"$STUBDOM_INSTALL install-ioemu" STUBDOM_UNINSTALL=3D"$STUBDOM_UNINSTALL install-ioemu" =20 =20 -else +else $as_nop =20 =20 ioemu=3Dn @@ -3697,8 +4416,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -3728,15 +4447,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test "${\1+set}" =3D set || &/ + s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=3D]*\)=3D\(.*\)$/\1=3D${\1=3D\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" !=3D "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file"= >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_= file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -3750,8 +4469,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache= $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable = cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -3804,7 +4523,7 @@ U=3D for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue # 1. Remove the extension, and $U if already installed. ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=3D`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -3820,8 +4539,8 @@ LTLIBOBJS=3D$ac_ltlibobjs ac_write_fail=3D0 ac_clean_files_save=3D$ac_clean_files ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=3D0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=3D1 #! $SHELL @@ -3844,14 +4563,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=3D1 =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -3861,46 +4582,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -3909,13 +4630,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -3924,8 +4638,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -3937,30 +4655,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -3973,13 +4671,14 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -4006,18 +4705,20 @@ as_fn_unset () { eval $1=3D; unset $1;} } as_unset=3Das_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. = Take # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -4029,12 +4730,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` @@ -4065,7 +4767,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -4087,6 +4789,10 @@ as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS as_cr_digits=3D'0123456789' as_cr_alnum=3D$as_cr_Letters$as_cr_digits =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -4100,6 +4806,12 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -4141,7 +4853,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -4150,7 +4862,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|= \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -4213,7 +4925,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 # values after options handling. ac_log=3D" This file was extended by Xen Hypervisor Stub Domains $as_me 4.19, which w= as -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 CONFIG_FILES =3D $CONFIG_FILES CONFIG_HEADERS =3D $CONFIG_HEADERS @@ -4263,14 +4975,16 @@ Report bugs to . Xen Hypervisor Stub Domains home page: ." =20 _ACEOF +ac_cs_config=3D`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote= "` +ac_cs_config_escaped=3D`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'= \\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]= /\\\\&/g'`" +ac_cs_config=3D'$ac_cs_config_escaped' ac_cs_version=3D"\\ Xen Hypervisor Stub Domains config.status 4.19 -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." =20 @@ -4308,21 +5022,21 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=3D: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=3D: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=3D`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g= "` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=3Dfalse;; --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=3D: ;; @@ -4350,7 +5064,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-crea= te --no-recursion shift - \$as_echo "running CONFIG_SHELL=3D$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=3D$SHELL \$*" >&6 CONFIG_SHELL=3D'$SHELL' export CONFIG_SHELL exec "\$@" @@ -4364,7 +5078,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 =20 _ACEOF @@ -4389,7 +5103,7 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" =3D set || CONFIG_FILES=3D$config_files + test ${CONFIG_FILES+y} || CONFIG_FILES=3D$config_files fi =20 # Have a temporary directory for convenience. Make it in the build tree @@ -4617,7 +5331,7 @@ do esac || 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 + case $ac_f in *\'*) ac_f=3D`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\= \\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done =20 @@ -4625,17 +5339,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input=3D'Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" !=3D x-; then configure_input=3D"$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement stri= ngs. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=3D`$as_echo "$configure_input" | + ac_sed_conf_input=3D`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=3D$configure_input;; esac @@ -4652,7 +5366,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \= | \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -4676,9 +5390,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -4735,8 +5449,8 @@ ac_sed_dataroot=3D' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=3Dyes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems = to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootd= ir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs s= eems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --data= rootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 ac_datarootdir_hack=3D' @@ -4779,9 +5493,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out= "; } && { 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 re= ference to the variable \`datarootdir' + { printf "%s\n" "$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' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the varia= ble \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} =20 rm -f "$ac_tmp/stdin" @@ -4828,7 +5542,8 @@ if test "$no_create" !=3D yes; then $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" !=3D = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: = $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&= 2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized opti= ons: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt= s" >&2;} fi =20 + diff --git a/tools/config.h.in b/tools/config.h.in index 50ad60fcb091..0bab3cb136e9 100644 --- a/tools/config.h.in +++ b/tools/config.h.in @@ -36,9 +36,6 @@ /* Define to 1 if you have the `z' library (-lz). */ #undef HAVE_LIBZ =20 -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - /* Define to 1 if you have the `pipe2' function. */ #undef HAVE_PIPE2 =20 @@ -54,6 +51,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H =20 +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H =20 @@ -129,7 +129,9 @@ /* SeaBIOS path */ #undef SEABIOS_PATH =20 -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #undef STDC_HEADERS =20 /* QMP proxy path */ @@ -162,11 +164,6 @@ /* Xen's script dir */ #undef XEN_SCRIPT_DIR =20 -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS =20 diff --git a/tools/configure b/tools/configure index a6b43bfc6064..6c1084b7b28a 100755 --- a/tools/configure +++ b/tools/configure @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Xen Hypervisor Tools 4.19. +# Generated by GNU Autoconf 2.71 for Xen Hypervisor Tools 4.19. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -96,8 +92,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -109,30 +109,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=3D; unset _as_can_reexec;} if test "x$CONFIG_SHELL" =3D x; then - as_bourne_compatible=3D"if test -n \"\${ZSH_VERSION+set}\" && (emulate s= h) >/dev/null 2>&1; then : + as_bourne_compatible=3D"as_nop=3D: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'=3D'\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,42 +169,52 @@ as_fn_success || { exitcode=3D1; echo as_fn_success f= ailed.; } as_fn_failure && { exitcode=3D1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=3D1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=3D1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ) +then : =20 -else +else \$as_nop exitcode=3D1; echo positional parameters were not saved. fi test x\$exitcode =3D x0 || exit 1 +blah=3D\$(echo \$(echo blah)) +test x\"\$blah\" =3D xblah || exit 1 test -x / || exit 1" as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1 -test \$(( 1 + 1 )) =3D 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" + if (eval "$as_required") 2>/dev/null +then : as_have_required=3Dyes -else +else $as_nop as_have_required=3Dno fi - if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/nul= l; then : + if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/null +then : =20 -else +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR as_found=3Dfalse for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac as_found=3D: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=3D$as_dir/$as_base + as_shell=3D$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$as_s= hell"; } 2>/dev/null; then : + as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/d= ev/null +then : CONFIG_SHELL=3D$as_shell as_have_required=3Dyes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=3Da "$a= s_shell"; } 2>/dev/null; then : + if as_run=3Da "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2= >/dev/null +then : break 2 fi fi @@ -230,14 +222,21 @@ fi esac as_found=3Dfalse done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$SHE= LL"; } 2>/dev/null; then : - CONFIG_SHELL=3D$SHELL as_have_required=3Dyes -fi; } IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=3Da "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev= /null +then : + CONFIG_SHELL=3D$SHELL as_have_required=3Dyes +fi +fi =20 =20 - if test "x$CONFIG_SHELL" !=3D x; then : + if test "x$CONFIG_SHELL" !=3D x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -255,18 +254,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi =20 - if test x$as_have_required =3D xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} =3D xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required =3D xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: xen-devel@lists.xen.org about your system, including $0: any error possibly output before this message. Then $0: install a modern shell, or manually run the script @@ -294,6 +294,7 @@ as_fn_unset () } as_unset=3Das_fn_unset =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -311,6 +312,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_mkdir_p # ------------- @@ -325,7 +334,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -334,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -373,12 +382,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -390,18 +400,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` } fi # as_fn_arith =20 +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=3Das_fn_nop =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -413,9 +432,9 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 @@ -442,7 +461,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -486,7 +505,7 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a P= OSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun wit= h a POSIX shell" >&2; as_fn_exit 1; } =20 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -500,6 +519,10 @@ as_cr_alnum=3D$as_cr_Letters$as_cr_digits exit } =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -513,6 +536,13 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -588,40 +618,36 @@ PACKAGE_URL=3D'https://www.xen.org/' ac_unique_file=3D"libs/light/libxl.c" # Factoring default headers for most tests. ac_includes_default=3D"\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include +#include +#ifdef HAVE_STDIO_H +# include #endif -#ifdef STDC_HEADERS +#ifdef HAVE_STDLIB_H # include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif #endif #ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif # include #endif -#ifdef HAVE_STRINGS_H -# include -#endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif" =20 +ac_header_c_list=3D ac_subst_vars=3D'LTLIBOBJS LIBOBJS pvshim @@ -656,9 +682,6 @@ PKG_CONFIG TINFO_LIBS CURSES_LIBS PY_NOOPT_CFLAGS -EGREP -GREP -CPP pyconfig PYTHONPATH BASH @@ -851,7 +874,6 @@ LD86 BCC IASL AWK -CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR @@ -931,8 +953,6 @@ do *) ac_optarg=3Dyes ;; esac =20 - # Accept the important Cygnus configure options, so we can diagnose typo= s. - case $ac_dashdash$ac_option in --) ac_dashdash=3Dyes ;; @@ -973,9 +993,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -999,9 +1019,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1212,9 +1232,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*with-\([^=3D]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1228,9 +1248,9 @@ do ac_useropt=3D`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=3D`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1274,9 +1294,9 @@ Try \`$0 --help' for more information" =20 *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >= &2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --targ= et" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_ali= as=3D$ac_option}" ;; =20 @@ -1292,7 +1312,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecogniz= ed_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrec= ognized_opts" >&2 ;; esac fi =20 @@ -1356,7 +1376,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$'= \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1599,7 +1619,6 @@ Some influential environment variables: BCC Path to bcc tool IASL Path to iasl tool AWK Path to awk tool - CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path @@ -1638,9 +1657,9 @@ if test "$ac_init_help" =3D "recursive"; then case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -1668,7 +1687,8 @@ esac ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix =20 cd "$ac_dir" || { ac_status=3D$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=3Drecursive @@ -1676,7 +1696,7 @@ ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=3Drecursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_di= r" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $= ac_dir" >&2 fi || ac_status=3D$? cd "$ac_pwd" || { ac_status=3D$?; break; } done @@ -1686,9 +1706,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor Tools configure 4.19 -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.71 =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1705,14 +1725,14 @@ fi ac_fn_c_try_compile () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try=3D"$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -1720,14 +1740,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=3D0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 ac_retval=3D1 @@ -1743,14 +1764,14 @@ fi ac_fn_c_try_link () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try=3D"$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -1758,17 +1779,18 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" =3D yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=3D0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 ac_retval=3D1 @@ -1783,176 +1805,6 @@ fi =20 } # ac_fn_c_try_link =20 -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - if { { ac_try=3D"$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=3D$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=3D0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=3D1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled u= sing -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - 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 \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=3Dyes -else - ac_header_compiler=3Dno -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=3Dyes -else - ac_header_preproc=3Dno -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the = compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the p= reprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with = the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cann= ot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for mi= ssing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?= " >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf= documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Pr= esent But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compile= d\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with = the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## -------------------------------------- ## -## Report this to xen-devel@lists.xen.org ## -## -------------------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $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=3D\$ac_header_compiler" -fi -eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack - if { { ac_try=3D"$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; } && { ac_try=3D'./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; - *) ac_try_echo=3D$ac_try;; -esac -eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; }; then : - ac_retval=3D0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=3D$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files = in @@ -1960,26 +1812,28 @@ fi ac_fn_c_check_header_compile () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_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 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=3Dyes" -else +else $as_nop eval "$3=3Dno" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam 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; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_header_compile @@ -1990,11 +1844,12 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_func () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_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 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. @@ -2002,16 +1857,9 @@ else #define $2 innocuous_$2 =20 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif + which can conflict with char $2 (); below. */ =20 +#include #undef $2 =20 /* Override any GCC internal prototype to avoid an error. @@ -2029,47 +1877,51 @@ choke me #endif =20 int -main () +main (void) { return $2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$3=3Dyes" -else +else $as_nop eval "$3=3Dno" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext 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; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 } # ac_fn_c_check_func =20 -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- +# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR +# ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_c_check_decl () +# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. +ac_fn_check_decl () { as_lineno=3D${as_lineno-"$1"} as_lineno_stack=3Das_lineno_stack=3D$as_li= neno_stack as_decl_name=3D`echo $2|sed 's/ *(.*//'` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_= name is declared" >&5 +printf %s "checking whether $as_decl_name is declared... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_decl_use=3D`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name = is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + eval ac_save_FLAGS=3D\$$6 + as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { #ifndef $as_decl_name #ifdef __cplusplus @@ -2083,27 +1935,50 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=3Dyes" -else +else $as_nop eval "$3=3Dno" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + eval $6=3D\$ac_save_FLAGS + fi eval ac_res=3D\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno =20 -} # ac_fn_c_check_decl +} # ac_fn_check_decl +ac_configure_args_raw=3D +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote=3D ;; + *) + ac_unsafe_z=3D'|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a=3D"$ac_unsafe_z#~" + ac_safe_unquote=3D"s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=3D` printf "%s\n" "$ac_configure_args_raw" = | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. =20 It was created by Xen Hypervisor Tools $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 - $ $0 $@ + $ $0$ac_configure_args_raw =20 _ACEOF exec 5>>config.log @@ -2136,8 +2011,12 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=3D$as_save_IFS =20 @@ -2172,7 +2051,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=3D`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -2207,11 +2086,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0= bug. trap 'exit_status=3D$? + # Sanitize IFS. + IFS=3D" "" $as_nl" # Save into config.log some information that might help in debugging. { echo =20 - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -2222,8 +2103,8 @@ trap 'exit_status=3D$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -2247,7 +2128,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; ) echo =20 - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -2255,14 +2136,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\= \'\'''\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo =20 if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -2270,15 +2151,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var c= ontains a newline" >&2;} ;; do eval ac_val=3D\$$ac_var case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/= g"`;; + *\'\''*) ac_val=3D`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; esac - $as_echo "$ac_var=3D'\''$ac_val'\''" + printf "%s\n" "$ac_var=3D'\''$ac_val'\''" done | sort echo fi =20 if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -2286,8 +2167,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var con= tains a newline" >&2;} ;; echo fi test "$ac_signal" !=3D 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -2301,63 +2182,48 @@ ac_signal=3D0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h =20 -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h =20 # Predefined preprocessor variables. =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdef= s.h =20 -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h =20 =20 # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=3DNONE -ac_site_file2=3DNONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=3D./$CONFIG_SITE;; - */*) ac_site_file1=3D$CONFIG_SITE;; - *) ac_site_file1=3D./$CONFIG_SITE;; - esac + ac_site_files=3D"$CONFIG_SITE" elif test "x$prefix" !=3D xNONE; then - ac_site_file1=3D$prefix/share/config.site - ac_site_file2=3D$prefix/etc/config.site + ac_site_files=3D"$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=3D$ac_default_prefix/share/config.site - ac_site_file2=3D$ac_default_prefix/etc/config.site + ac_site_files=3D"$ac_default_prefix/share/config.site $ac_default_prefix= /etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" =3D xNONE && continue - if test /dev/null !=3D "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_= file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=3D./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_= site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_p= wd':" >&5 +printf "%s\n" "$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; } fi @@ -2367,155 +2233,548 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular fil= e. if test /dev/null !=3D "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_fil= e" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file= " >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi =20 -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=3Dfalse -for ac_var in $ac_precious_vars; do - eval ac_old_set=3D\$ac_cv_env_${ac_var}_set - eval ac_new_set=3D\$ac_env_${ac_var}_set - eval ac_old_val=3D\$ac_cv_env_${ac_var}_value - eval ac_new_val=3D\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set t= o \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previ= ous run" >&2;} - ac_cache_corrupted=3D: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not s= et in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=3D: ;; - ,);; - *) - if test "x$ac_old_val" !=3D "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=3D`echo x $ac_old_val` - ac_new_val_w=3D`echo x $ac_new_val` - if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed = since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >= &2;} - ac_cache_corrupted=3D: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c= hanges in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since= the previous run:" >&2;} - eval $ac_var=3D\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'"= >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"= >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" =3D set; then - case $ac_new_val in - *\'*) ac_arg=3D$ac_var=3D`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\'= '/g"` ;; - *) ac_arg=3D$ac_var=3D$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environme= nt can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the bui= ld" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start= over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## +# Test code for whether the C compiler supports C89 (global declarations) +ac_c_conftest_c89_globals=3D' +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif =20 -ac_ext=3Dc -ac_cpp=3D'$CPP $CPPFLAGS' -ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' -ac_compiler_gnu=3D$ac_cv_c_compiler_gnu +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ +struct buf { int x; }; +struct buf * (*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 =3D g (p, va_arg (v,int)); + va_end (v); + return s; +} =20 +/* 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 do not provoke an error unfortunately, instead are silently treat= ed + as an "x". The following induces an error, until -std is added to get + proper ANSI mode. Curiously \x00 !=3D x always comes out true, for an + array size at least. It is necessary to write \x00 =3D=3D 0 to get som= ething + that is true only with -std. */ +int osf4_cc_array ['\''\x00'\'' =3D=3D 0 ? 1 : -1]; =20 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parame= ters + inside strings and character constants. */ +#define FOO(x) '\''x'\'' +int xlc6_cc_array[FOO(a) =3D=3D '\''x'\'' ? 1 : -1]; =20 -ac_config_files=3D"$ac_config_files ../config/Tools.mk hotplug/common/hotp= lugpath.sh hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdo= main hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconf= ig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencom= mons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain h= otplug/Linux/launch-xenstore hotplug/Linux/vif-setup hotplug/Linux/xen-hotp= lug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotpl= ug/NetBSD/rc.d/xendriverdomain ocaml/libs/xs/paths.ml ocaml/xenstored/paths= .ml ocaml/xenstored/oxenstored.conf" +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), + int, int);' =20 -ac_config_headers=3D"$ac_config_headers config.h" +# Test code for whether the C compiler supports C89 (body of main). +ac_c_conftest_c89_main=3D' +ok |=3D (argc =3D=3D 0 || f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) != =3D argv[1]); +' =20 -ac_aux_dir=3D -for ac_dir in ../ "$srcdir"/../; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=3D$ac_dir - ac_install_sh=3D"$ac_aux_dir/shtool install -c" +# Test code for whether the C compiler supports C99 (global declarations) +ac_c_conftest_c99_globals=3D' +// Does the compiler advertise C99 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L +# error "Compiler does not advertise C99 conformance" +#endif + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +// dprintf is used instead of fprintf to avoid needing to declare +// FILE and stderr. +#define debug(...) dprintf (2, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x =3D 1234; + int y =3D 5678; + debug ("Flag"); + debug ("X =3D %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D=3D= 0) +#if !BIG_OK + #error "your preprocessor is broken" +#endif +#if BIG_OK +#else + #error "your preprocessor is broken" +#endif +static long long int bignum =3D -9223372036854775807LL; +static unsigned long long int ubignum =3D BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i =3D 0; *(text+i) !=3D '\''\0'\''; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static bool +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str =3D ""; + int number =3D 0; + float fnumber =3D 0; + + while (*format) + { + switch (*format++) + { + case '\''s'\'': // string + str =3D va_arg (args_copy, const char *); + break; + case '\''d'\'': // int + number =3D va_arg (args_copy, int); + break; + case '\''f'\'': // float + fnumber =3D va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); + + return *str && number && fnumber; +} +' + +# Test code for whether the C compiler supports C99 (body of main). +ac_c_conftest_c99_main=3D' + // Check bool. + _Bool success =3D false; + success |=3D (argc !=3D 0); + + // Check restrict. + if (test_restrict ("String literal") =3D=3D 0) + success =3D true; + char *restrict newvar =3D "Another string"; + + // Check varargs. + success &=3D test_varargs ("s, d'\'' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia =3D + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize =3D 10; + for (int i =3D 0; i < ia->datasize; ++i) + ia->data[i] =3D i * 1.234; + + // Check named initializers. + struct named_init ni =3D { + .number =3D 34, + .name =3D L"Test wide string", + .average =3D 543.34343, + }; + + ni.number =3D 58; + + int dynamic_array[ni.number]; + dynamic_array[0] =3D argv[0][0]; + dynamic_array[ni.number - 1] =3D 543; + + // work around unused variable warnings + ok |=3D (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D '\''x'\'' + || dynamic_array[ni.number - 1] !=3D 543); +' + +# Test code for whether the C compiler supports C11 (global declarations) +ac_c_conftest_c11_globals=3D' +// Does the compiler advertise C11 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L +# error "Compiler does not advertise C11 conformance" +#endif + +// Check _Alignas. +char _Alignas (double) aligned_as_double; +char _Alignas (0) no_special_alignment; +extern char aligned_as_int; +char _Alignas (0) _Alignas (int) aligned_as_int; + +// Check _Alignof. +enum +{ + int_alignment =3D _Alignof (int), + int_array_alignment =3D _Alignof (int[100]), + char_alignment =3D _Alignof (char) +}; +_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); + +// Check _Noreturn. +int _Noreturn does_not_return (void) { for (;;) continue; } + +// Check _Static_assert. +struct test_static_assert +{ + int x; + _Static_assert (sizeof (int) <=3D sizeof (long int), + "_Static_assert does not work in struct"); + long int y; +}; + +// Check UTF-8 literals. +#define u8 syntax error! +char const utf8_literal[] =3D u8"happens to be ASCII" "another string"; + +// Check duplicate typedefs. +typedef long *long_ptr; +typedef long int *long_ptr; +typedef long_ptr long_ptr; + +// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. +struct anonymous +{ + union { + struct { int i; int j; }; + struct { int k; long int l; } w; + }; + int m; +} v1; +' + +# Test code for whether the C compiler supports C11 (body of main). +ac_c_conftest_c11_main=3D' + _Static_assert ((offsetof (struct anonymous, i) + =3D=3D offsetof (struct anonymous, w.k)), + "Anonymous union alignment botch"); + v1.i =3D 2; + v1.w.k =3D 5; + ok |=3D v1.i !=3D 5; +' + +# Test code for whether the C compiler supports C11 (complete). +ac_c_conftest_c11_program=3D"${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} +${ac_c_conftest_c11_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + ${ac_c_conftest_c11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C99 (complete). +ac_c_conftest_c99_program=3D"${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + return ok; +} +" + +# Test code for whether the C compiler supports C89 (complete). +ac_c_conftest_c89_program=3D"${ac_c_conftest_c89_globals} + +int +main (int argc, char **argv) +{ + int ok =3D 0; + ${ac_c_conftest_c89_main} + return ok; +} +" + +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" + +# Auxiliary files required by this configure script. +ac_aux_files=3D"install-sh config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates=3D"${srcdir}/../" + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files=3D"" +ac_first_candidate=3D: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux= _files" >&5 +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +as_found=3Dfalse +for as_dir in $ac_aux_dir_candidates +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + as_found=3D: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=3Dyes + ac_install_sh=3D + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" =3D x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh = found" >&5 + ac_install_sh=3D"${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh = found" >&5 + ac_install_sh=3D"${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool foun= d" >&5 + ac_install_sh=3D"${as_dir}shtool install -c" + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} f= ound" >&5 + else + ac_aux_dir_found=3Dno + if $ac_first_candidate; then + ac_missing_aux_files=3D"${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" =3D yes; then + ac_aux_dir=3D"$as_dir" break fi + ac_first_candidate=3Dfalse + + as_found=3Dfalse done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../ \"$= srcdir\"/../" "$LINENO" 5 +IFS=3D$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_fil= es" "$LINENO" 5 fi =20 + # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a direc= tory # whose full name contains unusual characters. -ac_config_guess=3D"$SHELL $ac_aux_dir/config.guess" # Please don't use th= is var. -ac_config_sub=3D"$SHELL $ac_aux_dir/config.sub" # Please don't use this v= ar. -ac_configure=3D"$SHELL $ac_aux_dir/configure" # Please don't use this var. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess=3D"$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub=3D"$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure=3D"$SHELL ${ac_aux_dir}configure" +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=3Dfalse +for ac_var in $ac_precious_vars; do + eval ac_old_set=3D\$ac_cv_env_${ac_var}_set + eval ac_new_set=3D\$ac_env_${ac_var}_set + eval ac_old_val=3D\$ac_cv_env_${ac_var}_value + eval ac_new_val=3D\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the = previous run" >&2;} + ac_cache_corrupted=3D: ;; + ,set) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was = not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" = >&2;} + ac_cache_corrupted=3D: ;; + ,);; + *) + if test "x$ac_old_val" !=3D "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=3D`echo x $ac_old_val` + ac_new_val_w=3D`echo x $ac_new_val` + if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has cha= nged since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous ru= n:" >&2;} + ac_cache_corrupted=3D: + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitesp= ace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' = since the previous run:" >&2;} + eval $ac_var=3D\$ac_old_val + fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_= val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_= val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" =3D set; then + case $ac_new_val in + *\'*) ac_arg=3D$ac_var=3D`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\= \\\\''/g"` ;; + *) ac_arg=3D$ac_var=3D$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the envi= ronment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise th= e build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=3Dc +ac_cpp=3D'$CPP $CPPFLAGS' +ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' +ac_compiler_gnu=3D$ac_cv_c_compiler_gnu + + + +ac_config_files=3D"$ac_config_files ../config/Tools.mk hotplug/common/hotp= lugpath.sh hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdo= main hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconf= ig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencom= mons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain h= otplug/Linux/launch-xenstore hotplug/Linux/vif-setup hotplug/Linux/xen-hotp= lug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotpl= ug/NetBSD/rc.d/xendriverdomain ocaml/libs/xs/paths.ml ocaml/xenstored/paths= .ml ocaml/xenstored/oxenstored.conf" + +ac_config_headers=3D"$ac_config_headers config.h" =20 =20 =20 # Check if CFLAGS, LDFLAGS, LIBS, CPPFLAGS or CPP is set and print a warni= ng =20 -if test -n "$CC$CFLAGS$LDFLAGS$LIBS$CPPFLAGS$CPP"; then : +if test -n "$CC$CFLAGS$LDFLAGS$LIBS$CPPFLAGS$CPP" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting CC, CFLAGS, = LDFLAGS, LIBS, CPPFLAGS or CPP is not \ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Setting CC, CFL= AGS, LDFLAGS, LIBS, CPPFLAGS or CPP is not \ recommended, use PREPEND_INCLUDES, PREPEND_LIB, \ APPEND_INCLUDES and APPEND_LIB instead when possible." >&5 -$as_echo "$as_me: WARNING: Setting CC, CFLAGS, LDFLAGS, LIBS, CPPFLAGS or = CPP is not \ +printf "%s\n" "$as_me: WARNING: Setting CC, CFLAGS, LDFLAGS, LIBS, CPPFLAG= S or CPP is not \ recommended, use PREPEND_INCLUDES, PREPEND_LIB, \ APPEND_INCLUDES and APPEND_LIB instead when possible." >&2;} =20 fi =20 -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else + + + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" = >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=3D$build_alias test "x$ac_build_alias" =3D x && - ac_build_alias=3D`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=3D`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" =3D x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO"= 5 -ac_cv_build=3D`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$= LINENO" 5 +ac_cv_build=3D`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "= $LINENO" 5 =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -2534,21 +2793,22 @@ IFS=3D$ac_save_IFS case $build_os in *\ *) build_os=3D`echo "$build_os" | sed 's/ /-/g'`;; es= ac =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >= &5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" =3D x; then ac_cv_host=3D$ac_cv_build else - ac_cv_host=3D`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LI= NENO" 5 + ac_cv_host=3D`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$L= INENO" 5 fi =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -2574,6 +2834,15 @@ rumpxen|rumprun) CONFIG_RUMP=3Dy; rump=3Dtrue ;; esac =20 =20 + + + + + + + + + ac_ext=3Dc ac_cpp=3D'$CPP $CPPFLAGS' ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2582,11 +2851,12 @@ ac_compiler_gnu=3D$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 progr= am name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2594,11 +2864,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2609,11 +2883,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2622,11 +2896,12 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=3D$CC # Extract the first word of "gcc", so it can be a program name with args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -2634,11 +2909,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2649,11 +2928,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_CC" =3D x; then @@ -2661,8 +2940,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC @@ -2675,11 +2954,12 @@ 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 prog= ram name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2687,11 +2967,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2702,11 +2986,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2715,11 +2999,12 @@ 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2728,15 +3013,19 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then ac_prog_rejected=3Dyes continue fi ac_cv_prog_CC=3D"cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2752,18 +3041,18 @@ if test $ac_prog_rejected =3D yes; then # 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=3D"$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC=3D"$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2774,11 +3063,12 @@ if test -z "$CC"; then 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -2786,11 +3076,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2801,11 +3095,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2818,11 +3112,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -2830,11 +3125,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -2845,11 +3144,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -2861,8 +3160,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC @@ -2870,25 +3169,129 @@ esac fi =20 fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a pro= gram name with args. +set dummy ${ac_tool_prefix}clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC=3D"$CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC=3D"${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS + +fi +fi +CC=3D$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=3D$CC + # Extract the first word of "clang", so it can be a program name with ar= gs. +set dummy clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC=3D"clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS =20 +fi +fi +ac_ct_CC=3D$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi =20 -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$a= c_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + if test "x$ac_ct_CC" =3D x; then + CC=3D"" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} +ac_tool_warned=3Dyes ;; +esac + CC=3D$ac_ct_CC + fi +else + CC=3D"$ac_cv_prog_CC" +fi + +fi + + +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in= \`$ac_pwd':" >&5 +printf "%s\n" "$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; } =20 # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler versio= n" >&5 set X $ac_compile ac_compiler=3D$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try=3D"$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -2898,7 +3301,7 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } done =20 @@ -2906,7 +3309,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; @@ -2918,9 +3321,9 @@ ac_clean_files=3D"$ac_clean_files a.out a.out.dSYM a.= exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler w= orks" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=3D`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compi= ler works" >&5 +printf %s "checking whether the C compiler works... " >&6; } +ac_link_default=3D`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` =20 # The possible output files: ac_files=3D"a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -2941,11 +3344,12 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT =3D no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -2962,7 +3366,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" =3D set && test "$ac_cv_exeext" !=3D no; + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" !=3D no; then :; else ac_cv_exeext=3D`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -2978,44 +3382,46 @@ do done test "$ac_cv_exeext" =3D no && ac_cv_exeext=3D =20 -else +else $as_nop ac_file=3D'' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default o= utput file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler defa= ult output file name" >&5 +printf %s "checking for C compiler default output file name... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=3D$ac_cv_exeext =20 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=3D$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executable= s" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of execu= tables" >&5 +printf %s "checking for suffix of executables... " >&6; } if { { ac_try=3D"$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -3029,15 +3435,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >= &5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and l= ink 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 -$as_echo "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } =20 rm -f conftest.$ac_ext EXEEXT=3D$ac_cv_exeext @@ -3046,7 +3452,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { FILE *f =3D fopen ("conftest.out", "w"); return ferror (f) || fclose (f) !=3D 0; @@ -3058,8 +3464,8 @@ _ACEOF ac_clean_files=3D"$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross com= piling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cros= s compiling" >&5 +printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" !=3D yes; then { { ac_try=3D"$ac_link" case "(($ac_try" in @@ -3067,10 +3473,10 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } if { ac_try=3D'./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -3078,39 +3484,40 @@ $as_echo "$ac_try_echo"; } >&5 *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; }; then cross_compiling=3Dno else if test "$cross_compiling" =3D maybe; then cross_compiling=3Dyes else - { { $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 run C compiled programs. + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } =20 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=3D$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object fil= es" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of objec= t files" >&5 +printf %s "checking for suffix of object files... " >&6; } +if test ${ac_cv_objext+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; @@ -3124,11 +3531,12 @@ case "(($ac_try" in *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 - test $ac_status =3D 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + test $ac_status =3D 0; } +then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -3137,31 +3545,32 @@ $as_echo "$ac_try_echo"; } >&5 break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 =20 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$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; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=3D$ac_cv_objext ac_objext=3D$OBJEXT -{ $as_echo "$as_me:${as_lineno-$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 ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compile= r supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { #ifndef __GNUC__ choke me @@ -3171,29 +3580,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=3Dyes -else +else $as_nop ac_compiler_gnu=3Dno fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=3D$ac_compiler_gnu =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gn= u" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=3D$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu =3D yes; then GCC=3Dyes else GCC=3D fi -ac_test_CFLAGS=3D${CFLAGS+set} +ac_test_CFLAGS=3D${CFLAGS+y} 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 ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts= -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=3D$ac_c_werror_flag ac_c_werror_flag=3Dyes ac_cv_prog_cc_g=3Dno @@ -3202,159 +3615,212 @@ else /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=3Dyes -else +else $as_nop CFLAGS=3D"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : =20 -else +else $as_nop ac_c_werror_flag=3D$ac_save_c_werror_flag CFLAGS=3D"-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=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 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=3D$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" =3D set; then - CFLAGS=3D$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g =3D yes; then - if test "$GCC" =3D yes; then - CFLAGS=3D"-g -O2" - else - CFLAGS=3D"-g" - fi -else - if test "$GCC" =3D yes; then - CFLAGS=3D"-O2" - else - CFLAGS=3D - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept= ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=3Dno -ac_save_CC=3D$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -struct stat; -/* 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 =3D 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'!=3D'x' always comes out true, for an - array size at least. It's necessary to write '\x00'=3D=3D0 to get some= thing - that's true only with -std. */ -int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parame= ters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) =3D=3D '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 () +main (void) { -return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; + ; return 0; } _ACEOF -for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_g=3Dyes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_c_werror_flag=3D$ac_save_c_werror_flag +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then + CFLAGS=3D$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g =3D yes; then + if test "$GCC" =3D yes; then + CFLAGS=3D"-g -O2" + else + CFLAGS=3D"-g" + fi +else + if test "$GCC" =3D yes; then + CFLAGS=3D"-O2" + else + CFLAGS=3D + fi +fi +ac_prog_cc_stdc=3Dno +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=3Dgnu11 +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c11" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=3Dc11 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=3Dgnu99 -std=3Dc99 -c99 -qlanglvl=3Dextc1x -qlanglvl= =3Dextc99 -AC99 -D_STDC_C99=3D +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c99" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=3Dc99 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c89=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c89_program +_ACEOF +for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std -Ae "-Aa -D_HPUX= _SOURCE" "-Xc -D__EXTENSIONS__" do CC=3D"$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=3D$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" !=3D "xno" && break done rm -f conftest.$ac_ext CC=3D$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC=3D"$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >= &5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" !=3D xno; then : =20 +if test "x$ac_cv_prog_cc_c89" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=3Dc89 +fi fi =20 ac_ext=3Dc @@ -3365,17 +3831,19 @@ ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 =20 # Check whether --enable-largefile was given. -if test "${enable_largefile+set}" =3D set; then : +if test ${enable_largefile+y} +then : enableval=3D$enable_largefile; fi =20 if test "$enable_largefile" !=3D no; then =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler= options needed for large files" >&5 -$as_echo_n "checking for special C compiler options needed for large files= ... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C com= piler options needed for large files" >&5 +printf %s "checking for special C compiler options needed for large files.= .. " >&6; } +if test ${ac_cv_sys_largefile_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_sys_largefile_CC=3Dno if test "$GCC" !=3D yes; then ac_save_CC=3D$CC @@ -3389,44 +3857,47 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) <<= 31)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 =3D=3D 721 && LARGE_OFF_T % 2147483647 =3D=3D 1) ? 1 : -1]; int -main () +main (void) { =20 ; return 0; } _ACEOF - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : break fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam CC=3D"$CC -n32" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_largefile_CC=3D' -n32'; break fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam break done CC=3D$ac_save_CC rm -f conftest.$ac_ext fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" = >&5 -$as_echo "$ac_cv_sys_largefile_CC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile= _CC" >&5 +printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" !=3D no; then CC=3D$CC$ac_cv_sys_largefile_CC fi =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS = value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files...= " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_= BITS value needed for large files" >&5 +printf %s "checking for _FILE_OFFSET_BITS value needed for large files... = " >&6; } +if test ${ac_cv_sys_file_offset_bits+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3435,22 +3906,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) <<= 31)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 =3D=3D 721 && LARGE_OFF_T % 2147483647 =3D=3D 1) ? 1 : -1]; int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=3Dno; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 @@ -3459,43 +3931,43 @@ rm -f core conftest.err conftest.$ac_objext conftes= t.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) <<= 31)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 =3D=3D 721 && LARGE_OFF_T % 2147483647 =3D=3D 1) ? 1 : -1]; int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=3D64; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_file_offset_bits=3Dunknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bi= ts" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offs= et_bits" >&5 +printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF +printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>co= nfdefs.h ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits =3D unknown; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES val= ue needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&= 6; } -if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILE= S value needed for large files" >&5 +printf %s "checking for _LARGE_FILES value needed for large files... " >&6= ; } +if test ${ac_cv_sys_large_files+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3504,22 +3976,23 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) <<= 31)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 =3D=3D 721 && LARGE_OFF_T % 2147483647 =3D=3D 1) ? 1 : -1]; int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=3Dno; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 @@ -3528,40 +4001,37 @@ rm -f core conftest.err conftest.$ac_objext conftes= t.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) <<= 31)) +#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 =3D=3D 721 && LARGE_OFF_T % 2147483647 =3D=3D 1) ? 1 : -1]; int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=3D1; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_sys_large_files=3Dunknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >= &5 -$as_echo "$ac_cv_sys_large_files" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_fil= es" >&5 +printf "%s\n" "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF +printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h ;; esac rm -rf conftest* fi - - fi =20 =20 @@ -3919,16 +4389,15 @@ CONFIG_DIR=3D$sysconfdir XEN_CONFIG_DIR=3D$CONFIG_DIR/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_CONFIG_DIR "$XEN_CONFIG_DIR" -_ACEOF +printf "%s\n" "#define XEN_CONFIG_DIR \"$XEN_CONFIG_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-initddir was given. -if test "${with_initddir+set}" =3D set; then : +if test ${with_initddir+y} +then : withval=3D$with_initddir; initddir_path=3D$withval -else +else $as_nop case "$host_os" in *linux*) if test -d $sysconfdir/rc.d/init.d ; then @@ -3946,9 +4415,10 @@ fi =20 =20 # Check whether --with-sysconfig-leaf-dir was given. -if test "${with_sysconfig_leaf_dir+set}" =3D set; then : +if test ${with_sysconfig_leaf_dir+y} +then : withval=3D$with_sysconfig_leaf_dir; config_leaf_dir=3D$withval -else +else $as_nop config_leaf_dir=3Dsysconfig if test ! -d /etc/sysconfig ; then config_leaf_dir=3Ddefault ; fi fi @@ -3958,52 +4428,55 @@ CONFIG_LEAF_DIR=3D$config_leaf_dir =20 =20 # Check whether --with-libexec-leaf-dir was given. -if test "${with_libexec_leaf_dir+set}" =3D set; then : +if test ${with_libexec_leaf_dir+y} +then : withval=3D$with_libexec_leaf_dir; libexec_subdir=3D$withval -else +else $as_nop libexec_subdir=3D$PACKAGE_TARNAME fi =20 =20 =20 # Check whether --with-xen-scriptdir was given. -if test "${with_xen_scriptdir+set}" =3D set; then : +if test ${with_xen_scriptdir+y} +then : withval=3D$with_xen_scriptdir; xen_scriptdir_path=3D$withval -else +else $as_nop xen_scriptdir_path=3D$XEN_CONFIG_DIR/scripts fi =20 XEN_SCRIPT_DIR=3D$xen_scriptdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_SCRIPT_DIR "$XEN_SCRIPT_DIR" -_ACEOF +printf "%s\n" "#define XEN_SCRIPT_DIR \"$XEN_SCRIPT_DIR\"" >>confdefs.h =20 =20 =20 # Check whether --with-xen-dumpdir was given. -if test "${with_xen_dumpdir+set}" =3D set; then : +if test ${with_xen_dumpdir+y} +then : withval=3D$with_xen_dumpdir; xen_dumpdir_path=3D$withval -else +else $as_nop xen_dumpdir_path=3D$localstatedir/lib/xen/dump fi =20 =20 =20 # Check whether --with-rundir was given. -if test "${with_rundir+set}" =3D set; then : +if test ${with_rundir+y} +then : withval=3D$with_rundir; rundir_path=3D$withval -else +else $as_nop rundir_path=3D$localstatedir/run fi =20 =20 =20 # Check whether --with-debugdir was given. -if test "${with_debugdir+set}" =3D set; then : +if test ${with_debugdir+y} +then : withval=3D$with_debugdir; debugdir_path=3D$withval -else +else $as_nop debugdir_path=3D$prefix/lib/debug fi =20 @@ -4022,9 +4495,7 @@ LIBEXEC=3D`eval echo $libexecdir/$libexec_subdir` LIBEXEC_BIN=3D${LIBEXEC}/bin =20 =20 -cat >>confdefs.h <<_ACEOF -#define LIBEXEC_BIN "$LIBEXEC_BIN" -_ACEOF +printf "%s\n" "#define LIBEXEC_BIN \"$LIBEXEC_BIN\"" >>confdefs.h =20 LIBEXEC_LIB=3D${LIBEXEC}/lib =20 @@ -4033,41 +4504,31 @@ LIBEXEC_INC=3D${LIBEXEC}/include XENFIRMWAREDIR=3D${LIBEXEC}/boot =20 =20 -cat >>confdefs.h <<_ACEOF -#define XENFIRMWAREDIR "$XENFIRMWAREDIR" -_ACEOF +printf "%s\n" "#define XENFIRMWAREDIR \"$XENFIRMWAREDIR\"" >>confdefs.h =20 =20 XEN_RUN_DIR=3D$rundir_path/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_DIR "$XEN_RUN_DIR" -_ACEOF +printf "%s\n" "#define XEN_RUN_DIR \"$XEN_RUN_DIR\"" >>confdefs.h =20 =20 XEN_LOG_DIR=3D$localstatedir/log/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOG_DIR "$XEN_LOG_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOG_DIR \"$XEN_LOG_DIR\"" >>confdefs.h =20 =20 XEN_RUN_STORED=3D$rundir_path/xenstored =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_RUN_STORED "$XEN_RUN_STORED" -_ACEOF +printf "%s\n" "#define XEN_RUN_STORED \"$XEN_RUN_STORED\"" >>confdefs.h =20 =20 XEN_LIB_DIR=3D$localstatedir/lib/xen =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LIB_DIR "$XEN_LIB_DIR" -_ACEOF +printf "%s\n" "#define XEN_LIB_DIR \"$XEN_LIB_DIR\"" >>confdefs.h =20 =20 SHAREDIR=3D$prefix/share @@ -4083,9 +4544,7 @@ case "$host_os" in esac =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_LOCK_DIR "$XEN_LOCK_DIR" -_ACEOF +printf "%s\n" "#define XEN_LOCK_DIR \"$XEN_LOCK_DIR\"" >>confdefs.h =20 =20 XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging @@ -4094,9 +4553,7 @@ XEN_PAGING_DIR=3D$localstatedir/lib/xen/xenpaging XEN_DUMP_DIR=3D$xen_dumpdir_path =20 =20 -cat >>confdefs.h <<_ACEOF -#define XEN_DUMP_DIR "$XEN_DUMP_DIR" -_ACEOF +printf "%s\n" "#define XEN_DUMP_DIR \"$XEN_DUMP_DIR\"" >>confdefs.h =20 =20 DEBUG_DIR=3D$debugdir_path @@ -4106,20 +4563,24 @@ DEBUG_DIR=3D$debugdir_path # Enable/disable options =20 # Check whether --enable-werror was given. -if test "${enable_werror+set}" =3D set; then : +if test ${enable_werror+y} +then : enableval=3D$enable_werror; fi =20 =20 -if test "x$enable_werror" =3D "xno"; then : +if test "x$enable_werror" =3D "xno" +then : =20 ax_cv_werror=3D"n" =20 -elif test "x$enable_werror" =3D "xyes"; then : +elif test "x$enable_werror" =3D "xyes" +then : =20 ax_cv_werror=3D"y" =20 -elif test -z $ax_cv_werror; then : +elif test -z $ax_cv_werror +then : =20 ax_cv_werror=3D"y" =20 @@ -4129,20 +4590,24 @@ werror=3D$ax_cv_werror =20 =20 # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" =3D set; then : +if test ${enable_rpath+y} +then : enableval=3D$enable_rpath; fi =20 =20 -if test "x$enable_rpath" =3D "xno"; then : +if test "x$enable_rpath" =3D "xno" +then : =20 ax_cv_rpath=3D"n" =20 -elif test "x$enable_rpath" =3D "xyes"; then : +elif test "x$enable_rpath" =3D "xyes" +then : =20 ax_cv_rpath=3D"y" =20 -elif test -z $ax_cv_rpath; then : +elif test -z $ax_cv_rpath +then : =20 ax_cv_rpath=3D"n" =20 @@ -4152,20 +4617,24 @@ rpath=3D$ax_cv_rpath =20 =20 # Check whether --enable-monitors was given. -if test "${enable_monitors+set}" =3D set; then : +if test ${enable_monitors+y} +then : enableval=3D$enable_monitors; fi =20 =20 -if test "x$enable_monitors" =3D "xno"; then : +if test "x$enable_monitors" =3D "xno" +then : =20 ax_cv_monitors=3D"n" =20 -elif test "x$enable_monitors" =3D "xyes"; then : +elif test "x$enable_monitors" =3D "xyes" +then : =20 ax_cv_monitors=3D"y" =20 -elif test -z $ax_cv_monitors; then : +elif test -z $ax_cv_monitors +then : =20 ax_cv_monitors=3D"y" =20 @@ -4175,20 +4644,24 @@ monitors=3D$ax_cv_monitors =20 =20 # Check whether --enable-ocamltools was given. -if test "${enable_ocamltools+set}" =3D set; then : +if test ${enable_ocamltools+y} +then : enableval=3D$enable_ocamltools; fi =20 =20 -if test "x$enable_ocamltools" =3D "xno"; then : +if test "x$enable_ocamltools" =3D "xno" +then : =20 ax_cv_ocamltools=3D"n" =20 -elif test "x$enable_ocamltools" =3D "xyes"; then : +elif test "x$enable_ocamltools" =3D "xyes" +then : =20 ax_cv_ocamltools=3D"y" =20 -elif test -z $ax_cv_ocamltools; then : +elif test -z $ax_cv_ocamltools +then : =20 ax_cv_ocamltools=3D"y" =20 @@ -4198,20 +4671,24 @@ ocamltools=3D$ax_cv_ocamltools =20 =20 # Check whether --enable-xsmpolicy was given. -if test "${enable_xsmpolicy+set}" =3D set; then : +if test ${enable_xsmpolicy+y} +then : enableval=3D$enable_xsmpolicy; fi =20 =20 -if test "x$enable_xsmpolicy" =3D "xno"; then : +if test "x$enable_xsmpolicy" =3D "xno" +then : =20 ax_cv_xsmpolicy=3D"n" =20 -elif test "x$enable_xsmpolicy" =3D "xyes"; then : +elif test "x$enable_xsmpolicy" =3D "xyes" +then : =20 ax_cv_xsmpolicy=3D"y" =20 -elif test -z $ax_cv_xsmpolicy; then : +elif test -z $ax_cv_xsmpolicy +then : =20 ax_cv_xsmpolicy=3D"y" =20 @@ -4221,20 +4698,24 @@ xsmpolicy=3D$ax_cv_xsmpolicy =20 =20 # Check whether --enable-ovmf was given. -if test "${enable_ovmf+set}" =3D set; then : +if test ${enable_ovmf+y} +then : enableval=3D$enable_ovmf; fi =20 =20 -if test "x$enable_ovmf" =3D "xno"; then : +if test "x$enable_ovmf" =3D "xno" +then : =20 ax_cv_ovmf=3D"n" =20 -elif test "x$enable_ovmf" =3D "xyes"; then : +elif test "x$enable_ovmf" =3D "xyes" +then : =20 ax_cv_ovmf=3D"y" =20 -elif test -z $ax_cv_ovmf; then : +elif test -z $ax_cv_ovmf +then : =20 ax_cv_ovmf=3D"n" =20 @@ -4244,20 +4725,24 @@ ovmf=3D$ax_cv_ovmf =20 =20 # Check whether --enable-seabios was given. -if test "${enable_seabios+set}" =3D set; then : +if test ${enable_seabios+y} +then : enableval=3D$enable_seabios; fi =20 =20 -if test "x$enable_seabios" =3D "xno"; then : +if test "x$enable_seabios" =3D "xno" +then : =20 ax_cv_seabios=3D"n" =20 -elif test "x$enable_seabios" =3D "xyes"; then : +elif test "x$enable_seabios" =3D "xyes" +then : =20 ax_cv_seabios=3D"y" =20 -elif test -z $ax_cv_seabios; then : +elif test -z $ax_cv_seabios +then : =20 ax_cv_seabios=3D"y" =20 @@ -4267,20 +4752,24 @@ seabios=3D$ax_cv_seabios =20 =20 # Check whether --enable-golang was given. -if test "${enable_golang+set}" =3D set; then : +if test ${enable_golang+y} +then : enableval=3D$enable_golang; fi =20 =20 -if test "x$enable_golang" =3D "xno"; then : +if test "x$enable_golang" =3D "xno" +then : =20 ax_cv_golang=3D"n" =20 -elif test "x$enable_golang" =3D "xyes"; then : +elif test "x$enable_golang" =3D "xyes" +then : =20 ax_cv_golang=3D"y" =20 -elif test -z $ax_cv_golang; then : +elif test -z $ax_cv_golang +then : =20 ax_cv_golang=3D"y" =20 @@ -4290,20 +4779,24 @@ golang=3D$ax_cv_golang =20 =20 # Check whether --enable-pygrub was given. -if test "${enable_pygrub+set}" =3D set; then : +if test ${enable_pygrub+y} +then : enableval=3D$enable_pygrub; fi =20 =20 -if test "x$enable_pygrub" =3D "xno"; then : +if test "x$enable_pygrub" =3D "xno" +then : =20 ax_cv_pygrub=3D"n" =20 -elif test "x$enable_pygrub" =3D "xyes"; then : +elif test "x$enable_pygrub" =3D "xyes" +then : =20 ax_cv_pygrub=3D"y" =20 -elif test -z $ax_cv_pygrub; then : +elif test -z $ax_cv_pygrub +then : =20 ax_cv_pygrub=3D"y" =20 @@ -4314,9 +4807,10 @@ pygrub=3D$ax_cv_pygrub =20 =20 # Check whether --with-linux-backend-modules was given. -if test "${with_linux_backend_modules+set}" =3D set; then : +if test ${with_linux_backend_modules+y} +then : withval=3D$with_linux_backend_modules; LINUX_BACKEND_MODULES=3D"$withval" -else +else $as_nop case "$host_os" in *linux*) LINUX_BACKEND_MODULES=3D" @@ -4346,17 +4840,19 @@ LINUX_BACKEND_MODULES=3D"`eval echo $LINUX_BACKEND_= MODULES`" =20 =20 # Check whether --enable-qemu-traditional was given. -if test "${enable_qemu_traditional+set}" =3D set; then : +if test ${enable_qemu_traditional+y} +then : enableval=3D$enable_qemu_traditional; fi =20 -if test "x$enable_qemu_traditional" =3D "xyes"; then : +if test "x$enable_qemu_traditional" =3D "xyes" +then : =20 =20 -$as_echo "#define HAVE_QEMU_TRADITIONAL 1" >>confdefs.h +printf "%s\n" "#define HAVE_QEMU_TRADITIONAL 1" >>confdefs.h =20 qemu_traditional=3Dy -else +else $as_nop =20 qemu_traditional=3Dn =20 @@ -4364,15 +4860,17 @@ fi =20 =20 # Check whether --enable-ipxe was given. -if test "${enable_ipxe+set}" =3D set; then : +if test ${enable_ipxe+y} +then : enableval=3D$enable_ipxe; -else +else $as_nop =20 - if test "x$enable_qemu_traditional" =3D "xyes"; then : + if test "x$enable_qemu_traditional" =3D "xyes" +then : =20 enable_ipxe=3D"yes" =20 -else +else $as_nop =20 enable_ipxe=3D"no" =20 @@ -4380,14 +4878,16 @@ fi =20 fi =20 -if test "x$enable_ipxe" =3D "xno"; then : +if test "x$enable_ipxe" =3D "xno" +then : ipxe=3Dn -else +else $as_nop ipxe=3Dy fi =20 # Check whether --with-system-ipxe was given. -if test "${with_system_ipxe+set}" =3D set; then : +if test ${with_system_ipxe+y} +then : withval=3D$with_system_ipxe; case $withval in no) as_fn_error $? "--without-system-ipxe has no effect" "$LINENO"= 5 ;; @@ -4397,27 +4897,28 @@ if test "${with_system_ipxe+set}" =3D set; then : =20 fi =20 -if test "x$ipxe" =3D "xy" -o -n "$ipxe_path" ; then : +if test "x$ipxe" =3D "xy" -o -n "$ipxe_path" +then : =20 =20 -cat >>confdefs.h <<_ACEOF -#define IPXE_PATH "${ipxe_path:-$XENFIRMWAREDIR/ipxe.bin}" -_ACEOF +printf "%s\n" "#define IPXE_PATH \"${ipxe_path:-$XENFIRMWAREDIR/ipxe.bin}\= "" >>confdefs.h =20 =20 fi =20 =20 # Check whether --enable-rombios was given. -if test "${enable_rombios+set}" =3D set; then : +if test ${enable_rombios+y} +then : enableval=3D$enable_rombios; -else +else $as_nop =20 - if test "x$enable_qemu_traditional" =3D "xyes" -o "x$enable_ipxe" =3D = "xyes"; then : + if test "x$enable_qemu_traditional" =3D "xyes" -o "x$enable_ipxe" =3D = "xyes" +then : =20 enable_rombios=3D"yes" =20 -else +else $as_nop =20 enable_rombios=3D"no" =20 @@ -4425,15 +4926,17 @@ fi =20 fi =20 -if test "x$enable_rombios" =3D "xyes"; then : +if test "x$enable_rombios" =3D "xyes" +then : =20 # Extract the first word of "as86", so it can be a program= name with args. set dummy as86; 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 ${ac_cv_path_AS86+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_AS86+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $AS86 in [\\/]* | ?:[\\/]*) ac_cv_path_AS86=3D"$AS86" # Let the user override the test with a path. @@ -4443,11 +4946,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_AS86=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_AS86=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4460,11 +4967,11 @@ esac fi AS86=3D$ac_cv_path_AS86 if test -n "$AS86"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS86" >&5 -$as_echo "$AS86" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS86" >&5 +printf "%s\n" "$AS86" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -4474,11 +4981,12 @@ then fi # Extract the first word of "ld86", so it can be a program name with a= rgs. set dummy ld86; 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 ${ac_cv_path_LD86+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_LD86+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $LD86 in [\\/]* | ?:[\\/]*) ac_cv_path_LD86=3D"$LD86" # Let the user override the test with a path. @@ -4488,11 +4996,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_LD86=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_LD86=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4505,11 +5017,11 @@ esac fi LD86=3D$ac_cv_path_LD86 if test -n "$LD86"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD86" >&5 -$as_echo "$LD86" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD86" >&5 +printf "%s\n" "$LD86" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -4519,11 +5031,12 @@ then fi # Extract the first word of "bcc", so it can be a program name with ar= gs. set dummy bcc; 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 ${ac_cv_path_BCC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_BCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $BCC in [\\/]* | ?:[\\/]*) ac_cv_path_BCC=3D"$BCC" # Let the user override the test with a path. @@ -4533,11 +5046,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BCC=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_BCC=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4550,11 +5067,11 @@ esac fi BCC=3D$ac_cv_path_BCC if test -n "$BCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BCC" >&5 -$as_echo "$BCC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BCC" >&5 +printf "%s\n" "$BCC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -4562,11 +5079,12 @@ if test x"${BCC}" =3D x"no" then as_fn_error $? "Unable to find bcc, please install bcc" "$LINENO" 5 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_version_num= ber in -llzma" >&5 -$as_echo_n "checking for lzma_version_number in -llzma... " >&6; } -if ${ac_cv_lib_lzma_lzma_version_number+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_versio= n_number in -llzma" >&5 +printf %s "checking for lzma_version_number in -llzma... " >&6; } +if test ${ac_cv_lib_lzma_lzma_version_number+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4575,69 +5093,69 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lzma_version_number (); int -main () +main (void) { return lzma_version_number (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_lzma_lzma_version_number=3Dyes -else +else $as_nop ac_cv_lib_lzma_lzma_version_number=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_vers= ion_number" >&5 -$as_echo "$ac_cv_lib_lzma_lzma_version_number" >&6; } -if test "x$ac_cv_lib_lzma_lzma_version_number" =3D xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBLZMA 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma= _version_number" >&5 +printf "%s\n" "$ac_cv_lib_lzma_lzma_version_number" >&6; } +if test "x$ac_cv_lib_lzma_lzma_version_number" =3D xyes +then : + printf "%s\n" "#define HAVE_LIBLZMA 1" >>confdefs.h =20 LIBS=3D"-llzma $LIBS" =20 -else +else $as_nop as_fn_error $? "Could not find lzma, needed to build rombios" "$LINENO" 5 fi =20 =20 -$as_echo "#define HAVE_ROMBIOS 1" >>confdefs.h +printf "%s\n" "#define HAVE_ROMBIOS 1" >>confdefs.h =20 rombios=3Dy -else +else $as_nop =20 rombios=3Dn =20 fi =20 =20 -if test "x$pygrub" =3D "xy"; then : +if test "x$pygrub" =3D "xy" +then : =20 =20 -$as_echo "#define HAVE_PYGRUB 1" >>confdefs.h +printf "%s\n" "#define HAVE_PYGRUB 1" >>confdefs.h =20 =20 fi =20 # Check whether --enable-libfsimage was given. -if test "${enable_libfsimage+set}" =3D set; then : +if test ${enable_libfsimage+y} +then : enableval=3D$enable_libfsimage; -else +else $as_nop =20 - if test "x$pygrub" =3D "xn"; then : + if test "x$pygrub" =3D "xn" +then : =20 enable_libfsimage=3D"no" =20 -else +else $as_nop =20 enable_libfsimage=3D"yes" =20 @@ -4645,17 +5163,19 @@ fi =20 fi =20 -if test "x$enable_libfsimage" =3D "xyes"; then : +if test "x$enable_libfsimage" =3D "xyes" +then : =20 libfsimage=3Dy =20 -else +else $as_nop =20 - if test "x$pygrub" =3D "xy"; then : + if test "x$pygrub" =3D "xy" +then : =20 as_fn_error $? "pygrub needs libfsimage" "$LINENO" 5 =20 -else +else $as_nop =20 libfsimage=3Dn =20 @@ -4666,7 +5186,8 @@ fi =20 =20 # Check whether --with-system-qemu was given. -if test "${with_system_qemu+set}" =3D set; then : +if test ${with_system_qemu+y} +then : withval=3D$with_system_qemu; case $withval in yes) @@ -4679,7 +5200,7 @@ if test "${with_system_qemu+set}" =3D set; then : qemu_xen_systemd=3D"$qemu_xen_path" ;; esac =20 -else +else $as_nop =20 case "$host_cpu" in i[3456]86|x86_64) @@ -4691,16 +5212,15 @@ else =20 fi =20 -if test "x$qemu_xen" =3D "xy"; then : +if test "x$qemu_xen" =3D "xy" +then : =20 qemu_xen_path=3D"$LIBEXEC_BIN/qemu-system-i386" qemu_xen_systemd=3D"$qemu_xen_path" =20 fi =20 -cat >>confdefs.h <<_ACEOF -#define QEMU_XEN_PATH "$qemu_xen_path" -_ACEOF +printf "%s\n" "#define QEMU_XEN_PATH \"$qemu_xen_path\"" >>confdefs.h =20 =20 =20 @@ -4708,25 +5228,25 @@ _ACEOF =20 =20 # Check whether --with-stubdom-qmp-proxy was given. -if test "${with_stubdom_qmp_proxy+set}" =3D set; then : +if test ${with_stubdom_qmp_proxy+y} +then : withval=3D$with_stubdom_qmp_proxy; stubdom_qmp_proxy=3D"$withval" =20 -else +else $as_nop =20 stubdom_qmp_proxy=3D"$bindir/vchan-socket-proxy" =20 fi =20 =20 -cat >>confdefs.h <<_ACEOF -#define STUBDOM_QMP_PROXY_PATH "$stubdom_qmp_proxy" -_ACEOF +printf "%s\n" "#define STUBDOM_QMP_PROXY_PATH \"$stubdom_qmp_proxy\"" >>co= nfdefs.h =20 =20 =20 # Check whether --with-system-seabios was given. -if test "${with_system_seabios+set}" =3D set; then : +if test ${with_system_seabios+y} +then : withval=3D$with_system_seabios; # Disable compilation of SeaBIOS. seabios=3Dn @@ -4738,19 +5258,19 @@ if test "${with_system_seabios+set}" =3D set; then : =20 fi =20 -if test "x$seabios" =3D "xy" -o -n "$seabios_path" ; then : +if test "x$seabios" =3D "xy" -o -n "$seabios_path" +then : =20 =20 -cat >>confdefs.h <<_ACEOF -#define SEABIOS_PATH "${seabios_path:-$XENFIRMWAREDIR/seabios.bin}" -_ACEOF +printf "%s\n" "#define SEABIOS_PATH \"${seabios_path:-$XENFIRMWAREDIR/seab= ios.bin}\"" >>confdefs.h =20 =20 fi =20 =20 # Check whether --with-system-ovmf was given. -if test "${with_system_ovmf+set}" =3D set; then : +if test ${with_system_ovmf+y} +then : withval=3D$with_system_ovmf; # Disable compilation of OVMF. ovmf=3Dn @@ -4762,19 +5282,19 @@ if test "${with_system_ovmf+set}" =3D set; then : =20 fi =20 -if test "x$ovmf" =3D "xy" -o -n "$ovmf_path" ; then : +if test "x$ovmf" =3D "xy" -o -n "$ovmf_path" +then : =20 =20 -cat >>confdefs.h <<_ACEOF -#define OVMF_PATH "${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}" -_ACEOF +printf "%s\n" "#define OVMF_PATH \"${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}\= "" >>confdefs.h =20 =20 fi =20 =20 # Check whether --with-extra-qemuu-configure-args was given. -if test "${with_extra_qemuu_configure_args+set}" =3D set; then : +if test ${with_extra_qemuu_configure_args+y} +then : withval=3D$with_extra_qemuu_configure_args; case $withval in no) EXTRA_QEMUU_CONFIGURE_ARGS=3D ;; @@ -4832,11 +5352,12 @@ ac_compiler_gnu=3D$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 progr= am name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -4844,11 +5365,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4859,11 +5384,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -4872,11 +5397,12 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=3D$CC # Extract the first word of "gcc", so it can be a program name with args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -4884,11 +5410,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4899,11 +5429,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_CC" =3D x; then @@ -4911,8 +5441,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC @@ -4925,11 +5455,12 @@ 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 prog= ram name with args. 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 ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -4937,11 +5468,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -4952,11 +5487,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -4965,11 +5500,12 @@ 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -4978,15 +5514,19 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" =3D "/usr/ucb/cc"; then ac_prog_rejected=3Dyes continue fi ac_cv_prog_CC=3D"cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5002,18 +5542,18 @@ if test $ac_prog_rejected =3D yes; then # 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=3D"$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC=3D"$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5024,11 +5564,12 @@ if test -z "$CC"; then 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=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC=3D"$CC" # Let the user override the test. else @@ -5036,11 +5577,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC=3D"$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5051,11 +5596,11 @@ fi fi CC=3D$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5068,11 +5613,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. else @@ -5080,11 +5626,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5095,11 +5645,11 @@ fi fi ac_ct_CC=3D$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5111,34 +5661,138 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} +ac_tool_warned=3Dyes ;; +esac + CC=3D$ac_ct_CC + fi +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a pro= gram name with args. +set dummy ${ac_tool_prefix}clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC=3D"$CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC=3D"${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS + +fi +fi +CC=3D$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=3D$CC + # Extract the first word of "clang", so it can be a program name with ar= gs. +set dummy clang; ac_word=3D$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC=3D"$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=3D$as_save_IFS + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC=3D"clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 + break 2 + fi +done + done +IFS=3D$as_save_IFS + +fi +fi +ac_ct_CC=3D$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + if test "x$ac_ct_CC" =3D x; then + CC=3D"" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CC=3D$ac_ct_CC fi +else + CC=3D"$ac_cv_prog_CC" fi =20 fi =20 =20 -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$a= c_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in= \`$ac_pwd':" >&5 +printf "%s\n" "$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; } =20 # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler versio= n" >&5 set X $ac_compile ac_compiler=3D$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try=3D"$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=3D\$ac_try;; *) ac_try_echo=3D$ac_try;; esac eval ac_try_echo=3D"\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=3D$? if test -s conftest.err; then @@ -5148,20 +5802,21 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; } done =20 -{ $as_echo "$as_me:${as_lineno-$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 ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compile= r supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { #ifndef __GNUC__ choke me @@ -5171,29 +5826,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=3Dyes -else +else $as_nop ac_compiler_gnu=3Dno fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=3D$ac_compiler_gnu =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gn= u" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=3D$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu =3D yes; then GCC=3Dyes else GCC=3D fi -ac_test_CFLAGS=3D${CFLAGS+set} +ac_test_CFLAGS=3D${CFLAGS+y} 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 ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts= -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=3D$ac_c_werror_flag ac_c_werror_flag=3Dyes ac_cv_prog_cc_g=3Dno @@ -5202,57 +5861,60 @@ else /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=3Dyes -else +else $as_nop CFLAGS=3D"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : =20 -else +else $as_nop ac_c_werror_flag=3D$ac_save_c_werror_flag CFLAGS=3D"-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=3Dyes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=3D$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" =3D set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then CFLAGS=3D$ac_save_CFLAGS elif test $ac_cv_prog_cc_g =3D yes; then if test "$GCC" =3D yes; then @@ -5267,94 +5929,144 @@ else CFLAGS=3D fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept= ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=3Dno +ac_prog_cc_stdc=3Dno +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=3Dno ac_save_CC=3D$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -struct stat; -/* 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 =3D 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'!=3D'x' always comes out true, for an - array size at least. It's necessary to write '\x00'=3D=3D0 to get some= thing - that's true only with -std. */ -int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=3Dgnu11 +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi =20 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parame= ters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; +if test "x$ac_cv_prog_cc_c11" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=3Dc11 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=3Dgnu99 -std=3Dc99 -c99 -qlanglvl=3Dextc1x -qlanglvl= =3Dextc99 -AC99 -D_STDC_C99=3D +do + CC=3D"$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=3D$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" !=3D "xno" && break +done +rm -f conftest.$ac_ext +CC=3D$ac_save_CC +fi =20 -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) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; - ; - return 0; -} +if test "x$ac_cv_prog_cc_c99" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=3Dc99 +fi +fi +if test x$ac_prog_cc_stdc =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to= enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c89=3Dno +ac_save_CC=3D$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c89_program _ACEOF -for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +for ac_arg in '' -qlanglvl=3Dextc89 -qlanglvl=3Dansi -std -Ae "-Aa -D_HPUX= _SOURCE" "-Xc -D__EXTENSIONS__" do CC=3D"$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=3D$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" !=3D "xno" && break done rm -f conftest.$ac_ext CC=3D$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC=3D"$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >= &5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" !=3D xno; then : =20 +if test "x$ac_cv_prog_cc_c89" =3D xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" =3D x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89= " >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC=3D"$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=3D$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=3Dc89 +fi fi =20 ac_ext=3Dc @@ -5363,13 +6075,14 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac= _ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} set= s \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make= } sets \$(MAKE)" >&5 +printf %s "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 \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=3D`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL =3D /bin/sh all: @@ -5385,16 +6098,17 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE=3D else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE=3D"MAKE=3D${MAKE-make}" fi =20 -# Find a good install program. We prefer a C program (faster), + + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -5408,20 +6122,25 @@ fi # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible ins= tall" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatibl= e install" >&5 +printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + # Account for fact that we put trailing slashes in our PATH walk. +case $as_dir in #(( + ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -5431,13 +6150,13 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog =3D install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog =3D install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -5445,12 +6164,12 @@ case $as_dir/ in #(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`= /conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/= conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install=3D"$as_dir/$ac_prog$ac_exec_ext -c" + ac_cv_path_install=3D"$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -5466,7 +6185,7 @@ IFS=3D$as_save_IFS rm -rf conftest.one conftest.two conftest.dir =20 fi - if test "${ac_cv_path_install+set}" =3D set; then + if test ${ac_cv_path_install+y}; then INSTALL=3D$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -5476,8 +6195,8 @@ fi INSTALL=3D$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } =20 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -5489,11 +6208,12 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=3D'${INSTAL= L} -m 644' =20 # Extract the first word of "flex", so it can be a program name with args. set dummy flex; 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 ${ac_cv_path_FLEX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FLEX+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FLEX in [\\/]* | ?:[\\/]*) ac_cv_path_FLEX=3D"$FLEX" # Let the user override the test with a path. @@ -5503,11 +6223,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FLEX=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FLEX=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5519,21 +6243,22 @@ esac fi FLEX=3D$ac_cv_path_FLEX if test -n "$FLEX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5 -$as_echo "$FLEX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5 +printf "%s\n" "$FLEX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 # Extract the first word of "abi-dumper", so it can be a program name with= args. set dummy abi-dumper; 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 ${ac_cv_path_ABI_DUMPER+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ABI_DUMPER+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ABI_DUMPER in [\\/]* | ?:[\\/]*) ac_cv_path_ABI_DUMPER=3D"$ABI_DUMPER" # Let the user override the test w= ith a path. @@ -5543,11 +6268,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ABI_DUMPER=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ABI_DUMPER=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5559,21 +6288,22 @@ esac fi ABI_DUMPER=3D$ac_cv_path_ABI_DUMPER if test -n "$ABI_DUMPER"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABI_DUMPER" >&5 -$as_echo "$ABI_DUMPER" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ABI_DUMPER" >&5 +printf "%s\n" "$ABI_DUMPER" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 # Extract the first word of "perl", so it can be a program name with args. 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 ${ac_cv_path_PERL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PERL+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL=3D"$PERL" # Let the user override the test with a path. @@ -5583,11 +6313,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PERL=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PERL=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5600,11 +6334,11 @@ esac fi PERL=3D$ac_cv_path_PERL if test -n "$PERL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 -$as_echo "$PERL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +printf "%s\n" "$PERL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5614,11 +6348,12 @@ then fi # Extract the first word of "awk", so it can be a program name with args. set dummy awk; 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 ${ac_cv_path_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $AWK in [\\/]* | ?:[\\/]*) ac_cv_path_AWK=3D"$AWK" # Let the user override the test with a path. @@ -5628,11 +6363,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_AWK=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_AWK=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5645,11 +6384,11 @@ esac fi AWK=3D$ac_cv_path_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5662,11 +6401,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a pr= ogram name with args. 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 ${ac_cv_prog_OCAMLC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLC"; then ac_cv_prog_OCAMLC=3D"$OCAMLC" # Let the user override the test. else @@ -5674,11 +6414,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLC=3D"${ac_tool_prefix}ocamlc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5689,11 +6433,11 @@ fi fi OCAMLC=3D$ac_cv_prog_OCAMLC if test -n "$OCAMLC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5 -$as_echo "$OCAMLC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5 +printf "%s\n" "$OCAMLC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5702,11 +6446,12 @@ if test -z "$ac_cv_prog_OCAMLC"; then ac_ct_OCAMLC=3D$OCAMLC # Extract the first word of "ocamlc", so it can be a program name with a= rgs. 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 ${ac_cv_prog_ac_ct_OCAMLC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLC"; then ac_cv_prog_ac_ct_OCAMLC=3D"$ac_ct_OCAMLC" # Let the user override the te= st. else @@ -5714,11 +6459,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLC=3D"ocamlc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5729,11 +6478,11 @@ fi fi ac_ct_OCAMLC=3D$ac_cv_prog_ac_ct_OCAMLC if test -n "$ac_ct_OCAMLC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5 -$as_echo "$ac_ct_OCAMLC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5 +printf "%s\n" "$ac_ct_OCAMLC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLC" =3D x; then @@ -5741,8 +6490,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLC=3D$ac_ct_OCAMLC @@ -5754,17 +6503,17 @@ fi =20 if test "$OCAMLC" !=3D "no"; then OCAMLVERSION=3D`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OC= AMLVERSION" >&5 -$as_echo "OCaml version is $OCAMLVERSION" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OCaml version i= s $OCAMLVERSION" >&5 +printf "%s\n" "OCaml version is $OCAMLVERSION" >&6; } # If OCAMLLIB is set, use it if test "$OCAMLLIB" =3D ""; then OCAMLLIB=3D`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -= d ' ' -f 4` else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previous= ly set; preserving it." >&5 -$as_echo "OCAMLLIB previously set; preserving it." >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB pre= viously set; preserving it." >&5 +printf "%s\n" "OCAMLLIB previously set; preserving it." >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path i= s $OCAMLLIB" >&5 -$as_echo "OCaml library path is $OCAMLLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: OCaml library p= ath is $OCAMLLIB" >&5 +printf "%s\n" "OCaml library path is $OCAMLLIB" >&6; } =20 =20 =20 @@ -5773,11 +6522,12 @@ $as_echo "OCaml library path is $OCAMLLIB" >&6; } if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a = program name with args. 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 ${ac_cv_prog_OCAMLOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLOPT"; then ac_cv_prog_OCAMLOPT=3D"$OCAMLOPT" # Let the user override the test. else @@ -5785,11 +6535,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLOPT=3D"${ac_tool_prefix}ocamlopt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5800,11 +6554,11 @@ fi fi OCAMLOPT=3D$ac_cv_prog_OCAMLOPT if test -n "$OCAMLOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5 -$as_echo "$OCAMLOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5 +printf "%s\n" "$OCAMLOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5813,11 +6567,12 @@ if test -z "$ac_cv_prog_OCAMLOPT"; then ac_ct_OCAMLOPT=3D$OCAMLOPT # Extract the first word of "ocamlopt", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLOPT"; then ac_cv_prog_ac_ct_OCAMLOPT=3D"$ac_ct_OCAMLOPT" # Let the user override th= e test. else @@ -5825,11 +6580,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLOPT=3D"ocamlopt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5840,11 +6599,11 @@ fi fi ac_ct_OCAMLOPT=3D$ac_cv_prog_ac_ct_OCAMLOPT if test -n "$ac_ct_OCAMLOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5 -$as_echo "$ac_ct_OCAMLOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >= &5 +printf "%s\n" "$ac_ct_OCAMLOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLOPT" =3D x; then @@ -5852,8 +6611,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLOPT=3D$ac_ct_OCAMLOPT @@ -5864,13 +6623,13 @@ fi =20 OCAMLBEST=3Dbyte if test "$OCAMLOPT" =3D "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; b= ytecode compilation only." >&5 -$as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only= ." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlo= pt; bytecode compilation only." >&5 +printf "%s\n" "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation= only." >&2;} else TMPVERSION=3D`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` if test "$TMPVERSION" !=3D "$OCAMLVERSION" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs fro= m ocamlc; ocamlopt discarded." >&5 -$as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: versions differ= s from ocamlc; ocamlopt discarded." >&5 +printf "%s\n" "versions differs from ocamlc; ocamlopt discarded." >&6; } OCAMLOPT=3Dno else OCAMLBEST=3Dopt @@ -5883,11 +6642,12 @@ $as_echo "versions differs from ocamlc; ocamlopt di= scarded." >&6; } if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be = a program name with args. 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 ${ac_cv_prog_OCAMLCDOTOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLCDOTOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLCDOTOPT"; then ac_cv_prog_OCAMLCDOTOPT=3D"$OCAMLCDOTOPT" # Let the user override the te= st. else @@ -5895,11 +6655,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLCDOTOPT=3D"${ac_tool_prefix}ocamlc.opt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5910,11 +6674,11 @@ fi fi OCAMLCDOTOPT=3D$ac_cv_prog_OCAMLCDOTOPT if test -n "$OCAMLCDOTOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5 -$as_echo "$OCAMLCDOTOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5 +printf "%s\n" "$OCAMLCDOTOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -5923,11 +6687,12 @@ if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then ac_ct_OCAMLCDOTOPT=3D$OCAMLCDOTOPT # Extract the first word of "ocamlc.opt", so it can be a program name wi= th args. 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 ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLCDOTOPT"; then ac_cv_prog_ac_ct_OCAMLCDOTOPT=3D"$ac_ct_OCAMLCDOTOPT" # Let the user ove= rride the test. else @@ -5935,11 +6700,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLCDOTOPT=3D"ocamlc.opt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -5950,11 +6719,11 @@ fi fi ac_ct_OCAMLCDOTOPT=3D$ac_cv_prog_ac_ct_OCAMLCDOTOPT if test -n "$ac_ct_OCAMLCDOTOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5 -$as_echo "$ac_ct_OCAMLCDOTOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOP= T" >&5 +printf "%s\n" "$ac_ct_OCAMLCDOTOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLCDOTOPT" =3D x; then @@ -5962,8 +6731,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLCDOTOPT=3D$ac_ct_OCAMLCDOTOPT @@ -5975,8 +6744,8 @@ fi if test "$OCAMLCDOTOPT" !=3D "no"; then TMPVERSION=3D`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` if test "$TMPVERSION" !=3D "$OCAMLVERSION" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs fro= m ocamlc; ocamlc.opt discarded." >&5 -$as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: versions differ= s from ocamlc; ocamlc.opt discarded." >&5 +printf "%s\n" "versions differs from ocamlc; ocamlc.opt discarded." >&6; } else OCAMLC=3D$OCAMLCDOTOPT fi @@ -5987,11 +6756,12 @@ $as_echo "versions differs from ocamlc; ocamlc.opt = discarded." >&6; } if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can b= e a program name with args. 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 ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLOPTDOTOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLOPTDOTOPT"; then ac_cv_prog_OCAMLOPTDOTOPT=3D"$OCAMLOPTDOTOPT" # Let the user override th= e test. else @@ -5999,11 +6769,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLOPTDOTOPT=3D"${ac_tool_prefix}ocamlopt.opt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6014,11 +6788,11 @@ fi fi OCAMLOPTDOTOPT=3D$ac_cv_prog_OCAMLOPTDOTOPT if test -n "$OCAMLOPTDOTOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5 -$as_echo "$OCAMLOPTDOTOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >= &5 +printf "%s\n" "$OCAMLOPTDOTOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6027,11 +6801,12 @@ if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then ac_ct_OCAMLOPTDOTOPT=3D$OCAMLOPTDOTOPT # Extract the first word of "ocamlopt.opt", so it can be a program name = with args. 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 ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLOPTDOTOPT"; then ac_cv_prog_ac_ct_OCAMLOPTDOTOPT=3D"$ac_ct_OCAMLOPTDOTOPT" # Let the user= override the test. else @@ -6039,11 +6814,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLOPTDOTOPT=3D"ocamlopt.opt" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6054,11 +6833,11 @@ fi fi ac_ct_OCAMLOPTDOTOPT=3D$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT if test -n "$ac_ct_OCAMLOPTDOTOPT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" = >&5 -$as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOT= OPT" >&5 +printf "%s\n" "$ac_ct_OCAMLOPTDOTOPT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLOPTDOTOPT" =3D x; then @@ -6066,8 +6845,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLOPTDOTOPT=3D$ac_ct_OCAMLOPTDOTOPT @@ -6079,8 +6858,8 @@ fi if test "$OCAMLOPTDOTOPT" !=3D "no"; then TMPVERSION=3D`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1= |p' ` if test "$TMPVERSION" !=3D "$OCAMLVERSION" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs fr= om ocamlc; ocamlopt.opt discarded." >&5 -$as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: version diffe= rs from ocamlc; ocamlopt.opt discarded." >&5 +printf "%s\n" "version differs from ocamlc; ocamlopt.opt discarded." >&6; } else OCAMLOPT=3D$OCAMLOPTDOTOPT fi @@ -6096,11 +6875,12 @@ $as_echo "version differs from ocamlc; ocamlopt.opt= discarded." >&6; } if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a pro= gram name with args. 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 ${ac_cv_prog_OCAML+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAML+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAML"; then ac_cv_prog_OCAML=3D"$OCAML" # Let the user override the test. else @@ -6108,11 +6888,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAML=3D"${ac_tool_prefix}ocaml" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6123,11 +6907,11 @@ fi fi OCAML=3D$ac_cv_prog_OCAML if test -n "$OCAML"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5 -$as_echo "$OCAML" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5 +printf "%s\n" "$OCAML" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6136,11 +6920,12 @@ if test -z "$ac_cv_prog_OCAML"; then ac_ct_OCAML=3D$OCAML # Extract the first word of "ocaml", so it can be a program name with ar= gs. 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 ${ac_cv_prog_ac_ct_OCAML+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAML+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAML"; then ac_cv_prog_ac_ct_OCAML=3D"$ac_ct_OCAML" # Let the user override the test. else @@ -6148,11 +6933,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAML=3D"ocaml" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6163,11 +6952,11 @@ fi fi ac_ct_OCAML=3D$ac_cv_prog_ac_ct_OCAML if test -n "$ac_ct_OCAML"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5 -$as_echo "$ac_ct_OCAML" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAML" >&5 +printf "%s\n" "$ac_ct_OCAML" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAML" =3D x; then @@ -6175,8 +6964,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAML=3D$ac_ct_OCAML @@ -6190,11 +6979,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a = program name with args. 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 ${ac_cv_prog_OCAMLDEP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLDEP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLDEP"; then ac_cv_prog_OCAMLDEP=3D"$OCAMLDEP" # Let the user override the test. else @@ -6202,11 +6992,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLDEP=3D"${ac_tool_prefix}ocamldep" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6217,11 +7011,11 @@ fi fi OCAMLDEP=3D$ac_cv_prog_OCAMLDEP if test -n "$OCAMLDEP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5 -$as_echo "$OCAMLDEP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5 +printf "%s\n" "$OCAMLDEP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6230,11 +7024,12 @@ if test -z "$ac_cv_prog_OCAMLDEP"; then ac_ct_OCAMLDEP=3D$OCAMLDEP # Extract the first word of "ocamldep", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLDEP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLDEP"; then ac_cv_prog_ac_ct_OCAMLDEP=3D"$ac_ct_OCAMLDEP" # Let the user override th= e test. else @@ -6242,11 +7037,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLDEP=3D"ocamldep" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6257,11 +7056,11 @@ fi fi ac_ct_OCAMLDEP=3D$ac_cv_prog_ac_ct_OCAMLDEP if test -n "$ac_ct_OCAMLDEP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5 -$as_echo "$ac_ct_OCAMLDEP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >= &5 +printf "%s\n" "$ac_ct_OCAMLDEP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLDEP" =3D x; then @@ -6269,8 +7068,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLDEP=3D$ac_ct_OCAMLDEP @@ -6284,11 +7083,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be = a program name with args. 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 ${ac_cv_prog_OCAMLMKTOP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLMKTOP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLMKTOP"; then ac_cv_prog_OCAMLMKTOP=3D"$OCAMLMKTOP" # Let the user override the test. else @@ -6296,11 +7096,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLMKTOP=3D"${ac_tool_prefix}ocamlmktop" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6311,11 +7115,11 @@ fi fi OCAMLMKTOP=3D$ac_cv_prog_OCAMLMKTOP if test -n "$OCAMLMKTOP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5 -$as_echo "$OCAMLMKTOP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5 +printf "%s\n" "$OCAMLMKTOP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6324,11 +7128,12 @@ if test -z "$ac_cv_prog_OCAMLMKTOP"; then ac_ct_OCAMLMKTOP=3D$OCAMLMKTOP # Extract the first word of "ocamlmktop", so it can be a program name wi= th args. 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 ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLMKTOP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLMKTOP"; then ac_cv_prog_ac_ct_OCAMLMKTOP=3D"$ac_ct_OCAMLMKTOP" # Let the user overrid= e the test. else @@ -6336,11 +7141,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLMKTOP=3D"ocamlmktop" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6351,11 +7160,11 @@ fi fi ac_ct_OCAMLMKTOP=3D$ac_cv_prog_ac_ct_OCAMLMKTOP if test -n "$ac_ct_OCAMLMKTOP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5 -$as_echo "$ac_ct_OCAMLMKTOP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP"= >&5 +printf "%s\n" "$ac_ct_OCAMLMKTOP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLMKTOP" =3D x; then @@ -6363,8 +7172,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLMKTOP=3D$ac_ct_OCAMLMKTOP @@ -6378,11 +7187,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be = a program name with args. 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 ${ac_cv_prog_OCAMLMKLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLMKLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLMKLIB"; then ac_cv_prog_OCAMLMKLIB=3D"$OCAMLMKLIB" # Let the user override the test. else @@ -6390,11 +7200,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLMKLIB=3D"${ac_tool_prefix}ocamlmklib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6405,11 +7219,11 @@ fi fi OCAMLMKLIB=3D$ac_cv_prog_OCAMLMKLIB if test -n "$OCAMLMKLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5 -$as_echo "$OCAMLMKLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5 +printf "%s\n" "$OCAMLMKLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6418,11 +7232,12 @@ if test -z "$ac_cv_prog_OCAMLMKLIB"; then ac_ct_OCAMLMKLIB=3D$OCAMLMKLIB # Extract the first word of "ocamlmklib", so it can be a program name wi= th args. 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 ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLMKLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLMKLIB"; then ac_cv_prog_ac_ct_OCAMLMKLIB=3D"$ac_ct_OCAMLMKLIB" # Let the user overrid= e the test. else @@ -6430,11 +7245,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLMKLIB=3D"ocamlmklib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6445,11 +7264,11 @@ fi fi ac_ct_OCAMLMKLIB=3D$ac_cv_prog_ac_ct_OCAMLMKLIB if test -n "$ac_ct_OCAMLMKLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5 -$as_echo "$ac_ct_OCAMLMKLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB"= >&5 +printf "%s\n" "$ac_ct_OCAMLMKLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLMKLIB" =3D x; then @@ -6457,8 +7276,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLMKLIB=3D$ac_ct_OCAMLMKLIB @@ -6472,11 +7291,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a = program name with args. 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 ${ac_cv_prog_OCAMLDOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLDOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLDOC"; then ac_cv_prog_OCAMLDOC=3D"$OCAMLDOC" # Let the user override the test. else @@ -6484,11 +7304,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLDOC=3D"${ac_tool_prefix}ocamldoc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6499,11 +7323,11 @@ fi fi OCAMLDOC=3D$ac_cv_prog_OCAMLDOC if test -n "$OCAMLDOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5 -$as_echo "$OCAMLDOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5 +printf "%s\n" "$OCAMLDOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6512,11 +7336,12 @@ if test -z "$ac_cv_prog_OCAMLDOC"; then ac_ct_OCAMLDOC=3D$OCAMLDOC # Extract the first word of "ocamldoc", so it can be a program name with= args. 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 ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLDOC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLDOC"; then ac_cv_prog_ac_ct_OCAMLDOC=3D"$ac_ct_OCAMLDOC" # Let the user override th= e test. else @@ -6524,11 +7349,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLDOC=3D"ocamldoc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6539,11 +7368,11 @@ fi fi ac_ct_OCAMLDOC=3D$ac_cv_prog_ac_ct_OCAMLDOC if test -n "$ac_ct_OCAMLDOC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5 -$as_echo "$ac_ct_OCAMLDOC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >= &5 +printf "%s\n" "$ac_ct_OCAMLDOC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLDOC" =3D x; then @@ -6551,8 +7380,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLDOC=3D$ac_ct_OCAMLDOC @@ -6566,11 +7395,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be = a program name with args. 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 ${ac_cv_prog_OCAMLBUILD+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLBUILD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLBUILD"; then ac_cv_prog_OCAMLBUILD=3D"$OCAMLBUILD" # Let the user override the test. else @@ -6578,11 +7408,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLBUILD=3D"${ac_tool_prefix}ocamlbuild" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6593,11 +7427,11 @@ fi fi OCAMLBUILD=3D$ac_cv_prog_OCAMLBUILD if test -n "$OCAMLBUILD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5 -$as_echo "$OCAMLBUILD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5 +printf "%s\n" "$OCAMLBUILD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6606,11 +7440,12 @@ if test -z "$ac_cv_prog_OCAMLBUILD"; then ac_ct_OCAMLBUILD=3D$OCAMLBUILD # Extract the first word of "ocamlbuild", so it can be a program name wi= th args. 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 ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLBUILD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLBUILD"; then ac_cv_prog_ac_ct_OCAMLBUILD=3D"$ac_ct_OCAMLBUILD" # Let the user overrid= e the test. else @@ -6618,11 +7453,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLBUILD=3D"ocamlbuild" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6633,11 +7472,11 @@ fi fi ac_ct_OCAMLBUILD=3D$ac_cv_prog_ac_ct_OCAMLBUILD if test -n "$ac_ct_OCAMLBUILD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5 -$as_echo "$ac_ct_OCAMLBUILD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD"= >&5 +printf "%s\n" "$ac_ct_OCAMLBUILD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLBUILD" =3D x; then @@ -6645,8 +7484,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLBUILD=3D$ac_ct_OCAMLBUILD @@ -6661,11 +7500,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a= program name with args. set dummy ${ac_tool_prefix}ocamlfind; 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 ${ac_cv_prog_OCAMLFIND+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_OCAMLFIND+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$OCAMLFIND"; then ac_cv_prog_OCAMLFIND=3D"$OCAMLFIND" # Let the user override the test. else @@ -6673,11 +7513,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_OCAMLFIND=3D"${ac_tool_prefix}ocamlfind" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6688,11 +7532,11 @@ fi fi OCAMLFIND=3D$ac_cv_prog_OCAMLFIND if test -n "$OCAMLFIND"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5 -$as_echo "$OCAMLFIND" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5 +printf "%s\n" "$OCAMLFIND" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6701,11 +7545,12 @@ if test -z "$ac_cv_prog_OCAMLFIND"; then ac_ct_OCAMLFIND=3D$OCAMLFIND # Extract the first word of "ocamlfind", so it can be a program name wit= h args. set dummy ocamlfind; 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 ${ac_cv_prog_ac_ct_OCAMLFIND+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_OCAMLFIND+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_OCAMLFIND"; then ac_cv_prog_ac_ct_OCAMLFIND=3D"$ac_ct_OCAMLFIND" # Let the user override = the test. else @@ -6713,11 +7558,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OCAMLFIND=3D"ocamlfind" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6728,11 +7577,11 @@ fi fi ac_ct_OCAMLFIND=3D$ac_cv_prog_ac_ct_OCAMLFIND if test -n "$ac_ct_OCAMLFIND"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" >&5 -$as_echo "$ac_ct_OCAMLFIND" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLFIND" = >&5 +printf "%s\n" "$ac_ct_OCAMLFIND" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_OCAMLFIND" =3D x; then @@ -6740,8 +7589,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac OCAMLFIND=3D$ac_ct_OCAMLFIND @@ -6757,11 +7606,12 @@ for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with= args. 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 ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AWK+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AWK"; then ac_cv_prog_AWK=3D"$AWK" # Let the user override the test. else @@ -6769,11 +7619,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6784,28 +7638,31 @@ fi fi AWK=3D$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +printf "%s\n" "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 test -n "$AWK" && break done =20 -if test "x$ocamltools" =3D "xy"; then : +if test "x$ocamltools" =3D "xy" +then : =20 - if test "x$OCAMLOPT" =3D "xno" || test "x$OCAMLFIND" =3D "xno"; then : + if test "x$OCAMLOPT" =3D "xno" || test "x$OCAMLFIND" =3D "xno" +then : =20 - if test "x$enable_ocamltools" =3D "xyes"; then : + if test "x$enable_ocamltools" =3D "xyes" +then : =20 as_fn_error $? "Ocaml tools enabled, but missing ocamlopt or o= camlfind" "$LINENO" 5 fi ocamltools=3D"n" =20 -else +else $as_nop =20 =20 =20 @@ -6840,7 +7697,8 @@ x$ax_compare_version_B" | sed 's/^ *//' | sort -r | s= ed "s/x${ax_compare_version =20 if test "$ax_compare_version" =3D "true" ; then =20 - if test "x$enable_ocamltools" =3D "xyes"; then : + if test "x$enable_ocamltools" =3D "xyes" +then : =20 as_fn_error $? "Your version of OCaml: $OCAMLVERSION is no= t supported" "$LINENO" 5 fi @@ -6853,17 +7711,19 @@ fi =20 fi =20 -if test "x$golang" =3D "xy"; then : +if test "x$golang" =3D "xy" +then : =20 =20 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}go", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}go; 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 ${ac_cv_prog_GO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_GO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$GO"; then ac_cv_prog_GO=3D"$GO" # Let the user override the test. else @@ -6871,11 +7731,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_GO=3D"${ac_tool_prefix}go" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6886,11 +7750,11 @@ fi fi GO=3D$ac_cv_prog_GO if test -n "$GO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GO" >&5 -$as_echo "$GO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GO" >&5 +printf "%s\n" "$GO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -6899,11 +7763,12 @@ if test -z "$ac_cv_prog_GO"; then ac_ct_GO=3D$GO # Extract the first word of "go", so it can be a program name with args. set dummy go; 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 ${ac_cv_prog_ac_ct_GO+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_GO+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_GO"; then ac_cv_prog_ac_ct_GO=3D"$ac_ct_GO" # Let the user override the test. else @@ -6911,11 +7776,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_GO=3D"go" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -6926,11 +7795,11 @@ fi fi ac_ct_GO=3D$ac_cv_prog_ac_ct_GO if test -n "$ac_ct_GO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GO" >&5 -$as_echo "$ac_ct_GO" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GO" >&5 +printf "%s\n" "$ac_ct_GO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_GO" =3D x; then @@ -6938,8 +7807,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac GO=3D$ac_ct_GO @@ -6953,16 +7822,18 @@ fi GOVERSION=3D`$GO version | cut -d " " -f 3 | sed "s/go//"` fi =20 - if test "x$GO" =3D "xno"; then : + if test "x$GO" =3D "xno" +then : =20 - if test "x$enable_golang" =3D "xyes"; then : + if test "x$enable_golang" =3D "xyes" +then : =20 as_fn_error $? "Go tools enabled, but missing go compiler" "$L= INENO" 5 =20 fi golang=3D"n" =20 -else +else $as_nop =20 =20 =20 @@ -6997,7 +7868,8 @@ x$ax_compare_version_B" | sed 's/^ *//' | sort -r | s= ed "s/x${ax_compare_version =20 if test "$ax_compare_version" =3D "true" ; then =20 - if test "x$enable_golang" =3D "xyes"; then : + if test "x$enable_golang" =3D "xyes" +then : =20 as_fn_error $? "\"Your version of go: $GOVERSION is not su= pported\"" "$LINENO" 5 =20 @@ -7020,24 +7892,29 @@ fi =20 =20 =20 -if test "x$XENSTORE" =3D "x"; then : +if test "x$XENSTORE" =3D "x" +then : =20 =20 # Check whether --with-xenstored was given. -if test "${with_xenstored+set}" =3D set; then : +if test ${with_xenstored+y} +then : withval=3D$with_xenstored; - if test "x$withval" =3D "xxenstored"; then : + if test "x$withval" =3D "xxenstored" +then : =20 xenstore=3D$withval xenstored=3D$sbindir/xenstored =20 fi - if test "x$withval" =3D "xoxenstored"; then : + if test "x$withval" =3D "xoxenstored" +then : =20 xenstore=3D$withval xenstored=3D$sbindir/oxenstored =20 - if test "$ocamltools" =3D "n"; then : + if test "$ocamltools" =3D "n" +then : =20 as_fn_error $? "Missing ocaml dependencies for oxenstored, try installin= g ocaml ocaml-compiler-libs ocaml-runtime ocaml-findlib" "$LINENO" 5 =20 @@ -7045,18 +7922,20 @@ fi =20 =20 fi - if test "x$withval" !=3D "xoxenstored" && test "x$withval" !=3D "xxensto= red"; then : + if test "x$withval" !=3D "xoxenstored" && test "x$withval" !=3D "xxensto= red" +then : =20 as_fn_error $? "Unsupported xenstored specified, supported types: oxens= tored xenstored" "$LINENO" 5 =20 fi =20 -else +else $as_nop =20 =20 xenstore=3D"oxenstored" xenstored=3D$sbindir/oxenstored - if test "$ocamltools" =3D "n"; then : + if test "$ocamltools" =3D "n" +then : =20 xenstore=3D"xenstored" xenstored=3D$sbindir/xenstored @@ -7072,7 +7951,8 @@ fi =20 XENSTORE=3D$xenstore =20 - if test "x$XENSTORED" =3D "x"; then : + if test "x$XENSTORED" =3D "x" +then : =20 XENSTORED=3D$xenstored =20 @@ -7080,17 +7960,19 @@ fi =20 =20 =20 -if test "x$xsmpolicy" =3D "xy"; then : +if test "x$xsmpolicy" =3D "xy" +then : =20 # check for a checkpolicy binary with support for -t xen if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}checkpolicy", so it can be= a program name with args. set dummy ${ac_tool_prefix}checkpolicy; 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 ${ac_cv_prog_CHECKPOLICY+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CHECKPOLICY+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CHECKPOLICY"; then ac_cv_prog_CHECKPOLICY=3D"$CHECKPOLICY" # Let the user override the test. else @@ -7098,11 +7980,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CHECKPOLICY=3D"${ac_tool_prefix}checkpolicy" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7113,11 +7999,11 @@ fi fi CHECKPOLICY=3D$ac_cv_prog_CHECKPOLICY if test -n "$CHECKPOLICY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECKPOLICY" >&5 -$as_echo "$CHECKPOLICY" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CHECKPOLICY" >&5 +printf "%s\n" "$CHECKPOLICY" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -7126,11 +8012,12 @@ if test -z "$ac_cv_prog_CHECKPOLICY"; then ac_ct_CHECKPOLICY=3D$CHECKPOLICY # Extract the first word of "checkpolicy", so it can be a program name w= ith args. set dummy checkpolicy; 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 ${ac_cv_prog_ac_ct_CHECKPOLICY+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CHECKPOLICY+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CHECKPOLICY"; then ac_cv_prog_ac_ct_CHECKPOLICY=3D"$ac_ct_CHECKPOLICY" # Let the user overr= ide the test. else @@ -7138,11 +8025,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CHECKPOLICY=3D"checkpolicy" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7153,11 +8044,11 @@ fi fi ac_ct_CHECKPOLICY=3D$ac_cv_prog_ac_ct_CHECKPOLICY if test -n "$ac_ct_CHECKPOLICY"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CHECKPOLICY" >&5 -$as_echo "$ac_ct_CHECKPOLICY" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CHECKPOLICY= " >&5 +printf "%s\n" "$ac_ct_CHECKPOLICY" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_ct_CHECKPOLICY" =3D x; then @@ -7165,8 +8056,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac CHECKPOLICY=3D$ac_ct_CHECKPOLICY @@ -7183,9 +8074,11 @@ fi fi fi =20 - if test "x$CHECKPOLICY" =3D "xno"; then : + if test "x$CHECKPOLICY" =3D "xno" +then : =20 - if test "x$enable_xsmpolicy" =3D "xyes"; then : + if test "x$enable_xsmpolicy" =3D "xyes" +then : =20 as_fn_error $? "XSM policy compilation enabled, but unable to = find checkpolicy" "$LINENO" 5 fi @@ -7198,11 +8091,12 @@ case "$host_os" in freebsd*) ;; *) # Extract the first word of "bash", so it can be a program name with = args. 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 ${ac_cv_path_BASH+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_BASH+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $BASH in [\\/]* | ?:[\\/]*) ac_cv_path_BASH=3D"$BASH" # Let the user override the test with a path. @@ -7212,11 +8106,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BASH=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_BASH=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7229,11 +8127,11 @@ esac fi BASH=3D$ac_cv_path_BASH if test -n "$BASH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5 -$as_echo "$BASH" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5 +printf "%s\n" "$BASH" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -7242,16 +8140,18 @@ then as_fn_error $? "Unable to find bash, please install bash" "$LINENO" 5 fi;; esac -if test -z "$PYTHON"; then : +if test -z "$PYTHON" +then : for ac_prog in python3 python python2 do # Extract the first word of "$ac_prog", so it can be a program name with= args. 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 ${ac_cv_prog_PYTHON+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_PYTHON+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$PYTHON"; then ac_cv_prog_PYTHON=3D"$PYTHON" # Let the user override the test. else @@ -7259,11 +8159,15 @@ as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_PYTHON=3D"$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7274,11 +8178,11 @@ fi fi PYTHON=3D$ac_cv_prog_PYTHON if test -n "$PYTHON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 -$as_echo "$PYTHON" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +printf "%s\n" "$PYTHON" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -7287,19 +8191,22 @@ done test -n "$PYTHON" || PYTHON=3D"err" =20 fi -if test "$PYTHON" =3D "err"; then : +if test "$PYTHON" =3D "err" +then : as_fn_error $? "No python interpreter found" "$LINENO" 5 fi -if echo "$PYTHON" | grep -q "^/"; then : +if echo "$PYTHON" | grep -q "^/" +then : =20 -else +else $as_nop # Extract the first word of "$PYTHON", so it can be a program name with = args. 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 ${ac_cv_path_PYTHON+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PYTHON+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON=3D"$PYTHON" # Let the user override the test with a pa= th. @@ -7309,11 +8216,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PYTHON=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7325,11 +8236,11 @@ esac fi PYTHON=3D$ac_cv_path_PYTHON if test -n "$PYTHON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 -$as_echo "$PYTHON" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +printf "%s\n" "$PYTHON" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -7339,11 +8250,12 @@ PYTHON=3D`basename $PYTHONPATH` =20 # Extract the first word of "$PYTHON", so it can be a program name with ar= gs. 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 ${ac_cv_path_PYTHONPATH+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PYTHONPATH+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PYTHONPATH in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHONPATH=3D"$PYTHONPATH" # Let the user override the test w= ith a path. @@ -7353,447 +8265,84 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PYTHONPATH=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHONPATH=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done - done -IFS=3D$as_save_IFS - - test -z "$ac_cv_path_PYTHONPATH" && ac_cv_path_PYTHONPATH=3D"no" - ;; -esac -fi -PYTHONPATH=3D$ac_cv_path_PYTHONPATH -if test -n "$PYTHONPATH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONPATH" >&5 -$as_echo "$PYTHONPATH" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test x"${PYTHONPATH}" =3D x"no" -then - as_fn_error $? "Unable to find $PYTHON, please install $PYTHON" "$LINE= NO" 5 -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python version >=3D = 2.6 " >&5 -$as_echo_n "checking for python version >=3D 2.6 ... " >&6; } -`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < (2, 6)"))'` -if test "$?" !=3D "0" -then - python_version=3D`$PYTHON -V 2>&1` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - as_fn_error $? "$python_version is too old, minimum required version i= s 2.6" "$LINENO" 5 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi - -ac_ext=3Dc -ac_cpp=3D'$CPP $CPPFLAGS' -ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' -ac_compiler_gnu=3D$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preproc= essor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP=3D -fi -if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=3Dfalse -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=3D: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=3D$CPP - -fi - CPP=3D$ac_cv_prog_CPP -else - ac_cv_prog_CPP=3D$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=3Dfalse -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=3D: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $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; } -fi - -ac_ext=3Dc -ac_cpp=3D'$CPP $CPPFLAGS' -ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' -ac_compiler_gnu=3D$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles lo= ng lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP=3D"$ac_path_GREP" ac_path_GREP_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"con= ftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP=3D"$ac_path_GREP" - ac_path_GREP_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARA= TOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=3D$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP=3D"$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP=3D"$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=3Dfalse - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP=3D"$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP=3D"$ac_path_EGREP" ac_path_EGREP_found=3D:;; -*) - ac_count=3D0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null = || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=3D$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP=3D"$ac_path_EGREP" - ac_path_EGREP_max=3D$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=3D$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPAR= ATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=3D$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP=3D"$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files"= >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=3Dyes -else - ac_cv_header_stdc=3Dno -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc =3D yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=3Dno -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc =3D yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=3Dno -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc =3D yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" =3D yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) =3D=3D 0x020) -# define ISLOWER(c) ('a' <=3D (c) && (c) <=3D 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <=3D (c) && (c) <=3D 'i') \ - || ('j' <=3D (c) && (c) <=3D 'r') \ - || ('s' <=3D (c) && (c) <=3D 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i =3D 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) !=3D TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : + done +IFS=3D$as_save_IFS =20 -else - ac_cv_header_stdc=3Dno + test -z "$ac_cv_path_PYTHONPATH" && ac_cv_path_PYTHONPATH=3D"no" + ;; +esac fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext +PYTHONPATH=3D$ac_cv_path_PYTHONPATH +if test -n "$PYTHONPATH"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHONPATH" >&5 +printf "%s\n" "$PYTHONPATH" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 + +if test x"${PYTHONPATH}" =3D x"no" +then + as_fn_error $? "Unable to find $PYTHON, please install $PYTHON" "$LINE= NO" 5 fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python version = >=3D 2.6 " >&5 +printf %s "checking for python version >=3D 2.6 ... " >&6; } +`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < (2, 6)"))'` +if test "$?" !=3D "0" +then + python_version=3D`$PYTHON -V 2>&1` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + as_fn_error $? "$python_version is too old, minimum required version i= s 2.6" "$LINENO" 5 +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc =3D yes; then =20 -$as_echo "#define STDC_HEADERS 1" >>confdefs.h +ac_header=3D ac_cache=3D +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cac= he "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" =3D xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header=3D ac_cache=3D + elif test $ac_header; then + ac_cache=3D$ac_item + else + ac_header=3D$ac_item + fi +done + + + =20 -fi =20 -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings= .h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=3D`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_i= ncludes_default -" -if eval test \"x\$"$as_ac_Header"\" =3D x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF =20 -fi =20 -done =20 +if test $ac_cv_header_stdlib_h =3D yes && test $ac_cv_header_string_h =3D = yes +then : =20 -if test "$cross_compiling" !=3D yes; then : +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi +if test "$cross_compiling" !=3D yes +then : =20 =20 ac_previous_cppflags=3D$CPPFLAGS @@ -7801,11 +8350,12 @@ ac_previous_ldflags=3D$LDFLAGS ac_previous_libs=3D$LIBS # Extract the first word of "$PYTHON-config", so it can be a program name = with args. set dummy $PYTHON-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 ${ac_cv_path_pyconfig+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_pyconfig+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $pyconfig in [\\/]* | ?:[\\/]*) ac_cv_path_pyconfig=3D"$pyconfig" # Let the user override the test with = a path. @@ -7815,11 +8365,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_pyconfig=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_pyconfig=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7832,15 +8386,16 @@ esac fi pyconfig=3D$ac_cv_path_pyconfig if test -n "$pyconfig"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pyconfig" >&5 -$as_echo "$pyconfig" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pyconfig" >&5 +printf "%s\n" "$pyconfig" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 -if test x"$pyconfig" =3D x"no"; then : +if test x"$pyconfig" =3D x"no" +then : =20 CPPFLAGS=3D"$CFLAGS `$PYTHON -c 'import sysconfig; \ print("-I" + sysconfig.get_config_var("INCLUDEPY"))'`" @@ -7858,7 +8413,7 @@ if test x"$pyconfig" =3D x"no"; then : LIBS=3D"$LIBS `$PYTHON -c 'import sysconfig; \ print(sysconfig.get_config_var("SYSLIBS"))'`" =20 -else +else $as_nop =20 CPPFLAGS=3D"$CFLAGS `$PYTHON-config --cflags`" python_devel_embed=3D"" @@ -7871,18 +8426,19 @@ else =20 fi =20 -ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" = "$ac_includes_default" -if test "x$ac_cv_header_Python_h" =3D xyes; then : +ac_fn_c_check_header_compile "$LINENO" "Python.h" "ac_cv_header_Python_h" = "$ac_includes_default" +if test "x$ac_cv_header_Python_h" =3D xyes +then : =20 -else +else $as_nop as_fn_error $? "Unable to find Python development headers" "$LINENO" 5 fi =20 - ac_fn_c_check_func "$LINENO" "PyArg_ParseTuple" "ac_cv_func_PyArg_ParseTup= le" -if test "x$ac_cv_func_PyArg_ParseTuple" =3D xyes; then : +if test "x$ac_cv_func_PyArg_ParseTuple" =3D xyes +then : =20 -else +else $as_nop as_fn_error $? "Unable to find a suitable python development library" "$= LINENO" 5 fi =20 @@ -7892,11 +8448,12 @@ LDFLAGS=3D$ac_previous_ldflags LIBS=3D$ac_previous_libs =20 =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Python setup= .py brokenly enables -D_FORTIFY_SOURCE" >&5 -$as_echo_n "checking whether Python setup.py brokenly enables -D_FORTIFY_S= OURCE... " >&6; } -if ${ax_cv_python_fortify+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Python = setup.py brokenly enables -D_FORTIFY_SOURCE" >&5 +printf %s "checking whether Python setup.py brokenly enables -D_FORTIFY_SO= URCE... " >&6; } +if test ${ax_cv_python_fortify+y} +then : + printf %s "(cached) " >&6 +else $as_nop =20 ax_cv_python_fortify=3Dno for arg in $($PYTHON-config --cflags); do @@ -7910,14 +8467,15 @@ else done =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_python_fortify" >&5 -$as_echo "$ax_cv_python_fortify" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_python_fortif= y" >&5 +printf "%s\n" "$ax_cv_python_fortify" >&6; } =20 - if test x$ax_cv_python_fortify =3D xyes; then : + if test x$ax_cv_python_fortify =3D xyes +then : =20 PY_NOOPT_CFLAGS=3D-O1 =20 -else +else $as_nop =20 PY_NOOPT_CFLAGS=3D'' =20 @@ -7934,11 +8492,12 @@ case "$host_cpu" in i[3456]86|x86_64|aarch64) # Extract the first word of "iasl", so it can be a program name with a= rgs. set dummy iasl; 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 ${ac_cv_path_IASL+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_IASL+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $IASL in [\\/]* | ?:[\\/]*) ac_cv_path_IASL=3D"$IASL" # Let the user override the test with a path. @@ -7948,11 +8507,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_IASL=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_IASL=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -7965,11 +8528,11 @@ esac fi IASL=3D$ac_cv_path_IASL if test -n "$IASL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IASL" >&5 -$as_echo "$IASL" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IASL" >&5 +printf "%s\n" "$IASL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -7980,14 +8543,16 @@ fi ;; esac =20 -ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uu= id_h" "$ac_includes_default" -if test "x$ac_cv_header_uuid_uuid_h" =3D xyes; then : +ac_fn_c_check_header_compile "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uu= id_h" "$ac_includes_default" +if test "x$ac_cv_header_uuid_uuid_h" =3D xyes +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_clear in -l= uuid" >&5 -$as_echo_n "checking for uuid_clear in -luuid... " >&6; } -if ${ac_cv_lib_uuid_uuid_clear+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_clear = in -luuid" >&5 +printf %s "checking for uuid_clear in -luuid... " >&6; } +if test ${ac_cv_lib_uuid_uuid_clear+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-luuid $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7996,58 +8561,59 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char uuid_clear (); int -main () +main (void) { return uuid_clear (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_uuid_uuid_clear=3Dyes -else +else $as_nop ac_cv_lib_uuid_uuid_clear=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_clea= r" >&5 -$as_echo "$ac_cv_lib_uuid_uuid_clear" >&6; } -if test "x$ac_cv_lib_uuid_uuid_clear" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid= _clear" >&5 +printf "%s\n" "$ac_cv_lib_uuid_uuid_clear" >&6; } +if test "x$ac_cv_lib_uuid_uuid_clear" =3D xyes +then : libuuid=3D"y" fi =20 =20 fi =20 - -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 xyes; then : +ac_fn_c_check_header_compile "$LINENO" "uuid.h" "ac_cv_header_uuid_h" "$ac= _includes_default" +if test "x$ac_cv_header_uuid_h" =3D xyes +then : libuuid=3D"y" fi =20 - -if test "$libuuid" !=3D "y"; then : +if test "$libuuid" !=3D "y" +then : =20 as_fn_error $? "cannot find a valid uuid library" "$LINENO" 5 =20 fi =20 =20 -ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" = "$ac_includes_default" -if test "x$ac_cv_header_curses_h" =3D xyes; then : +ac_fn_c_check_header_compile "$LINENO" "curses.h" "ac_cv_header_curses_h" = "$ac_includes_default" +if test "x$ac_cv_header_curses_h" =3D xyes +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clear in -lcurse= s" >&5 -$as_echo_n "checking for clear in -lcurses... " >&6; } -if ${ac_cv_lib_curses_clear+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clear in -l= curses" >&5 +printf %s "checking for clear in -lcurses... " >&6; } +if test ${ac_cv_lib_curses_clear+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lcurses $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8056,49 +8622,49 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char clear (); int -main () +main (void) { return clear (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_curses_clear=3Dyes -else +else $as_nop ac_cv_lib_curses_clear=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_clear" = >&5 -$as_echo "$ac_cv_lib_curses_clear" >&6; } -if test "x$ac_cv_lib_curses_clear" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_cl= ear" >&5 +printf "%s\n" "$ac_cv_lib_curses_clear" >&6; } +if test "x$ac_cv_lib_curses_clear" =3D xyes +then : curses=3D"y" -else +else $as_nop curses=3D"n" fi =20 =20 -else +else $as_nop curses=3D"n" fi =20 +ac_fn_c_check_header_compile "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h= " "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" =3D xyes +then : =20 -ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h= " "$ac_includes_default" -if test "x$ac_cv_header_ncurses_h" =3D xyes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clear in -lncurs= es" >&5 -$as_echo_n "checking for clear in -lncurses... " >&6; } -if ${ac_cv_lib_ncurses_clear+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clear in -l= ncurses" >&5 +printf %s "checking for clear in -lncurses... " >&6; } +if test ${ac_cv_lib_ncurses_clear+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lncurses $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8107,71 +8673,73 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char clear (); int -main () +main (void) { return clear (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ncurses_clear=3Dyes -else +else $as_nop ac_cv_lib_ncurses_clear=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clear"= >&5 -$as_echo "$ac_cv_lib_ncurses_clear" >&6; } -if test "x$ac_cv_lib_ncurses_clear" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_c= lear" >&5 +printf "%s\n" "$ac_cv_lib_ncurses_clear" >&6; } +if test "x$ac_cv_lib_ncurses_clear" =3D xyes +then : ncurses=3D"y" -else +else $as_nop ncurses=3D"n" fi =20 =20 -else +else $as_nop ncurses=3D"n" fi =20 - -if test "$curses" =3D "n" && test "$ncurses" =3D "n"; then : +if test "$curses" =3D "n" && test "$ncurses" =3D "n" +then : =20 as_fn_error $? "Unable to find a suitable curses library" "$LINENO" 5 =20 fi # Prefer ncurses over curses if both are present -if test "$ncurses" =3D "y"; then : +if test "$ncurses" =3D "y" +then : =20 CURSES_LIBS=3D"-lncurses" =20 -$as_echo "#define INCLUDE_CURSES_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_CURSES_H " >>confdefs.h =20 =20 -else +else $as_nop =20 CURSES_LIBS=3D"-lcurses" =20 -$as_echo "#define INCLUDE_CURSES_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_CURSES_H " >>confdefs.h =20 =20 fi =20 =20 -if test "$ncurses" =3D "y"; then : +if test "$ncurses" =3D "y" +then : =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for define_key in -ltinf= o" >&5 -$as_echo_n "checking for define_key in -ltinfo... " >&6; } -if ${ac_cv_lib_tinfo_define_key+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for define_key in -= ltinfo" >&5 +printf %s "checking for define_key in -ltinfo... " >&6; } +if test ${ac_cv_lib_tinfo_define_key+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-ltinfo $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8180,30 +8748,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char define_key (); int -main () +main (void) { return define_key (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_tinfo_define_key=3Dyes -else +else $as_nop ac_cv_lib_tinfo_define_key=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_define_k= ey" >&5 -$as_echo "$ac_cv_lib_tinfo_define_key" >&6; } -if test "x$ac_cv_lib_tinfo_define_key" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_def= ine_key" >&5 +printf "%s\n" "$ac_cv_lib_tinfo_define_key" >&6; } +if test "x$ac_cv_lib_tinfo_define_key" =3D xyes +then : TINFO_LIBS=3D-ltinfo fi =20 @@ -8222,11 +8789,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" !=3D "xset"; t= hen if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be = a program name with args. 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 ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG=3D"$PKG_CONFIG" # Let the user override the test w= ith a path. @@ -8236,11 +8804,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -8252,11 +8824,11 @@ esac fi PKG_CONFIG=3D$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -8265,11 +8837,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=3D$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name wi= th args. 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 ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG=3D"$ac_pt_PKG_CONFIG" # Let the user overrid= e the test with a path. @@ -8279,11 +8852,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -8295,11 +8872,11 @@ esac fi ac_pt_PKG_CONFIG=3D$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG"= >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 if test "x$ac_pt_PKG_CONFIG" =3D x; then @@ -8307,8 +8884,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools n= ot prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host t= riplet" >&2;} ac_tool_warned=3Dyes ;; esac PKG_CONFIG=3D$ac_pt_PKG_CONFIG @@ -8320,32 +8897,33 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=3D0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least = version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... "= >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at l= east version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " = >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG=3D"" fi fi -if test "x$qemu_xen" =3D "xy"; then : +if test "x$qemu_xen" =3D "xy" +then : =20 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib" >&5 -$as_echo_n "checking for glib... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib" >&5 +printf %s "checking for glib... " >&6; } =20 if test -n "$glib_CFLAGS"; then pkg_cv_glib_CFLAGS=3D"$glib_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"glib-2.0 >=3D 2.12\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"glib-2.0 >=3D 2.12\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >=3D 2.12") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_glib_CFLAGS=3D`$PKG_CONFIG --cflags "glib-2.0 >=3D 2.12" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8359,10 +8937,10 @@ if test -n "$glib_LIBS"; then pkg_cv_glib_LIBS=3D"$glib_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"glib-2.0 >=3D 2.12\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"glib-2.0 >=3D 2.12\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >=3D 2.12") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_glib_LIBS=3D`$PKG_CONFIG --libs "glib-2.0 >=3D 2.12" 2>/dev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8376,8 +8954,8 @@ fi =20 =20 if test $pkg_failed =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } =20 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=3Dyes @@ -8403,10 +8981,10 @@ Alternatively, you may set the environment variable= s glib_CFLAGS and glib_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed =3D untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. M= ake sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -8420,23 +8998,23 @@ See \`config.log' for more details" "$LINENO" 5; } else glib_CFLAGS=3D$pkg_cv_glib_CFLAGS glib_LIBS=3D$pkg_cv_glib_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } =20 fi =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5 -$as_echo_n "checking for pixman... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5 +printf %s "checking for pixman... " >&6; } =20 if test -n "$pixman_CFLAGS"; then pkg_cv_pixman_CFLAGS=3D"$pixman_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"pixman-1 >=3D 0.21.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"pixman-1 >=3D 0.21.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "pixman-1 >=3D 0.21.8") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_pixman_CFLAGS=3D`$PKG_CONFIG --cflags "pixman-1 >=3D 0.21.8" 2>/d= ev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8450,10 +9028,10 @@ if test -n "$pixman_LIBS"; then pkg_cv_pixman_LIBS=3D"$pixman_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"pixman-1 >=3D 0.21.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"pixman-1 >=3D 0.21.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "pixman-1 >=3D 0.21.8") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_pixman_LIBS=3D`$PKG_CONFIG --libs "pixman-1 >=3D 0.21.8" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8467,8 +9045,8 @@ fi =20 =20 if test $pkg_failed =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } =20 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=3Dyes @@ -8494,10 +9072,10 @@ Alternatively, you may set the environment variable= s pixman_CFLAGS and pixman_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed =3D untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. M= ake sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -8511,8 +9089,8 @@ See \`config.log' for more details" "$LINENO" 5; } else pixman_CFLAGS=3D$pkg_cv_pixman_CFLAGS pixman_LIBS=3D$pkg_cv_pixman_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } =20 fi =20 @@ -8520,11 +9098,12 @@ fi =20 # Extract the first word of "wget", so it can be a program name with args. set dummy wget; 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 ${ac_cv_path_WGET+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_WGET+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $WGET in [\\/]* | ?:[\\/]*) ac_cv_path_WGET=3D"$WGET" # Let the user override the test with a path. @@ -8534,11 +9113,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_WGET=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_WGET=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -8551,21 +9134,22 @@ esac fi WGET=3D$ac_cv_path_WGET if test -n "$WGET"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 -$as_echo "$WGET" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 +printf "%s\n" "$WGET" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 # Extract the first word of "false", so it can be a program name with args. set dummy false; 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 ${ac_cv_path_FALSE+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FALSE+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FALSE in [\\/]* | ?:[\\/]*) ac_cv_path_FALSE=3D"$FALSE" # Let the user override the test with a path. @@ -8575,11 +9159,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FALSE=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FALSE=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -8592,27 +9180,29 @@ esac fi FALSE=3D$ac_cv_path_FALSE if test -n "$FALSE"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FALSE" >&5 -$as_echo "$FALSE" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FALSE" >&5 +printf "%s\n" "$FALSE" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 -if test x"$WGET" !=3D x"no"; then : +if test x"$WGET" !=3D x"no" +then : =20 FETCHER=3D"$WGET -c -O" =20 -else +else $as_nop =20 # Extract the first word of "ftp", so it can be a program name with ar= gs. set dummy ftp; 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 ${ac_cv_path_FTP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_FTP+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $FTP in [\\/]* | ?:[\\/]*) ac_cv_path_FTP=3D"$FTP" # Let the user override the test with a path. @@ -8622,11 +9212,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_FTP=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_FTP=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -8639,23 +9233,24 @@ esac fi FTP=3D$ac_cv_path_FTP if test -n "$FTP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FTP" >&5 -$as_echo "$FTP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FTP" >&5 +printf "%s\n" "$FTP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 - if test x"$FTP" !=3D x"no"; then : + if test x"$FTP" !=3D x"no" +then : =20 FETCHER=3D"$FTP -o" =20 -else +else $as_nop =20 FETCHER=3D"$FALSE" - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find wget= or ftp" >&5 -$as_echo "$as_me: WARNING: cannot find wget or ftp" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find= wget or ftp" >&5 +printf "%s\n" "$as_me: WARNING: cannot find wget or ftp" >&2;} =20 fi =20 @@ -8664,14 +9259,16 @@ fi =20 =20 # Checks for libraries. -ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$= ac_includes_default" -if test "x$ac_cv_header_bzlib_h" =3D xyes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzDecompress= Init in -lbz2" >&5 -$as_echo_n "checking for BZ2_bzDecompressInit in -lbz2... " >&6; } -if ${ac_cv_lib_bz2_BZ2_bzDecompressInit+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_fn_c_check_header_compile "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$= ac_includes_default" +if test "x$ac_cv_header_bzlib_h" =3D xyes +then : + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzDecom= pressInit in -lbz2" >&5 +printf %s "checking for BZ2_bzDecompressInit in -lbz2... " >&6; } +if test ${ac_cv_lib_bz2_BZ2_bzDecompressInit+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lbz2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8680,30 +9277,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char BZ2_bzDecompressInit (); int -main () +main (void) { return BZ2_bzDecompressInit (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_bz2_BZ2_bzDecompressInit=3Dyes -else +else $as_nop ac_cv_lib_bz2_BZ2_bzDecompressInit=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzDeco= mpressInit" >&5 -$as_echo "$ac_cv_lib_bz2_BZ2_bzDecompressInit" >&6; } -if test "x$ac_cv_lib_bz2_BZ2_bzDecompressInit" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_b= zDecompressInit" >&5 +printf "%s\n" "$ac_cv_lib_bz2_BZ2_bzDecompressInit" >&6; } +if test "x$ac_cv_lib_bz2_BZ2_bzDecompressInit" =3D xyes +then : ZLIB_CFLAGS=3D"$ZLIB_CFLAGS -DHAVE_BZLIB" ZLIB_LIBS=3D"$ZLIB_LIBS -lbz2" fi @@ -8711,15 +9307,16 @@ fi =20 fi =20 +ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac= _includes_default" +if test "x$ac_cv_header_lzma_h" =3D xyes +then : =20 -ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac= _includes_default" -if test "x$ac_cv_header_lzma_h" =3D xyes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_stream_deco= der in -llzma" >&5 -$as_echo_n "checking for lzma_stream_decoder in -llzma... " >&6; } -if ${ac_cv_lib_lzma_lzma_stream_decoder+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_stream= _decoder in -llzma" >&5 +printf %s "checking for lzma_stream_decoder in -llzma... " >&6; } +if test ${ac_cv_lib_lzma_lzma_stream_decoder+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8728,30 +9325,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lzma_stream_decoder (); int -main () +main (void) { return lzma_stream_decoder (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_lzma_lzma_stream_decoder=3Dyes -else +else $as_nop ac_cv_lib_lzma_lzma_stream_decoder=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_stre= am_decoder" >&5 -$as_echo "$ac_cv_lib_lzma_lzma_stream_decoder" >&6; } -if test "x$ac_cv_lib_lzma_lzma_stream_decoder" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma= _stream_decoder" >&5 +printf "%s\n" "$ac_cv_lib_lzma_lzma_stream_decoder" >&6; } +if test "x$ac_cv_lib_lzma_lzma_stream_decoder" =3D xyes +then : ZLIB_CFLAGS=3D"$ZLIB_CFLAGS -DHAVE_LZMA" ZLIB_LIBS=3D"$ZLIB_LIBS -llzma" fi @@ -8759,15 +9355,16 @@ fi =20 fi =20 +ac_fn_c_check_header_compile "$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo= 1x_h" "$ac_includes_default" +if test "x$ac_cv_header_lzo_lzo1x_h" =3D xyes +then : =20 -ac_fn_c_check_header_mongrel "$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo= 1x_h" "$ac_includes_default" -if test "x$ac_cv_header_lzo_lzo1x_h" =3D xyes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_decompress= in -llzo2" >&5 -$as_echo_n "checking for lzo1x_decompress in -llzo2... " >&6; } -if ${ac_cv_lib_lzo2_lzo1x_decompress+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzo1x_decom= press in -llzo2" >&5 +printf %s "checking for lzo1x_decompress in -llzo2... " >&6; } +if test ${ac_cv_lib_lzo2_lzo1x_decompress+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-llzo2 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8776,30 +9373,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lzo1x_decompress (); int -main () +main (void) { return lzo1x_decompress (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_lzo2_lzo1x_decompress=3Dyes -else +else $as_nop ac_cv_lib_lzo2_lzo1x_decompress=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1x_dec= ompress" >&5 -$as_echo "$ac_cv_lib_lzo2_lzo1x_decompress" >&6; } -if test "x$ac_cv_lib_lzo2_lzo1x_decompress" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1= x_decompress" >&5 +printf "%s\n" "$ac_cv_lib_lzo2_lzo1x_decompress" >&6; } +if test "x$ac_cv_lib_lzo2_lzo1x_decompress" =3D xyes +then : ZLIB_CFLAGS=3D"$ZLIB_CFLAGS -DHAVE_LZO1X" ZLIB_LIBS=3D"$ZLIB_LIBS -llzo2" fi @@ -8808,19 +9404,18 @@ fi fi =20 =20 - pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd" >&5 -$as_echo_n "checking for libzstd... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzstd" >&5 +printf %s "checking for libzstd... " >&6; } =20 if test -n "$libzstd_CFLAGS"; then pkg_cv_libzstd_CFLAGS=3D"$libzstd_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"libzstd\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libzstd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_libzstd_CFLAGS=3D`$PKG_CONFIG --cflags "libzstd" 2>/dev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8834,10 +9429,10 @@ if test -n "$libzstd_LIBS"; then pkg_cv_libzstd_LIBS=3D"$libzstd_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"libzstd\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libzstd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_libzstd_LIBS=3D`$PKG_CONFIG --libs "libzstd" 2>/dev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -8851,8 +9446,8 @@ fi =20 =20 if test $pkg_failed =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } =20 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=3Dyes @@ -8869,28 +9464,30 @@ fi =20 true elif test $pkg_failed =3D untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } true else libzstd_CFLAGS=3D$pkg_cv_libzstd_CFLAGS libzstd_LIBS=3D$pkg_cv_libzstd_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ZLIB_CFLAGS=3D"$ZLIB_CFLAGS -DHAVE_ZSTD $libzstd_CFLAGS" ZLIB_LIBS=3D"$ZLIB_LIBS $libzstd_LIBS" fi =20 =20 =20 -ac_fn_c_check_header_mongrel "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext= 2fs_ext2fs_h" "$ac_includes_default" -if test "x$ac_cv_header_ext2fs_ext2fs_h" =3D xyes; then : +ac_fn_c_check_header_compile "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext= 2fs_ext2fs_h" "$ac_includes_default" +if test "x$ac_cv_header_ext2fs_ext2fs_h" =3D xyes +then : =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_open2 in -lex= t2fs" >&5 -$as_echo_n "checking for ext2fs_open2 in -lext2fs... " >&6; } -if ${ac_cv_lib_ext2fs_ext2fs_open2+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ext2fs_open2 in= -lext2fs" >&5 +printf %s "checking for ext2fs_open2 in -lext2fs... " >&6; } +if test ${ac_cv_lib_ext2fs_ext2fs_open2+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lext2fs $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8899,33 +9496,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char ext2fs_open2 (); int -main () +main (void) { return ext2fs_open2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ext2fs_ext2fs_open2=3Dyes -else +else $as_nop ac_cv_lib_ext2fs_ext2fs_open2=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_= open2" >&5 -$as_echo "$ac_cv_lib_ext2fs_ext2fs_open2" >&6; } -if test "x$ac_cv_lib_ext2fs_ext2fs_open2" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ex= t2fs_open2" >&5 +printf "%s\n" "$ac_cv_lib_ext2fs_ext2fs_open2" >&6; } +if test "x$ac_cv_lib_ext2fs_ext2fs_open2" =3D xyes +then : =20 =20 -$as_echo "#define INCLUDE_EXTFS_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_EXTFS_H " >>confdefs.h =20 EXTFS_LIBS=3D"-lext2fs" =20 @@ -8934,15 +9530,16 @@ fi =20 fi =20 +ac_fn_c_check_header_compile "$LINENO" "ext4fs/ext2fs.h" "ac_cv_header_ext= 4fs_ext2fs_h" "$ac_includes_default" +if test "x$ac_cv_header_ext4fs_ext2fs_h" =3D xyes +then : =20 -ac_fn_c_check_header_mongrel "$LINENO" "ext4fs/ext2fs.h" "ac_cv_header_ext= 4fs_ext2fs_h" "$ac_includes_default" -if test "x$ac_cv_header_ext4fs_ext2fs_h" =3D xyes; then : - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_open2 in -lex= t4fs" >&5 -$as_echo_n "checking for ext2fs_open2 in -lext4fs... " >&6; } -if ${ac_cv_lib_ext4fs_ext2fs_open2+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ext2fs_open2 in= -lext4fs" >&5 +printf %s "checking for ext2fs_open2 in -lext4fs... " >&6; } +if test ${ac_cv_lib_ext4fs_ext2fs_open2+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lext4fs $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8951,33 +9548,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char ext2fs_open2 (); int -main () +main (void) { return ext2fs_open2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ext4fs_ext2fs_open2=3Dyes -else +else $as_nop ac_cv_lib_ext4fs_ext2fs_open2=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext4fs_ext2fs_= open2" >&5 -$as_echo "$ac_cv_lib_ext4fs_ext2fs_open2" >&6; } -if test "x$ac_cv_lib_ext4fs_ext2fs_open2" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext4fs_ex= t2fs_open2" >&5 +printf "%s\n" "$ac_cv_lib_ext4fs_ext2fs_open2" >&6; } +if test "x$ac_cv_lib_ext4fs_ext2fs_open2" =3D xyes +then : =20 =20 -$as_echo "#define INCLUDE_EXTFS_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_EXTFS_H " >>confdefs.h =20 EXTFS_LIBS=3D"-lext4fs" =20 @@ -8989,12 +9585,12 @@ fi =20 =20 =20 - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread flag" >&5 -$as_echo_n "checking for pthread flag... " >&6; } -if ${ax_cv_pthread_flags+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread fla= g" >&5 +printf %s "checking for pthread flag... " >&6; } +if test ${ax_cv_pthread_flags+y} +then : + printf %s "(cached) " >&6 +else $as_nop =20 ax_cv_pthread_flags=3D-pthread =20 @@ -9026,12 +9622,13 @@ int main(void) { } =20 _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : =20 -else +else $as_nop ax_cv_pthread_flags=3Dfailed fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext =20 CFLAGS=3D"$saved_CFLAGS" @@ -9042,8 +9639,8 @@ rm -f core conftest.err conftest.$ac_objext \ =20 =20 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_pthread_flags" >&5 -$as_echo "$ax_cv_pthread_flags" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_pthread_flags= " >&5 +printf "%s\n" "$ax_cv_pthread_flags" >&6; } if test "x$ax_cv_pthread_flags" =3D xfailed; then as_fn_error $? "-pthread does not work" "$LINENO" 5 fi @@ -9054,11 +9651,12 @@ $as_echo "$ax_cv_pthread_flags" >&6; } =20 =20 =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yajl_alloc in -lyajl= " >&5 -$as_echo_n "checking for yajl_alloc in -lyajl... " >&6; } -if ${ac_cv_lib_yajl_yajl_alloc+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for yajl_alloc in -= lyajl" >&5 +printf %s "checking for yajl_alloc in -lyajl... " >&6; } +if test ${ac_cv_lib_yajl_yajl_alloc+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lyajl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9067,45 +9665,43 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char yajl_alloc (); int -main () +main (void) { return yajl_alloc (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_yajl_yajl_alloc=3Dyes -else +else $as_nop ac_cv_lib_yajl_yajl_alloc=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yajl_yajl_allo= c" >&5 -$as_echo "$ac_cv_lib_yajl_yajl_alloc" >&6; } -if test "x$ac_cv_lib_yajl_yajl_alloc" =3D xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBYAJL 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yajl_yajl= _alloc" >&5 +printf "%s\n" "$ac_cv_lib_yajl_yajl_alloc" >&6; } +if test "x$ac_cv_lib_yajl_yajl_alloc" =3D xyes +then : + printf "%s\n" "#define HAVE_LIBYAJL 1" >>confdefs.h =20 LIBS=3D"-lyajl $LIBS" =20 -else +else $as_nop as_fn_error $? "Could not find yajl" "$LINENO" 5 fi =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateCopy in -lz" = >&5 -$as_echo_n "checking for deflateCopy in -lz... " >&6; } -if ${ac_cv_lib_z_deflateCopy+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for deflateCopy in = -lz" >&5 +printf %s "checking for deflateCopy in -lz... " >&6; } +if test ${ac_cv_lib_z_deflateCopy+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9114,45 +9710,43 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char deflateCopy (); int -main () +main (void) { return deflateCopy (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_z_deflateCopy=3Dyes -else +else $as_nop ac_cv_lib_z_deflateCopy=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateCopy"= >&5 -$as_echo "$ac_cv_lib_z_deflateCopy" >&6; } -if test "x$ac_cv_lib_z_deflateCopy" =3D xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBZ 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate= Copy" >&5 +printf "%s\n" "$ac_cv_lib_z_deflateCopy" >&6; } +if test "x$ac_cv_lib_z_deflateCopy" =3D xyes +then : + printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h =20 LIBS=3D"-lz $LIBS" =20 -else +else $as_nop as_fn_error $? "Could not find zlib" "$LINENO" 5 fi =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -li= conv" >&5 -$as_echo_n "checking for libiconv_open in -liconv... " >&6; } -if ${ac_cv_lib_iconv_libiconv_open+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv_open i= n -liconv" >&5 +printf %s "checking for libiconv_open in -liconv... " >&6; } +if test ${ac_cv_lib_iconv_libiconv_open+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9161,44 +9755,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char libiconv_open (); int -main () +main (void) { return libiconv_open (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_iconv_libiconv_open=3Dyes -else +else $as_nop ac_cv_lib_iconv_libiconv_open=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv= _open" >&5 -$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; } -if test "x$ac_cv_lib_iconv_libiconv_open" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_lib= iconv_open" >&5 +printf "%s\n" "$ac_cv_lib_iconv_libiconv_open" >&6; } +if test "x$ac_cv_lib_iconv_libiconv_open" =3D xyes +then : libiconv=3D"y" -else +else $as_nop libiconv=3D"n" fi =20 =20 -ac_fn_c_check_header_mongrel "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac= _includes_default" -if test "x$ac_cv_header_argp_h" =3D xyes; then : +ac_fn_c_check_header_compile "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac= _includes_default" +if test "x$ac_cv_header_argp_h" =3D xyes +then : =20 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for argp_usage in -largp= " >&5 -$as_echo_n "checking for argp_usage in -largp... " >&6; } -if ${ac_cv_lib_argp_argp_usage+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for argp_usage in -= largp" >&5 +printf %s "checking for argp_usage in -largp... " >&6; } +if test ${ac_cv_lib_argp_argp_usage+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-largp $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9207,49 +9802,48 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char argp_usage (); int -main () +main (void) { return argp_usage (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_argp_argp_usage=3Dyes -else +else $as_nop ac_cv_lib_argp_argp_usage=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_argp_argp_usag= e" >&5 -$as_echo "$ac_cv_lib_argp_argp_usage" >&6; } -if test "x$ac_cv_lib_argp_argp_usage" =3D xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_argp_argp= _usage" >&5 +printf "%s\n" "$ac_cv_lib_argp_argp_usage" >&6; } +if test "x$ac_cv_lib_argp_argp_usage" =3D xyes +then : argp_ldflags=3D"-largp" fi =20 =20 -else +else $as_nop as_fn_error $? "Could not find argp" "$LINENO" 5 fi =20 =20 =20 - # FDT is needed only on ARM case "$host_cpu" in arm*|aarch64) -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdt_create in -lfdt"= >&5 -$as_echo_n "checking for fdt_create in -lfdt... " >&6; } -if ${ac_cv_lib_fdt_fdt_create+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fdt_create in -= lfdt" >&5 +printf %s "checking for fdt_create in -lfdt... " >&6; } +if test ${ac_cv_lib_fdt_fdt_create+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=3D$LIBS LIBS=3D"-lfdt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9258,37 +9852,34 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char fdt_create (); int -main () +main (void) { return fdt_create (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_fdt_fdt_create=3Dyes -else +else $as_nop ac_cv_lib_fdt_fdt_create=3Dno fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=3D$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdt_fdt_create= " >&5 -$as_echo "$ac_cv_lib_fdt_fdt_create" >&6; } -if test "x$ac_cv_lib_fdt_fdt_create" =3D xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBFDT 1 -_ACEOF +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdt_fdt_c= reate" >&5 +printf "%s\n" "$ac_cv_lib_fdt_fdt_create" >&6; } +if test "x$ac_cv_lib_fdt_fdt_create" =3D xyes +then : + printf "%s\n" "#define HAVE_LIBFDT 1" >>confdefs.h =20 LIBS=3D"-lfdt $LIBS" =20 -else +else $as_nop as_fn_error $? "Could not find libfdt" "$LINENO" 5 fi =20 @@ -9298,108 +9889,197 @@ fi # function present in new version. # Use fdt_first_property_offset which has been correctly exported since v1= .4.0 ac_fn_c_check_func "$LINENO" "fdt_first_property_offset" "ac_cv_func_fdt_f= irst_property_offset" -if test "x$ac_cv_func_fdt_first_property_offset" =3D xyes; then : +if test "x$ac_cv_func_fdt_first_property_offset" =3D xyes +then : partial_dt=3D"y" -else +else $as_nop partial_dt=3D"n" fi =20 =20 -if test "x$partial_dt" =3D "xy" ; then : +if test "x$partial_dt" =3D "xy" +then : =20 -$as_echo "#define ENABLE_PARTIAL_DEVICE_TREE 1" >>confdefs.h +printf "%s\n" "#define ENABLE_PARTIAL_DEVICE_TREE 1" >>confdefs.h =20 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling support for = partial device tree in libxl. +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling support= for partial device tree in libxl. Please install libfdt library - version 1.4.0 or higher" >&5 -$as_echo "$as_me: WARNING: Disabling support for partial device tree in li= bxl. +printf "%s\n" "$as_me: WARNING: Disabling support for partial device tree = in libxl. Please install libfdt library - version 1.4.0 or higher" >&2;} fi =20 # The functions fdt_{first,next}_subnode may not be available because: # * It has been introduced in 2013 =3D> Doesn't work on Wheezy # * The prototype exists but the functions are not exposed. Don't ask wh= y... -for ac_func in fdt_first_subnode fdt_next_subnode -do : - as_ac_var=3D`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" =3D x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +ac_fn_c_check_func "$LINENO" "fdt_first_subnode" "ac_cv_func_fdt_first_sub= node" +if test "x$ac_cv_func_fdt_first_subnode" =3D xyes +then : + printf "%s\n" "#define HAVE_FDT_FIRST_SUBNODE 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "fdt_next_subnode" "ac_cv_func_fdt_next_subno= de" +if test "x$ac_cv_func_fdt_next_subnode" =3D xyes +then : + printf "%s\n" "#define HAVE_FDT_NEXT_SUBNODE 1" >>confdefs.h + +fi + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options nee= ded to detect all undeclared functions" >&5 +printf %s "checking for $CC options needed to detect all undeclared functi= ons... " >&6; } +if test ${ac_cv_c_undeclared_builtin_options+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_save_CFLAGS=3D$CFLAGS + ac_cv_c_undeclared_builtin_options=3D'cannot detect' + for ac_arg in '' -fno-builtin; do + CFLAGS=3D"$ac_save_CFLAGS $ac_arg" + # This test program should *not* compile successfully. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +(void) strchr; + ; + return 0; +} _ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else $as_nop + # This test program should compile successfully. + # No library function is consistently available on + # freestanding implementations, so test against a dummy + # declaration. Include always-available headers on the + # off chance that they somehow elicit warnings. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +extern void ac_decl (int, char *); + +int +main (void) +{ +(void) ac_decl (0, (char *) 0); + (void) ac_decl; =20 + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + if test x"$ac_arg" =3D x +then : + ac_cv_c_undeclared_builtin_options=3D'none needed' +else $as_nop + ac_cv_c_undeclared_builtin_options=3D$ac_arg fi -done + break +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + done + CFLAGS=3D$ac_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_= builtin_options" >&5 +printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } + case $ac_cv_c_undeclared_builtin_options in #( + 'cannot detect') : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot make $CC report undeclared builtins +See \`config.log' for more details" "$LINENO" 5; } ;; #( + 'none needed') : + ac_c_undeclared_builtin_options=3D'' ;; #( + *) : + ac_c_undeclared_builtin_options=3D$ac_cv_c_undeclared_builtin_options = ;; +esac =20 -ac_fn_c_check_decl "$LINENO" "fdt_first_subnode" "ac_cv_have_decl_fdt_firs= t_subnode" "#include -" -if test "x$ac_cv_have_decl_fdt_first_subnode" =3D xyes; then : +ac_fn_check_decl "$LINENO" "fdt_first_subnode" "ac_cv_have_decl_fdt_first_= subnode" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_fdt_first_subnode" =3D xyes +then : ac_have_decl=3D1 -else +else $as_nop ac_have_decl=3D0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_FDT_FIRST_SUBNODE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "fdt_next_subnode" "ac_cv_have_decl_fdt_next_= subnode" "#include -" -if test "x$ac_cv_have_decl_fdt_next_subnode" =3D xyes; then : +printf "%s\n" "#define HAVE_DECL_FDT_FIRST_SUBNODE $ac_have_decl" >>confde= fs.h +ac_fn_check_decl "$LINENO" "fdt_next_subnode" "ac_cv_have_decl_fdt_next_su= bnode" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_fdt_next_subnode" =3D xyes +then : ac_have_decl=3D1 -else +else $as_nop ac_have_decl=3D0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_FDT_NEXT_SUBNODE $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_FDT_NEXT_SUBNODE $ac_have_decl" >>confdef= s.h =20 =20 # The helper fdt_property_u32 is only present in libfdt >=3D 1.4.0 # It's an inline function, so only check if the declaration is present -ac_fn_c_check_decl "$LINENO" "fdt_property_u32" "ac_cv_have_decl_fdt_prope= rty_u32" "#include -" -if test "x$ac_cv_have_decl_fdt_property_u32" =3D xyes; then : +ac_fn_check_decl "$LINENO" "fdt_property_u32" "ac_cv_have_decl_fdt_propert= y_u32" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_fdt_property_u32" =3D xyes +then : ac_have_decl=3D1 -else +else $as_nop ac_have_decl=3D0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_FDT_PROPERTY_U32 $ac_have_decl -_ACEOF +printf "%s\n" "#define HAVE_DECL_FDT_PROPERTY_U32 $ac_have_decl" >>confdef= s.h =20 esac =20 # Checks for header files. -for ac_header in yajl/yajl_version.h sys/eventfd.h valgrind/memcheck.h utm= p.h -do : - as_ac_Header=3D`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_i= ncludes_default" -if eval test \"x\$"$as_ac_Header"\" =3D x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF +ac_fn_c_check_header_compile "$LINENO" "yajl/yajl_version.h" "ac_cv_header= _yajl_yajl_version_h" "$ac_includes_default" +if test "x$ac_cv_header_yajl_yajl_version_h" =3D xyes +then : + printf "%s\n" "#define HAVE_YAJL_YAJL_VERSION_H 1" >>confdefs.h =20 fi +ac_fn_c_check_header_compile "$LINENO" "sys/eventfd.h" "ac_cv_header_sys_e= ventfd_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_eventfd_h" =3D xyes +then : + printf "%s\n" "#define HAVE_SYS_EVENTFD_H 1" >>confdefs.h =20 -done +fi +ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header= _valgrind_memcheck_h" "$ac_includes_default" +if test "x$ac_cv_header_valgrind_memcheck_h" =3D xyes +then : + printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h + +fi +ac_fn_c_check_header_compile "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac= _includes_default" +if test "x$ac_cv_header_utmp_h" =3D xyes +then : + printf "%s\n" "#define HAVE_UTMP_H 1" >>confdefs.h + +fi =20 =20 # Check for libnl3 >=3D3.2.8. If present enable remus network buffering. =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNL3" >&5 -$as_echo_n "checking for LIBNL3... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNL3" >&5 +printf %s "checking for LIBNL3... " >&6; } =20 if test -n "$LIBNL3_CFLAGS"; then pkg_cv_LIBNL3_CFLAGS=3D"$LIBNL3_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"libnl-3.0 >=3D 3.2.8 libnl-route-3.0 >=3D 3.2.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libnl-3.0 >=3D 3.2.8 libnl-route-3.0 >=3D 3.2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnl-3.0 >=3D 3.2.8 libnl-route-3= .0 >=3D 3.2.8") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_LIBNL3_CFLAGS=3D`$PKG_CONFIG --cflags "libnl-3.0 >=3D 3.2.8 libnl= -route-3.0 >=3D 3.2.8" 2>/dev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9413,10 +10093,10 @@ if test -n "$LIBNL3_LIBS"; then pkg_cv_LIBNL3_LIBS=3D"$LIBNL3_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --pri= nt-errors \"libnl-3.0 >=3D 3.2.8 libnl-route-3.0 >=3D 3.2.8\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libnl-3.0 >=3D 3.2.8 libnl-route-3.0 >=3D 3.2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnl-3.0 >=3D 3.2.8 libnl-route-3= .0 >=3D 3.2.8") 2>&5 ac_status=3D$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; then pkg_cv_LIBNL3_LIBS=3D`$PKG_CONFIG --libs "libnl-3.0 >=3D 3.2.8 libnl-rou= te-3.0 >=3D 3.2.8" 2>/dev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9430,8 +10110,8 @@ fi =20 =20 if test $pkg_failed =3D yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } =20 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=3Dyes @@ -9448,29 +10128,30 @@ fi =20 libnl3_lib=3D"n" elif test $pkg_failed =3D untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } libnl3_lib=3D"n" else LIBNL3_CFLAGS=3D$pkg_cv_LIBNL3_CFLAGS LIBNL3_LIBS=3D$pkg_cv_LIBNL3_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } libnl3_lib=3D"y" fi =20 -if test "x$libnl3_lib" =3D "xn" ; then : +if test "x$libnl3_lib" =3D "xn" +then : =20 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling support fo= r Remus network buffering and COLO. + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling suppo= rt for Remus network buffering and COLO. Please install libnl3 libraries (including libnl3-route), command line= tools and devel headers - version 3.2.8 or higher" >&5 -$as_echo "$as_me: WARNING: Disabling support for Remus network buffering a= nd COLO. +printf "%s\n" "$as_me: WARNING: Disabling support for Remus network buffer= ing and COLO. Please install libnl3 libraries (including libnl3-route), command line= tools and devel headers - version 3.2.8 or higher" >&2;} libnl=3Dn =20 =20 -else +else $as_nop =20 libnl=3Dy =20 @@ -9486,20 +10167,24 @@ fi # ! $rump =20 =20 # Check whether --enable-systemd was given. -if test "${enable_systemd+set}" =3D set; then : +if test ${enable_systemd+y} +then : enableval=3D$enable_systemd; fi =20 =20 -if test "x$enable_systemd" =3D "xno"; then : +if test "x$enable_systemd" =3D "xno" +then : =20 ax_cv_systemd=3D"n" =20 -elif test "x$enable_systemd" =3D "xyes"; then : +elif test "x$enable_systemd" =3D "xyes" +then : =20 ax_cv_systemd=3D"y" =20 -elif test -z $ax_cv_systemd; then : +elif test -z $ax_cv_systemd +then : =20 ax_cv_systemd=3D"n" =20 @@ -9510,9 +10195,10 @@ systemd=3D$ax_cv_systemd =20 =20 # Check whether --with-systemd was given. -if test "${with_systemd+set}" =3D set; then : +if test ${with_systemd+y} +then : withval=3D$with_systemd; SYSTEMD_DIR=3D"$withval" -else +else $as_nop SYSTEMD_DIR=3D"" fi =20 @@ -9520,9 +10206,10 @@ fi =20 =20 # Check whether --with-systemd-modules-load was given. -if test "${with_systemd_modules_load+set}" =3D set; then : +if test ${with_systemd_modules_load+y} +then : withval=3D$with_systemd_modules_load; SYSTEMD_MODULES_LOAD=3D"$withval" -else +else $as_nop SYSTEMD_MODULES_LOAD=3D"" fi =20 @@ -9530,57 +10217,65 @@ fi =20 =20 =20 - if test "x$enable_systemd" !=3D "xno"; then : + if test "x$enable_systemd" !=3D "xno" +then : =20 - if test "x$systemd" =3D "xy" ; then : + if test "x$systemd" =3D "xy" +then : =20 =20 -$as_echo "#define HAVE_SYSTEMD 1" >>confdefs.h +printf "%s\n" "#define HAVE_SYSTEMD 1" >>confdefs.h =20 systemd=3Dy =20 - if test "x$SYSTEMD_DIR" =3D x; then : + if test "x$SYSTEMD_DIR" =3D x +then : =20 SYSTEMD_D= IR=3D"\$(prefix)/lib/systemd/system/" =20 fi =20 - if test "x$SYSTEMD_DIR" =3D x; then : + if test "x$SYSTEMD_DIR" =3D x +then : =20 as_fn_error $? "SYSTEMD_DIR is unset" "$LINENO" 5 =20 fi =20 - if test "x$SYSTEMD_MODULES_LOAD" =3D x; then : + if test "x$SYSTEMD_MODULES_LOAD" =3D x +then : =20 SYSTEMD_MODULES_LOAD=3D"\$(prefix)/lib/modules-load.d/" =20 fi =20 - if test "x$SYSTEMD_MODULES_LOAD" =3D x; then : + if test "x$SYSTEMD_MODULES_LOAD" =3D x +then : =20 as_fn_error $? "SYSTEMD_MODULES_LOAD is unset" "$LINENO" 5 =20 fi =20 =20 -else +else $as_nop =20 - if test "x$enable_systemd" =3D "xyes"; then : + if test "x$enable_systemd" =3D "xyes" +then : as_fn_error $? "Unable to find systemd development library" "$LINENO" 5 -else +else $as_nop systemd=3Dn fi =20 fi =20 -else +else $as_nop systemd=3Dn fi =20 =20 =20 -if test "x$systemd" =3D "xy"; then : +if test "x$systemd" =3D "xy" +then : =20 ac_config_files=3D"$ac_config_files hotplug/Linux/systemd/proc-xen.mou= nt hotplug/Linux/systemd/xen-init-dom0.service hotplug/Linux/systemd/xen-qe= mu-dom0-disk-backend.service hotplug/Linux/systemd/xen-watchdog.service hot= plug/Linux/systemd/xenconsoled.service hotplug/Linux/systemd/xendomains.ser= vice hotplug/Linux/systemd/xendriverdomain.service hotplug/Linux/systemd/xe= nstored.service" =20 @@ -9588,10 +10283,12 @@ if test "x$systemd" =3D "xy"; then : fi =20 # Check whether --enable-9pfs was given. -if test "${enable_9pfs+set}" =3D set; then : - enableval=3D$enable_9pfs; if test "x$enable_9pfs" =3D "xyes"; then : +if test ${enable_9pfs+y} +then : + enableval=3D$enable_9pfs; if test "x$enable_9pfs" =3D "xyes" +then : ninepfs=3Dy -else +else $as_nop ninepfs=3Dn fi fi @@ -9600,13 +10297,15 @@ fi =20 =20 # Check whether --enable-pvshim was given. -if test "${enable_pvshim+set}" =3D set; then : - enableval=3D$enable_pvshim; if test "x$enable_pvshim" =3D "xno"; then : +if test ${enable_pvshim+y} +then : + enableval=3D$enable_pvshim; if test "x$enable_pvshim" =3D "xno" +then : pvshim=3Dn -else +else $as_nop pvshim=3Dy fi -else +else $as_nop =20 cpu=3D`test -z "$target_cpu" && echo "$host_cpu" || echo "$target_cpu"` case "${XEN_COMPILE_ARCH-${XEN_TARGET_ARCH-$cpu}}" in @@ -9618,15 +10317,17 @@ else fi =20 =20 -if test "x$pvshim" =3D "xy"; then : +if test "x$pvshim" =3D "xy" +then : =20 # Extract the first word of "bison", so it can be a program name with = args. set dummy bison; 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 ${ac_cv_path_BISON+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_BISON+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $BISON in [\\/]* | ?:[\\/]*) ac_cv_path_BISON=3D"$BISON" # Let the user override the test with a path. @@ -9636,11 +10337,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BISON=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_BISON=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -9653,11 +10358,11 @@ esac fi BISON=3D$ac_cv_path_BISON if test -n "$BISON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 -$as_echo "$BISON" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 +printf "%s\n" "$BISON" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -9666,15 +10371,16 @@ then as_fn_error $? "Unable to find bison, please install bison" "$LINENO" 5 fi =20 -else +else $as_nop =20 # Extract the first word of "bison", so it can be a program name with = args. set dummy bison; 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 ${ac_cv_path_BISON+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_BISON+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $BISON in [\\/]* | ?:[\\/]*) ac_cv_path_BISON=3D"$BISON" # Let the user override the test with a path. @@ -9684,11 +10390,15 @@ else for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_BISON=3D"$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_BISON=3D"$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_e= xec_ext" >&5 break 2 fi done @@ -9700,11 +10410,11 @@ esac fi BISON=3D$ac_cv_path_BISON if test -n "$BISON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 -$as_echo "$BISON" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 +printf "%s\n" "$BISON" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi =20 =20 @@ -9714,53 +10424,52 @@ fi =20 ax_found=3D0 =20 - if test "$ax_found" =3D "0"; then : + if test "$ax_found" =3D "0" +then : =20 - ac_fn_c_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_en= dian_h" "$ac_includes_default" -if test "x$ac_cv_header_endian_h" =3D xyes; then : + ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_en= dian_h" "$ac_includes_default" +if test "x$ac_cv_header_endian_h" =3D xyes +then : =20 =20 -$as_echo "#define INCLUDE_ENDIAN_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_ENDIAN_H " >>confdefs.h =20 ax_found=3D1 fi =20 =20 - fi =20 - if test "$ax_found" =3D "0"; then : + if test "$ax_found" =3D "0" +then : =20 - ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_heade= r_sys_endian_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_endian_h" =3D xyes; then : + ac_fn_c_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_heade= r_sys_endian_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_endian_h" =3D xyes +then : =20 =20 -$as_echo "#define INCLUDE_ENDIAN_H " >>confdefs.h +printf "%s\n" "#define INCLUDE_ENDIAN_H " >>confdefs.h =20 ax_found=3D1 fi =20 =20 - fi =20 -if test "$ax_found" =3D "0"; then : +if test "$ax_found" =3D "0" +then : =20 as_fn_error $? "No header found from list endian.h sys/endian.h" "$LIN= ENO" 5 =20 fi =20 =20 -for ac_func in pipe2 -do : - ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2" -if test "x$ac_cv_func_pipe2" =3D xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PIPE2 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2" +if test "x$ac_cv_func_pipe2" =3D xyes +then : + printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h =20 fi -done =20 =20 cat >confcache <<\_ACEOF @@ -9790,8 +10499,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache= variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline"= >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -9821,15 +10530,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var = contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test "${\1+set}" =3D set || &/ + s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=3D]*\)=3D\(.*\)$/\1=3D${\1=3D\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" !=3D "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file"= >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_= file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -9843,8 +10552,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache= $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable = cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -9861,7 +10570,7 @@ U=3D for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue # 1. Remove the extension, and $U if already installed. ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=3D`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -9877,8 +10586,8 @@ LTLIBOBJS=3D$ac_ltlibobjs ac_write_fail=3D0 ac_clean_files_save=3D$ac_clean_files ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=3D0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=3D1 #! $SHELL @@ -9901,14 +10610,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=3D1 =20 # Be more Bourne compatible DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=3D: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=3D: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'=3D'"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -9918,46 +10629,46 @@ esac fi =20 =20 + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=3D' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi +IFS=3D" "" $as_nl" + +PS1=3D'$ ' +PS2=3D'> ' +PS4=3D'+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=3DC +export LC_ALL +LANGUAGE=3DC +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi =20 # The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=3D: (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || @@ -9966,13 +10677,6 @@ if test "${PATH_SEPARATOR+set}" !=3D set; then fi =20 =20 -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself=3D case $0 in #(( @@ -9981,8 +10685,12 @@ case $0 in #(( for as_dir in $PATH do IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=3D./ ;; + */) ;; + *) as_dir=3D$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=3D$as_dir$0 && break done IFS=3D$as_save_IFS =20 @@ -9994,30 +10702,10 @@ if test "x$as_myself" =3D x; then as_myself=3D$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an abso= lute file name" >&2 exit 1 fi =20 -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH =20 =20 # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -10030,13 +10718,14 @@ as_fn_error () as_status=3D$1; test $as_status -eq 0 && as_status=3D1 if test "$4"; then as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error =20 =20 + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -10063,18 +10752,20 @@ as_fn_unset () { eval $1=3D; unset $1;} } as_unset=3Das_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. = Take # advantage of any shell optimizations that allow amortized linear growth = over # repeated appends, instead of the typical quadratic growth present in nai= ve # implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : +if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=3D\$2 }' -else +else $as_nop as_fn_append () { eval $1=3D\$$1\$2 @@ -10086,12 +10777,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The argum= ents # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=3D$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=3D`expr "$@" || test $? -eq 1` @@ -10122,7 +10814,7 @@ as_me=3D`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -10144,6 +10836,10 @@ as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS as_cr_digits=3D'0123456789' as_cr_alnum=3D$as_cr_Letters$as_cr_digits =20 + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBS= Ted +# for compatibility with existing Makefiles. ECHO_C=3D ECHO_N=3D ECHO_T=3D case `echo -n x` in #((((( -n*) @@ -10157,6 +10853,12 @@ case `echo -n x` in #((((( ECHO_N=3D'-n';; esac =20 +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo=3D'printf %s\n' +as_echo_n=3D'printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -10198,7 +10900,7 @@ as_fn_mkdir_p () as_dirs=3D while :; do case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=3D`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;= ; #'( *) as_qdir=3D$as_dir;; esac as_dirs=3D"'$as_qdir' $as_dirs" @@ -10207,7 +10909,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' = \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -10270,7 +10972,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 # values after options handling. ac_log=3D" This file was extended by Xen Hypervisor Tools $as_me 4.19, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was =20 CONFIG_FILES =3D $CONFIG_FILES CONFIG_HEADERS =3D $CONFIG_HEADERS @@ -10329,14 +11031,16 @@ Report bugs to . Xen Hypervisor Tools home page: ." =20 _ACEOF +ac_cs_config=3D`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote= "` +ac_cs_config_escaped=3D`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'= \\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]= /\\\\&/g'`" +ac_cs_config=3D'$ac_cs_config_escaped' ac_cs_version=3D"\\ Xen Hypervisor Tools config.status 4.19 -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" =20 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." =20 @@ -10375,15 +11079,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=3D: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=3D: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=3D`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g= "` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -10391,7 +11095,7 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=3D`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g= "` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=3Dfalse;; @@ -10400,7 +11104,7 @@ do as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=3D: ;; @@ -10428,7 +11132,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-crea= te --no-recursion shift - \$as_echo "running CONFIG_SHELL=3D$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=3D$SHELL \$*" >&6 CONFIG_SHELL=3D'$SHELL' export CONFIG_SHELL exec "\$@" @@ -10442,7 +11146,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 =20 _ACEOF @@ -10494,8 +11198,8 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" =3D set || CONFIG_FILES=3D$config_files - test "${CONFIG_HEADERS+set}" =3D set || CONFIG_HEADERS=3D$config_headers + test ${CONFIG_FILES+y} || CONFIG_FILES=3D$config_files + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=3D$config_headers fi =20 # Have a temporary directory for convenience. Make it in the build tree @@ -10831,7 +11535,7 @@ do esac || 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 + case $ac_f in *\'*) ac_f=3D`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\= \\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done =20 @@ -10839,17 +11543,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input=3D'Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" !=3D x-; then configure_input=3D"$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement stri= ngs. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=3D`$as_echo "$configure_input" | + ac_sed_conf_input=3D`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=3D$configure_input;; esac @@ -10866,7 +11570,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$'= \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -10890,9 +11594,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=3D/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` + ac_top_builddir_sub=3D`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|= /..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; @@ -10949,8 +11653,8 @@ ac_sed_dataroot=3D' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=3Dyes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems = to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootd= ir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs s= eems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --data= rootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 ac_datarootdir_hack=3D' @@ -10993,9 +11697,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" = && { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out= "; } && { 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 re= ference to the variable \`datarootdir' + { printf "%s\n" "$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' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the varia= ble \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} =20 rm -f "$ac_tmp/stdin" @@ -11011,20 +11715,20 @@ which seems to be undefined. Please make sure it= is defined" >&2;} # if test x"$ac_file" !=3D x-; then { - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && 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" "$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;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged"= >&5 +printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$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 */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi @@ -11065,7 +11769,8 @@ if test "$no_create" !=3D yes; then $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" !=3D = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: = $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&= 2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized opti= ons: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt= s" >&2;} fi =20 + --=20 2.39.2 From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192867; cv=none; d=zohomail.com; s=zohoarc; b=gEOJG6PRT9XWZZY5O1ys1qgfqoRTbqc4sImUZTk76W7RtsH4YdkJ6IL9ZxbagC5hu2c3f6PRatfWUawEIx/ZL7ePguTYhoHb+b9aqNKjqjGp6gjVkPxXZH74TBIC63MsmHyJpuS8/CSbbKDotFfuSL6uiIn8HBygIqV/ltfxryI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192867; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OcZcOS3Zfs0qn5whvyKffCaiaSIRTopD2hbn/NMOSac=; b=NrnNM75KwY1HZHhIMw2kiXonZpE/MbzRU9tATuk8WkMJoqZ2qo3hmyn0v8uVE8CVuxU90poE3Ot8lGurNkkUo3nThUzhTacbsoPWO/+KgRR1PnTMATK13kXaQZg5JVS9UFoNOJTjLye9+QFMZkFjwuNHKGmGlEh67js2yvKGEss= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 172019286772550.17788996981085; Fri, 5 Jul 2024 08:21:07 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754378.1162800 (Exim 4.92) (envelope-from ) id 1sPkk3-0000Ol-AA; Fri, 05 Jul 2024 15:20:55 +0000 Received: by outflank-mailman (output) from mailman id 754378.1162800; Fri, 05 Jul 2024 15:20:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk3-0000Oc-7E; Fri, 05 Jul 2024 15:20:55 +0000 Received: by outflank-mailman (input) for mailman id 754378; Fri, 05 Jul 2024 15:20:53 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk1-00005r-9i for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:20:53 +0000 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [2a00:1450:4864:20::535]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2a2e1b15-3ae2-11ef-8776-851b0ebba9a2; Fri, 05 Jul 2024 17:20:51 +0200 (CEST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-58f9874aeb4so1178733a12.0 for ; Fri, 05 Jul 2024 08:20:51 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:47 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2a2e1b15-3ae2-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192850; x=1720797650; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OcZcOS3Zfs0qn5whvyKffCaiaSIRTopD2hbn/NMOSac=; b=fiKR+IhIQHV5NGy+/YevliOo039PKAOHjc8f8vvmgX5p4V9xoxGHFKa1m2nUPldCxn 7uzq4ktfNSfuMyiwrTINTspp7u7z3lQTbAm/5WCVhimM2YFt6jFmsYv0NZYxuPOCU48B OI6c5I8J7bDHkKDP436BVNcwIX2SDyGlQvJfw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192850; x=1720797650; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OcZcOS3Zfs0qn5whvyKffCaiaSIRTopD2hbn/NMOSac=; b=qGBPf++B0q6w5/fscGc+utFN0SX/38m8iJUxyFc2IRf8e6YYQB6DdrEVlmhrD55AhQ XuYK0Cc7/39Bc9RP7uNjtDkLyGe9+ECIitZQQfCyhODS/je7z/j423jGXI/rt4YNOidD FBAryCLlAteJnkol5Nng8BRwzjDcUNynjtnMZki3nF63DkVHkeVg8+QwAi2nz9WlzYXH wIYBfhw13vDihdT4G1zD+JoI712nrrVqYhyKORt0ncnNZdAv3t2KOlisByDmpa8hzkhW V+25GsmY4HIsgbh3CiUoXJT4j1xVCeVkpa5LqB3uTcnoQKH0xfE/wsdR0l4j2zHz3Ody fIeA== X-Gm-Message-State: AOJu0YzHJL8LGGFCeXIpeCRgU6y33svGou/JvSwe/VejigLmJ2a/A6hF bx3ZgcRsIoL9iShfCGq3qJu8zN6wftFwJNR+es23g6Nz4c9Hka876gugZTG3UVlePfkPhfoa33O a X-Google-Smtp-Source: AGHT+IHFfV8n32lBYuoEDVkYpY4UpnOOVGoPJhADeAiwu+PZuCiN4zx8kwRW/ds3I9uR6+zovrlcQg== X-Received: by 2002:a17:906:40d0:b0:a72:5bb9:b140 with SMTP id a640c23a62f3a-a77ba7123abmr307449966b.54.1720192849948; Fri, 05 Jul 2024 08:20:49 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 2/6] build: Fix the version of python checked for by ./configure Date: Fri, 5 Jul 2024 16:20:33 +0100 Message-Id: <20240705152037.1920276-3-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192867987100002 We previously upped the minimum python version to 2.6, but neglected to reflect this in ./configure Fixes: 2a353c048c68 ("tools: Don't use distutils in configure or Makefile") Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- tools/configure | 8 ++++---- tools/configure.ac | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/configure b/tools/configure index 6c1084b7b28a..d160ca296202 100755 --- a/tools/configure +++ b/tools/configure @@ -8298,15 +8298,15 @@ if test x"${PYTHONPATH}" =3D x"no" then as_fn_error $? "Unable to find $PYTHON, please install $PYTHON" "$LINE= NO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python version = >=3D 2.6 " >&5 -printf %s "checking for python version >=3D 2.6 ... " >&6; } -`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < (2, 6)"))'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python version = >=3D 2.7 " >&5 +printf %s "checking for python version >=3D 2.7 ... " >&6; } +`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < (2, 7)"))'` if test "$?" !=3D "0" then python_version=3D`$PYTHON -V 2>&1` { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - as_fn_error $? "$python_version is too old, minimum required version i= s 2.6" "$LINENO" 5 + as_fn_error $? "$python_version is too old, minimum required version i= s 2.7" "$LINENO" 5 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } diff --git a/tools/configure.ac b/tools/configure.ac index ac0fdc4314c4..be58f06be450 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -385,7 +385,7 @@ PYTHONPATH=3D$PYTHON PYTHON=3D`basename $PYTHONPATH` =20 AX_PATH_PROG_OR_FAIL([PYTHONPATH], [$PYTHON]) -AX_CHECK_PYTHON_VERSION([2], [6]) +AX_CHECK_PYTHON_VERSION([2], [7]) =20 AS_IF([test "$cross_compiling" !=3D yes], [ AX_CHECK_PYTHON_DEVEL() --=20 2.39.2 From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192868; cv=none; d=zohomail.com; s=zohoarc; b=iOnx3EmF+i3UuP02b3sulggLRzKNtqoKZG8JHRGMKQa8S8G7jhjM2NqVzC5s+2dPbiK7KLKCovpbdnBNJQ4I4ObNV3c1iN+Mr4Fhtn0csF4VZkZT3dsFe9AHmTSpI6+uMRjV2TdnXk8L4TxhtunQSS89LJY/ZZ4ht+pEdRJxbtE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192868; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=9RsY7qHLBDpmN5RBhIFj+m8bA6KpQJwlop/AqMRUPys=; b=KaB6wVSrWspEZWDOmuc81+ZEim+coYXuIuMGISsq/sMrhgEHOXO1IlJ/xRwa634OWJjSSNBu5xmVG5GhUx9MCpmQ93pkEhWovpGN6rPj9XtI/HVsSD5UAgEMCyvr8iMoSBonb7tJZS3gjlmpTmTNdRmAdPW9NCFCwTZKFNoK7+E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720192868251658.0740486141564; Fri, 5 Jul 2024 08:21:08 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754380.1162810 (Exim 4.92) (envelope-from ) id 1sPkk4-0000eN-NR; Fri, 05 Jul 2024 15:20:56 +0000 Received: by outflank-mailman (output) from mailman id 754380.1162810; Fri, 05 Jul 2024 15:20:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk4-0000eE-Jn; Fri, 05 Jul 2024 15:20:56 +0000 Received: by outflank-mailman (input) for mailman id 754380; Fri, 05 Jul 2024 15:20:55 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk3-00005r-GL for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:20:55 +0000 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [2a00:1450:4864:20::630]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2b806a58-3ae2-11ef-8776-851b0ebba9a2; Fri, 05 Jul 2024 17:20:54 +0200 (CEST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a77cc73d35fso128052866b.0 for ; Fri, 05 Jul 2024 08:20:53 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:50 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2b806a58-3ae2-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192852; x=1720797652; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9RsY7qHLBDpmN5RBhIFj+m8bA6KpQJwlop/AqMRUPys=; b=Xfff/cU/BebwGydq29rDiWpeICpYMNiaW0tb94/6T9WRea35zU5L7BMysbSC95I/Dg OW/zEhggVzrC3VCreqjX/wQvRwlosZddlGeeIgqubmabAr6KMl38XrItJagfn6quqax8 GcezK4EbrHOesMZ/mxJ+thdYoD1SyqwU5m2qQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192852; x=1720797652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9RsY7qHLBDpmN5RBhIFj+m8bA6KpQJwlop/AqMRUPys=; b=BgKCTibr9Yu/3qaJXvQLsDZ3Es7wAkj5RuPyy+5BHCRebX0mChK3jXD0p8wLcZ+2Ay 4IWhTDWjPgyMr597q7ckgluL188OtIgpF8ZqlaQPIAF5toPFKkr7bkNxRwJUWi5WfbDv 8OEoEIbmET+agqjLRIu1ltBmi+52WiwRhYBC727dMIhb0CWBm5cQK+HN2zJGfrSvsqGy eddmY5YDpnghpANMTbVfjstEnreE0X2zNPGYqvVzksv4E0o7oH0T/ZOTNlXyguuhzpFn 7psK8OkhmXQbOC307ub5BCOsnVl0Bf/5BwZBaN63nCJzXuwyDZWOsWqjxe2KWRIDtmm5 zCMQ== X-Gm-Message-State: AOJu0YwR9iQKoZOZ+6ie5Z1C9iObsNHIkt81ahHO/GSWthrrTsAmzc1K Ro9j1ObIOT40TlpJ5EXURhiU1/pKEbGSnFTGjRsoG2NCQrX1zmhUrwsCHrThfzAXLWHMc52C7r2 S X-Google-Smtp-Source: AGHT+IEUqicLhTF2Vy7ebyBcpumBY34rI/HzX0ZtYduWTO6rLzH+96/Ci2l71kCnHj9CWuF107L6gQ== X-Received: by 2002:a17:906:2b15:b0:a77:cdae:6a59 with SMTP id a640c23a62f3a-a77cdae6ab2mr166683766b.21.1720192852558; Fri, 05 Jul 2024 08:20:52 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 3/6] CI: Refresh the Coverity Github Action configuration Date: Fri, 5 Jul 2024 16:20:34 +0100 Message-Id: <20240705152037.1920276-4-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192869991100005 Update to Ubuntu 24.04, and checkout@v4 as v2 is deprecated. The build step goes out of it's way to exclude docs and stubdom (but include plain MiniOS), so disable those at the ./configure stage. Refresh the package list. libbz2-dev was in there twice, and e2fslibs-dev = is a a transitional package to libext2fs-dev. I'm not aware of libtool ever having been a Xen dependency. Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- .github/workflows/coverity.yml | 36 ++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 60ac8dee5570..984636eb4635 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -8,27 +8,39 @@ on: =20 jobs: coverity: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Install build dependencies run: | - sudo apt-get install -y wget git gawk \ - libbz2-dev build-essential \ - zlib1g-dev libncurses5-dev iasl \ - libbz2-dev e2fslibs-dev uuid-dev ocaml \ - ocaml-findlib libyajl-dev \ - autoconf libtool liblzma-dev \ - python3-dev golang libsystemd-dev + sudo apt-get install -y \ + build-essential \ + git-core \ + golang \ + iasl \ + libbz2-dev \ + libext2fs-dev \ + liblzma-dev \ + libncurses5-dev \ + libyajl-dev \ + libzstd-dev \ + ocaml \ + ocaml-findlib \ + python3-dev \ + uuid-dev \ + zlib1g-dev \ =20 - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: staging =20 - name: Configure Xen run: | - ./configure --with-system-qemu=3D/bin/true \ - --with-system-seabios=3D/bin/true \ - --with-system-ovmf=3D/bin/true + ./configure \ + --disable-docs \ + --disable-stubdom \ + --with-system-qemu=3D/bin/true \ + --with-system-seabios=3D/bin/true \ + --with-system-ovmf=3D/bin/true \ =20 - name: Pre build stuff run: | --=20 2.39.2 From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192875; cv=none; d=zohomail.com; s=zohoarc; b=PDAYvgphp/kVjfOA/ehdtM0d13nhgHxmqY/Q8EtwAHkFQjDkcoa1ryJXd8F2hzfkhF3OZibvGuvJL6Mt71MqrkMFztoe9Dhgzavnk5EBrFcaneWcCSNfW5PKmdJBQmTVLbD4EghcrT9MJhvoSRD/dmSxCVdyDNwwwEg9Y1Bd+yc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192875; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sT+xxLG3kZnyjXAlIz0M6MDg+PHf3LnnsejdSoFepz8=; b=Ue3hTSNIwsKy95evNaOJBB+zvS4tY1sImYt+JUmf4ib6PHVgeA6qYkQtHC3nHtvSo5WKVhyNl9b8hOL7H7KaaBw2bnwiOgra1/6yWz8PKfTg/RDbJBW95RMRQvyZzrhSljJtknd/iCPg+e6vkq0ma5Azhq0z8yFacptfyOiJroI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 172019287546052.22142946278257; Fri, 5 Jul 2024 08:21:15 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754381.1162820 (Exim 4.92) (envelope-from ) id 1sPkk8-0000xF-0V; Fri, 05 Jul 2024 15:21:00 +0000 Received: by outflank-mailman (output) from mailman id 754381.1162820; Fri, 05 Jul 2024 15:20:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk7-0000x8-Sm; Fri, 05 Jul 2024 15:20:59 +0000 Received: by outflank-mailman (input) for mailman id 754381; Fri, 05 Jul 2024 15:20:58 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk6-00005r-7d for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:20:58 +0000 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [2a00:1450:4864:20::131]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2cfda7dd-3ae2-11ef-8776-851b0ebba9a2; Fri, 05 Jul 2024 17:20:56 +0200 (CEST) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-52e97e5a84bso2653088e87.2 for ; Fri, 05 Jul 2024 08:20:56 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:53 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2cfda7dd-3ae2-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192855; x=1720797655; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sT+xxLG3kZnyjXAlIz0M6MDg+PHf3LnnsejdSoFepz8=; b=lnRbrznt1xdP69UWQa7GMi2dY5QXw1H+qeuM8Zz2diar0bEGvnMnjTsI2p/D2oDAP9 vzvSZQ03ccwnQ/NDlf0JiIt1yrxz3Ek8pbi2j0Rxz4WyLgqAswi8nR/J1faQIHKawMnB eVpWdxRRgEKODaCI/5sSpVZANihDWIgEwHEV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192855; x=1720797655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sT+xxLG3kZnyjXAlIz0M6MDg+PHf3LnnsejdSoFepz8=; b=Yu/eJld8tQPuhffmTsvKyHWS0GmUjXf2Ra7Wm1PZALPFM68YzJFZfQoqmis1z4NpUN fOlqXxXeRZBKsNQ2KIi5S5TrGEPvf0uXV3q/iZFCH4EHl0k73g7rNqRhQRJ1Z+mO5Uel 41F2AVC02nqMEdQNjhT4BtLL0AUg/PsPEl3m4cfKYWs4ttEmXnZe5c+KLv6MSqR7l2Tv 32Hnr6lHmAXeqXVHZUXDewmv1vxn7ysBxgROyEahlltoW+WVGvV8Q+oAOcDvIjdFt6gJ 7irDv9i9qxK4oMj8EQp7AQr6kBJJv76pM/HsK5jygVM+/tgyrq+T7Yx/2kL/kUWUCVr1 5Yzg== X-Gm-Message-State: AOJu0Yyho4fx+C5JTmWk+rZmZ2sxGvYqUhK9VMQD/bPMkmvWK+s01Gp1 K1oAVdu416v33CnV6hL32ccTPM/4VcrbVS9x+vwlSuQCHfcmNWWi/W354l62gSRh+dEScxGQ/p4 w X-Google-Smtp-Source: AGHT+IHr/559GdKD55LPJiuUxD7c0dVxFt/ehoT4DI2J2v2gILtxbbGaqd7xzT+33/1n3Bfff7RkaA== X-Received: by 2002:ac2:55a8:0:b0:52c:daa4:2f6a with SMTP id 2adb3069b0e04-52ea06c8b5dmr4219256e87.64.1720192854836; Fri, 05 Jul 2024 08:20:54 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 4/6] build: Drop openssl as a build dependency Date: Fri, 5 Jul 2024 16:20:35 +0100 Message-Id: <20240705152037.1920276-5-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192876023100001 The final user was blktap1, removed in Xen 4.6. Fixes: f6bcc035084a ("tools: remove blktap1") Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- README | 1 - automation/build/debian/bookworm-arm64v8.dockerfile | 1 - automation/build/debian/bookworm-i386.dockerfile | 1 - automation/build/debian/bookworm.dockerfile | 1 - automation/build/debian/jessie-i386.dockerfile | 1 - automation/build/debian/jessie.dockerfile | 1 - automation/build/debian/stretch-i386.dockerfile | 1 - automation/build/debian/stretch.dockerfile | 1 - automation/build/fedora/29.dockerfile | 1 - automation/build/ubuntu/bionic.dockerfile | 1 - automation/build/ubuntu/focal.dockerfile | 1 - automation/build/ubuntu/trusty.dockerfile | 1 - automation/build/ubuntu/xenial.dockerfile | 1 - automation/tests-artifacts/kernel/5.19-arm64v8.dockerfile | 1 - automation/tests-artifacts/kernel/6.1.19.dockerfile | 1 - 15 files changed, 15 deletions(-) diff --git a/README b/README index 428e45549a88..bf6b8cd4d658 100644 --- a/README +++ b/README @@ -52,7 +52,6 @@ provided by your OS distributor: * Development install of zlib (e.g., zlib-dev) * Development install of Python 2.7 or later (e.g., python-dev) * Development install of curses (e.g., libncurses-dev) - * Development install of openssl (e.g., openssl-dev) * Development install of x11 (e.g. xorg-x11-dev) * Development install of uuid (e.g. uuid-dev) * Development install of yajl (e.g. libyajl-dev) diff --git a/automation/build/debian/bookworm-arm64v8.dockerfile b/automati= on/build/debian/bookworm-arm64v8.dockerfile index 3ab426a082d3..a36b04e75e95 100644 --- a/automation/build/debian/bookworm-arm64v8.dockerfile +++ b/automation/build/debian/bookworm-arm64v8.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python3-dev \ python3-setuptools \ xorg-dev \ diff --git a/automation/build/debian/bookworm-i386.dockerfile b/automation/= build/debian/bookworm-i386.dockerfile index 9a54bd7293dc..2ccf32193f26 100644 --- a/automation/build/debian/bookworm-i386.dockerfile +++ b/automation/build/debian/bookworm-i386.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python3-dev \ python3-setuptools \ xorg-dev \ diff --git a/automation/build/debian/bookworm.dockerfile b/automation/build= /debian/bookworm.dockerfile index bef44dd75300..d02e3df61f76 100644 --- a/automation/build/debian/bookworm.dockerfile +++ b/automation/build/debian/bookworm.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python3-dev \ python3-setuptools \ xorg-dev \ diff --git a/automation/build/debian/jessie-i386.dockerfile b/automation/bu= ild/debian/jessie-i386.dockerfile index 1eb7ff11c7d3..d66d0692029b 100644 --- a/automation/build/debian/jessie-i386.dockerfile +++ b/automation/build/debian/jessie-i386.dockerfile @@ -24,7 +24,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ xorg-dev \ uuid-dev \ diff --git a/automation/build/debian/jessie.dockerfile b/automation/build/d= ebian/jessie.dockerfile index 4c0ffe66f8fe..53c3bb28f175 100644 --- a/automation/build/debian/jessie.dockerfile +++ b/automation/build/debian/jessie.dockerfile @@ -22,7 +22,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ xorg-dev \ uuid-dev \ diff --git a/automation/build/debian/stretch-i386.dockerfile b/automation/b= uild/debian/stretch-i386.dockerfile index 8ec9c3a24667..36108335e5c7 100644 --- a/automation/build/debian/stretch-i386.dockerfile +++ b/automation/build/debian/stretch-i386.dockerfile @@ -24,7 +24,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ python3-dev \ xorg-dev \ diff --git a/automation/build/debian/stretch.dockerfile b/automation/build/= debian/stretch.dockerfile index 2db4552662de..c5339d3c835f 100644 --- a/automation/build/debian/stretch.dockerfile +++ b/automation/build/debian/stretch.dockerfile @@ -22,7 +22,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ python3-dev \ xorg-dev \ diff --git a/automation/build/fedora/29.dockerfile b/automation/build/fedor= a/29.dockerfile index 08edf70838f9..d5f017ac723d 100644 --- a/automation/build/fedora/29.dockerfile +++ b/automation/build/fedora/29.dockerfile @@ -10,7 +10,6 @@ RUN dnf -y install \ gcc-c++ \ ncurses-devel \ zlib-devel \ - openssl-devel \ python-devel \ python3-devel \ libuuid-devel \ diff --git a/automation/build/ubuntu/bionic.dockerfile b/automation/build/u= buntu/bionic.dockerfile index cc43fc4ade12..c83624e8ca1e 100644 --- a/automation/build/ubuntu/bionic.dockerfile +++ b/automation/build/ubuntu/bionic.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ python3-dev \ xorg-dev \ diff --git a/automation/build/ubuntu/focal.dockerfile b/automation/build/ub= untu/focal.dockerfile index cb8bb2f6faee..cabbebf37754 100644 --- a/automation/build/ubuntu/focal.dockerfile +++ b/automation/build/ubuntu/focal.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python3-dev \ python3-setuptools \ xorg-dev \ diff --git a/automation/build/ubuntu/trusty.dockerfile b/automation/build/u= buntu/trusty.dockerfile index e2a1bda7c3a8..ecbcb71b1c21 100644 --- a/automation/build/ubuntu/trusty.dockerfile +++ b/automation/build/ubuntu/trusty.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ python3-dev \ xorg-dev \ diff --git a/automation/build/ubuntu/xenial.dockerfile b/automation/build/u= buntu/xenial.dockerfile index 168bc70ffad8..13ecae7a0b81 100644 --- a/automation/build/ubuntu/xenial.dockerfile +++ b/automation/build/ubuntu/xenial.dockerfile @@ -15,7 +15,6 @@ RUN apt-get update && \ build-essential \ zlib1g-dev \ libncurses5-dev \ - libssl-dev \ python-dev \ python3-dev \ xorg-dev \ diff --git a/automation/tests-artifacts/kernel/5.19-arm64v8.dockerfile b/au= tomation/tests-artifacts/kernel/5.19-arm64v8.dockerfile index 22359c906630..8e33995ba34b 100644 --- a/automation/tests-artifacts/kernel/5.19-arm64v8.dockerfile +++ b/automation/tests-artifacts/kernel/5.19-arm64v8.dockerfile @@ -14,7 +14,6 @@ WORKDIR /build RUN apt-get update && \ apt-get --quiet --yes install \ build-essential \ - libssl-dev \ bc \ curl \ flex \ diff --git a/automation/tests-artifacts/kernel/6.1.19.dockerfile b/automati= on/tests-artifacts/kernel/6.1.19.dockerfile index 5cf53d290c6f..073eaa0e11fa 100644 --- a/automation/tests-artifacts/kernel/6.1.19.dockerfile +++ b/automation/tests-artifacts/kernel/6.1.19.dockerfile @@ -14,7 +14,6 @@ WORKDIR /build RUN apt-get update && \ apt-get --quiet --yes install \ build-essential \ - libssl-dev \ bc \ curl \ flex \ --=20 2.39.2 From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192877; cv=none; d=zohomail.com; s=zohoarc; b=djsVeYveIG3bxTcIxVRX5VvVZamnWY/DuDJPeDhBh0T3Q+L71ggyvOlE5guWqBB3m1fELFKDmLneeC54plysoh4UcqesPiY5fxOgx82yAaxEre0nfyoz2ad1ngux5dHlkR19gIHkdQEEXf8M8oBCgK+ZF7ZYdNM6awao3Q7B1Ho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192877; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=hDrEkFynCgXmYP6100i30F3LjhYaE8VtO5iNBg/lqOUUapIwLbG0KIn36Q7/VKa9ePu7Hh1GZxxrScMN8g0NAkAnKGocnsy5GSK24I6DQtSNZ5MuCWEocdmk8Np/6+WBcG9FR50gIoIXj/0AhS0JJmRJyK2dbbfs3oEBWATY9F8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720192877452870.7282881672153; Fri, 5 Jul 2024 08:21:17 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754382.1162829 (Exim 4.92) (envelope-from ) id 1sPkkA-0001FN-CK; Fri, 05 Jul 2024 15:21:02 +0000 Received: by outflank-mailman (output) from mailman id 754382.1162829; Fri, 05 Jul 2024 15:21:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkkA-0001F5-8X; Fri, 05 Jul 2024 15:21:02 +0000 Received: by outflank-mailman (input) for mailman id 754382; Fri, 05 Jul 2024 15:21:00 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk8-0000wu-8m for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:21:00 +0000 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [2a00:1450:4864:20::62f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2e964345-3ae2-11ef-bbfb-fd08da9f4363; Fri, 05 Jul 2024 17:20:59 +0200 (CEST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a77dc08db60so42852966b.1 for ; Fri, 05 Jul 2024 08:20:59 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:55 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2e964345-3ae2-11ef-bbfb-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192857; x=1720797657; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=m1ZryXSD+ZNR0kckVErXDkNOX2+b9CRlopOUV6pLqG3VtuiQlaRdfe2NLQp95nfD1S WMs/c+yiFgzyirJNJgHX43dbdgAsyx1Nj5K4VYE2pTYjbj0GVzTkR3AzhFDrQcdgQwQ2 afaPHN82n1+jjAD48lpsxOp/lenjsC0UdKm/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192857; x=1720797657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=OkswTzTQHYpPXf8Z1ZXCSn8qLA5BYSzoVYAlRiD27LenpEOlIu+t4xnvzoPoK1sEnB v7Y75lvEVVz7XMiU84BkkWvarbsoBc6JwpzLduNQUnu8Vz/2V2RRrB8IpgQMhIwGPnLw rlcmST7QY6DHBGR2xPSGF8FMOEeB3szZvQnLX8D2Jdpi61p2R5ttgkskLDJnNToj88vp 6+TZPexKHYGmpNoMfqt5LfwbmWeV5lUF+xk+8LEkXXvV8gAiDevy0v3WHlktuV4E0BT1 7GoCdroJBnM1sLscvtv2nhS/OZizOBJ+k5X6Jp1BLOPfz2pcM8qO9tbeIEw3cL7ct23A mfBA== X-Gm-Message-State: AOJu0Yxd9SLbnqfBAFCD3sPF/fRzJ85/UFq+G2efus7+Vz9Veid7bo6C +XKJl9KHUko+IhWIEnUAxDDdx05fdVksq7j7+IHf4VMBE0mqGlKtb5VNkeFVkrivfbPDtNLVxUK H X-Google-Smtp-Source: AGHT+IFRbOGurfv59zC9qn5TLJtpqb9RPgCgMax2itDGmMfsMfHQAwkabLK81IJttLIcrCvcd+h4gQ== X-Received: by 2002:a17:906:b352:b0:a72:6e13:a4b6 with SMTP id a640c23a62f3a-a77ba70d6d7mr348126466b.58.1720192857367; Fri, 05 Jul 2024 08:20:57 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 5/6] build: Drop libiconv as a build dependecy Date: Fri, 5 Jul 2024 16:20:36 +0100 Message-Id: <20240705152037.1920276-6-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192878122100001 The final user was blktap2, removed in Xen 4.13. Strip out the ./configure check for it, and stop explicitly installing it in the FreeBSD testing. Fixes: 2a556b63a22d ("Drop blktap2") Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- .cirrus.yml | 2 +- config/Tools.mk.in | 1 - tools/configure | 44 -------------------------------------------- tools/configure.ac | 2 -- 4 files changed, 1 insertion(+), 48 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c431d8d2447d..72227916c736 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ freebsd_template: &FREEBSD_TEMPLATE APPEND_INCLUDES: /usr/local/include =20 install_script: pkg install -y seabios gmake ninja bash - pkgconf python libiconv bison perl5 + pkgconf python bison perl5 yajl lzo2 pixman argp-standalone libxml2 glib git =20 diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 50fbef841f3f..37c071961e57 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -61,7 +61,6 @@ LINUX_BACKEND_MODULES :=3D @LINUX_BACKEND_MODULES@ #System options ZLIB_CFLAGS :=3D @ZLIB_CFLAGS@ ZLIB_LIBS :=3D @ZLIB_LIBS@ -CONFIG_LIBICONV :=3D @libiconv@ EXTFS_LIBS :=3D @EXTFS_LIBS@ CURSES_LIBS :=3D @CURSES_LIBS@ TINFO_LIBS :=3D @TINFO_LIBS@ diff --git a/tools/configure b/tools/configure index d160ca296202..d64818f258d0 100755 --- a/tools/configure +++ b/tools/configure @@ -659,7 +659,6 @@ libnl LIBNL3_LIBS LIBNL3_CFLAGS argp_ldflags -libiconv PTHREAD_LIBS PTHREAD_LDFLAGS PTHREAD_CFLAGS @@ -9741,49 +9740,6 @@ else $as_nop as_fn_error $? "Could not find zlib" "$LINENO" 5 fi =20 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv_open i= n -liconv" >&5 -printf %s "checking for libiconv_open in -liconv... " >&6; } -if test ${ac_cv_lib_iconv_libiconv_open+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=3D$LIBS -LIBS=3D"-liconv $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char libiconv_open (); -int -main (void) -{ -return libiconv_open (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - ac_cv_lib_iconv_libiconv_open=3Dyes -else $as_nop - ac_cv_lib_iconv_libiconv_open=3Dno -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -LIBS=3D$ac_check_lib_save_LIBS -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_lib= iconv_open" >&5 -printf "%s\n" "$ac_cv_lib_iconv_libiconv_open" >&6; } -if test "x$ac_cv_lib_iconv_libiconv_open" =3D xyes -then : - libiconv=3D"y" -else $as_nop - libiconv=3D"n" -fi - - ac_fn_c_check_header_compile "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac= _includes_default" if test "x$ac_cv_header_argp_h" =3D xyes then : diff --git a/tools/configure.ac b/tools/configure.ac index be58f06be450..0dd6d747abb5 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -444,8 +444,6 @@ AX_CHECK_PTHREAD AC_CHECK_LIB([yajl], [yajl_alloc], [], [AC_MSG_ERROR([Could not find yajl])]) AC_CHECK_LIB([z], [deflateCopy], [], [AC_MSG_ERROR([Could not find zlib])]) -AC_CHECK_LIB([iconv], [libiconv_open], [libiconv=3D"y"], [libiconv=3D"n"]) -AC_SUBST(libiconv) AC_CHECK_HEADER([argp.h], [ AC_CHECK_LIB([argp], [argp_usage], [argp_ldflags=3D"-largp"]) ], [AC_MSG_ERROR([Could not find argp])]) --=20 2.39.2 From nobody Mon Sep 16 18:57:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192881; cv=none; d=zohomail.com; s=zohoarc; b=HIGXxh/dqEe68jyYh9Xhco8Sj9X5mIAkZJ+25ucHN05YbuoTfrhe/C1m+O/2FY7f6jP1k7YqAYjdmXdoifbjGnjNNYjxYJae7sFZCfYDrSDJIn9qXuRnmXH4usPtXx/BUqnZzDHDcJwB4M1TPeFVXCx+UeiFeM0zPg/kA5A/GB0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192881; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4mBOORP0APxjA42q2fZJxxL6p1x9ELenOCs/p9DU+hM=; b=VKIeb89ORZm2LGVCgZCG/plvKspD37KddUv3KAePAEivcxwDNVV/G9CRg3HVGfQwIkq8uopI+O8F8Bj3usMIxXKHMvT896eW/CnqUhjVv9VeHv2BpN3K6qpIIFCAVRszpjHHMROXkYZVAqN8nkiNBG4pd68js+GBAXBNyUArTPg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720192881148755.7191860134078; Fri, 5 Jul 2024 08:21:21 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754383.1162840 (Exim 4.92) (envelope-from ) id 1sPkkD-0001bj-NV; Fri, 05 Jul 2024 15:21:05 +0000 Received: by outflank-mailman (output) from mailman id 754383.1162840; Fri, 05 Jul 2024 15:21:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkkD-0001bY-J7; Fri, 05 Jul 2024 15:21:05 +0000 Received: by outflank-mailman (input) for mailman id 754383; Fri, 05 Jul 2024 15:21:05 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkkC-00005r-UZ for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:21:04 +0000 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [2a00:1450:4864:20::62f]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 30dcf5c9-3ae2-11ef-8776-851b0ebba9a2; Fri, 05 Jul 2024 17:21:03 +0200 (CEST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a77c2d89af8so163401066b.2 for ; Fri, 05 Jul 2024 08:21:03 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:57 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 30dcf5c9-3ae2-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192860; x=1720797660; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4mBOORP0APxjA42q2fZJxxL6p1x9ELenOCs/p9DU+hM=; b=KC4aVeREmp86Nldjhk3GhyNFUBlTrXDstX9UdAWBmY1c973JEUNtOpkUUiE8i8Pl5M MrmpEq/NLHqi2Hcgnv2SFX0tZzig51qscXS0Cf86d1hExZMi6pQvYKt+ev4d2N7BhZmG 6ZqBP4znYMz6U2cnbRQP201wXLxdg4UsRTarA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192860; x=1720797660; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4mBOORP0APxjA42q2fZJxxL6p1x9ELenOCs/p9DU+hM=; b=mMJMOm/II+IRtIJzvorWHyQbpoaRs0GayBdA/Qw+4tGtsUQZeDzqhx8LzqMEKeqHbj ts1rcxlajG7DMOLgmu+6/9lnaDB4s0Jpn1pJ4D6aGPXxQkcttdxiawB5dc/ug30Wquuh mrlq2tZFgkH3NAOyGidvUi1/Aq+oxIhuhbQdZY0elUvYUGCJo2UZHikCSaB0/SDL1ynE XXuYWQCbEl0yG2LEwpm5tVZZQLUXDCULOvEh2TMTNsdoFPV2AjMHmY3DBPly9hbK1Emm WWWv6vi0oLddUOyOKRMxN4oYae/nbH0Q5k8zqoWnf12A27kUIGQcdkU1mpMwm2LiaGvj D1mg== X-Gm-Message-State: AOJu0Yy5O8PezLEaWJBWpclUK9l+9V338vFfFRZ2GNjReAY7PQrJketQ d2//BOHIZjYtRE35HVF71uygtmYQTQNJDpYFMXDj5HHxf3XHrWy4Bi13dBouekwRkKNHiWznt+b i X-Google-Smtp-Source: AGHT+IH1z7OAs0N5y/GAUOVNaaeDtRhVTz+AmQPZ3nv9yzGggkSbfyVrVIFdtFZOmB0bXxODaz7lkA== X-Received: by 2002:a17:906:2712:b0:a72:5f9a:159a with SMTP id a640c23a62f3a-a77ba44d1c1mr324831366b.2.1720192859992; Fri, 05 Jul 2024 08:20:59 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 6/6] build: Drop xorg-x11 as a build dependency Date: Fri, 5 Jul 2024 16:20:37 +0100 Message-Id: <20240705152037.1920276-7-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192882034100001 The history on this one is complicated. The note to README was added in commit 1f95747a4f16 ("Add openssl-dev and xorg-x11-dev to README") in 2007. At the time, there was a vendered version of Qemu in xen.git with a local modification using to access the monitor console over VNC. The final reference to keysymdef.h was dropped in commit 85896a7c4dc7 ("bui= ld: add autoconf to replace custom checks in tools/check") in 2012. The next prior mention was in 2009 with commit a8ccb671c377 ("tools: fix x11 check") noting that x11 was not a direct dependcy of Xen; it was transitive through SDL for Qemu for source-based distros. These days its only the Debian based dockerfiles which install xorg-x11, and Qemu builds fine in these and others without x11. Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko This in particular should shrink the size of the containers somewhat. --- README | 1 - automation/build/debian/bookworm-arm64v8.dockerfile | 1 - automation/build/debian/bookworm-i386.dockerfile | 1 - automation/build/debian/bookworm.dockerfile | 1 - automation/build/debian/jessie-i386.dockerfile | 1 - automation/build/debian/jessie.dockerfile | 1 - automation/build/debian/stretch-i386.dockerfile | 1 - automation/build/debian/stretch.dockerfile | 1 - automation/build/ubuntu/bionic.dockerfile | 1 - automation/build/ubuntu/focal.dockerfile | 1 - automation/build/ubuntu/trusty.dockerfile | 1 - automation/build/ubuntu/xenial.dockerfile | 1 - 12 files changed, 12 deletions(-) diff --git a/README b/README index bf6b8cd4d658..560247e7103c 100644 --- a/README +++ b/README @@ -52,7 +52,6 @@ provided by your OS distributor: * Development install of zlib (e.g., zlib-dev) * Development install of Python 2.7 or later (e.g., python-dev) * Development install of curses (e.g., libncurses-dev) - * Development install of x11 (e.g. xorg-x11-dev) * Development install of uuid (e.g. uuid-dev) * Development install of yajl (e.g. libyajl-dev) * Development install of libaio (e.g. libaio-dev) version 0.3.107 or diff --git a/automation/build/debian/bookworm-arm64v8.dockerfile b/automati= on/build/debian/bookworm-arm64v8.dockerfile index a36b04e75e95..11acc07bff0e 100644 --- a/automation/build/debian/bookworm-arm64v8.dockerfile +++ b/automation/build/debian/bookworm-arm64v8.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python3-dev \ python3-setuptools \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/bookworm-i386.dockerfile b/automation/= build/debian/bookworm-i386.dockerfile index 2ccf32193f26..66fa3121c54e 100644 --- a/automation/build/debian/bookworm-i386.dockerfile +++ b/automation/build/debian/bookworm-i386.dockerfile @@ -19,7 +19,6 @@ RUN apt-get update && \ libncurses5-dev \ python3-dev \ python3-setuptools \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/bookworm.dockerfile b/automation/build= /debian/bookworm.dockerfile index d02e3df61f76..db866fde3074 100644 --- a/automation/build/debian/bookworm.dockerfile +++ b/automation/build/debian/bookworm.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python3-dev \ python3-setuptools \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/jessie-i386.dockerfile b/automation/bu= ild/debian/jessie-i386.dockerfile index d66d0692029b..dfa6dae06cb8 100644 --- a/automation/build/debian/jessie-i386.dockerfile +++ b/automation/build/debian/jessie-i386.dockerfile @@ -25,7 +25,6 @@ RUN apt-get update && \ zlib1g-dev \ libncurses5-dev \ python-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/jessie.dockerfile b/automation/build/d= ebian/jessie.dockerfile index 53c3bb28f175..82dae9ec70c4 100644 --- a/automation/build/debian/jessie.dockerfile +++ b/automation/build/debian/jessie.dockerfile @@ -23,7 +23,6 @@ RUN apt-get update && \ zlib1g-dev \ libncurses5-dev \ python-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/stretch-i386.dockerfile b/automation/b= uild/debian/stretch-i386.dockerfile index 36108335e5c7..905096ab0ef1 100644 --- a/automation/build/debian/stretch-i386.dockerfile +++ b/automation/build/debian/stretch-i386.dockerfile @@ -26,7 +26,6 @@ RUN apt-get update && \ libncurses5-dev \ python-dev \ python3-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/debian/stretch.dockerfile b/automation/build/= debian/stretch.dockerfile index c5339d3c835f..b99d229acf14 100644 --- a/automation/build/debian/stretch.dockerfile +++ b/automation/build/debian/stretch.dockerfile @@ -24,7 +24,6 @@ RUN apt-get update && \ libncurses5-dev \ python-dev \ python3-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/ubuntu/bionic.dockerfile b/automation/build/u= buntu/bionic.dockerfile index c83624e8ca1e..c1effc725e17 100644 --- a/automation/build/ubuntu/bionic.dockerfile +++ b/automation/build/ubuntu/bionic.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python-dev \ python3-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/ubuntu/focal.dockerfile b/automation/build/ub= untu/focal.dockerfile index cabbebf37754..b49e53d185b4 100644 --- a/automation/build/ubuntu/focal.dockerfile +++ b/automation/build/ubuntu/focal.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python3-dev \ python3-setuptools \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/ubuntu/trusty.dockerfile b/automation/build/u= buntu/trusty.dockerfile index ecbcb71b1c21..1cda1bbd3fea 100644 --- a/automation/build/ubuntu/trusty.dockerfile +++ b/automation/build/ubuntu/trusty.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python-dev \ python3-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ diff --git a/automation/build/ubuntu/xenial.dockerfile b/automation/build/u= buntu/xenial.dockerfile index 13ecae7a0b81..aa8f560286b6 100644 --- a/automation/build/ubuntu/xenial.dockerfile +++ b/automation/build/ubuntu/xenial.dockerfile @@ -17,7 +17,6 @@ RUN apt-get update && \ libncurses5-dev \ python-dev \ python3-dev \ - xorg-dev \ uuid-dev \ libyajl-dev \ libaio-dev \ --=20 2.39.2