From nobody Tue May 14 04:41:29 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=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1694451158; cv=none; d=zohomail.com; s=zohoarc; b=h3hDeHhrtzCsCoLCPMyT6NMJ6ctF7uC7V9HHSZBM7z6jRHvBLnZdC+gJVMDA0spNK68LaCJ8qFxi5MAyDxWBy7gquKTZefrLjbsW8OBmWrkoHA7dnsFtm1CEvzUEGBrgWtW7/u64TSXag1TD61rzascFIQx35X3g7Mu/mI/iOLM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694451158; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DuvtUcntTTNou/RWe1jYCTA4tsoauev6PPJ3eOrOD8c=; b=SY+hS8mnSxmCbecHYG7RzZFFEiNR8o/AFRNw0Gxqb9Sq6BBMJPd6naX1kMxkIizSqKVQMdiSgwIsi6G1IZRdpWl1DSETuGppKCBxH37oavzDZxPbbwmNKQawQbB8nzJbK6v0aXtvuX4vLemWOq6u6ZPXdVaCye2Th7zdMbjbb/c= 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 1694451158796100.52171538935465; Mon, 11 Sep 2023 09:52:38 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.599649.935161 (Exim 4.92) (envelope-from ) id 1qfk94-0005xH-5p; Mon, 11 Sep 2023 16:52:18 +0000 Received: by outflank-mailman (output) from mailman id 599649.935161; Mon, 11 Sep 2023 16:52:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qfk94-0005x8-14; Mon, 11 Sep 2023 16:52:18 +0000 Received: by outflank-mailman (input) for mailman id 599649; Mon, 11 Sep 2023 16:52:16 +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 1qfk92-0005g0-Dm for xen-devel@lists.xenproject.org; Mon, 11 Sep 2023 16:52:16 +0000 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [2a00:1450:4864:20::32a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8fccec2d-50c3-11ee-8785-cb3800f73035; Mon, 11 Sep 2023 18:52:15 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-403004a96a4so26106895e9.3 for ; Mon, 11 Sep 2023 09:52:15 -0700 (PDT) Received: from EMEAENG6DZjqCfH.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id b13-20020a05600c11cd00b003fefcbe7fa8sm10578124wmi.28.2023.09.11.09.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:52:14 -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: 8fccec2d-50c3-11ee-8785-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1694451135; x=1695055935; 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=DuvtUcntTTNou/RWe1jYCTA4tsoauev6PPJ3eOrOD8c=; b=Qc3jxJr91UQX5/ONOoA8OsK90rGQLLHJ8JVckiTSXDYfeD21Nuiwg8PSpsIDw51twt WSKw+1vaRyLu51oN/I8Fr3fxPfxy6MCdF+MknAAc0E7PIaagt5d4lNaGmeqr8pTE52WD JwUSkeGqQPqxVs8ByssdGQNzgIc1tGLZzq6L8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451135; x=1695055935; 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=DuvtUcntTTNou/RWe1jYCTA4tsoauev6PPJ3eOrOD8c=; b=IM/Y4SxepMCF3+zvYgDE/KYdRUWQbUm/1x5QTmF0o2ktS73XrB3ebvHX6CnF5WOUby F2Pqi22t/W7KL+bCSh3aqG0DtHM91Bl3WTC1iXHGazawzDtEE1ynTi38iZjzLZXxekgE keiAw4ohv7RifGzgfOtZh6ccwozY+5qAvk9nM6r/9AGjpmC/mNqcX6fhoKCYvNqDAWB/ IqeelE4PXFjIw7oxn7JoL+DkcocdG/6Ohv64k53nxyBxtbbmxUlhP3XWd27hMepX4V+g r7G2J3nluyfXntaWTnT4ghBKpIbwnF933sE8s80bTm/0dFRyNH8sFgKSE4Mze1Dizkh1 9YQg== X-Gm-Message-State: AOJu0Yy5sGhDQwX685VJ3LFcaGxeEUjWdTZTobt6NG5MVwV68LHr2fHY cC7jWiKqWimyD6VssLyoCaaYNerSKi9sB5AhR2k= X-Google-Smtp-Source: AGHT+IH3VUlWpvWhKwFfVjAunfmbfPAjFMwQRqfEV8Zt1XdCfIfN4XxL421AivE9o3up8hNxGQPJyw== X-Received: by 2002:a1c:7719:0:b0:401:bf87:989c with SMTP id t25-20020a1c7719000000b00401bf87989cmr9080614wmi.34.1694451134981; Mon, 11 Sep 2023 09:52:14 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , George Dunlap , Andrew Cooper , Javi Merino , Doug Goldstein , Stefano Stabellini Subject: [XEN PATCH v2 1/5] automation: add python3's setuptools to containers Date: Mon, 11 Sep 2023 17:51:00 +0100 Message-ID: <4f14ea4aeb44c234d9930578614a35234769fa41.1694450145.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1694451177478100001 Content-Type: text/plain; charset="utf-8" In preparation of dropping python distutils and moving to setuptools, add the python3 setuptools module to the containers that need it. The centos7 container was building using python2. Change it to build python scripts using python3. Debian Stretch is no longer debian oldstable, so move to the archive repositories. Signed-off-by: Javi Merino --- automation/build/alpine/3.18.dockerfile | 1 + automation/build/archlinux/current.dockerfile | 1 + automation/build/centos/7.dockerfile | 3 ++- automation/build/debian/bookworm.dockerfile | 1 + automation/build/debian/stretch.dockerfile | 11 ++++++++++- automation/build/suse/opensuse-leap.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 + 10 files changed, 20 insertions(+), 2 deletions(-) diff --git a/automation/build/alpine/3.18.dockerfile b/automation/build/alp= ine/3.18.dockerfile index ca5756955e..5d2a69a060 100644 --- a/automation/build/alpine/3.18.dockerfile +++ b/automation/build/alpine/3.18.dockerfile @@ -34,6 +34,7 @@ RUN apk --no-cache add \ ocaml-findlib \ patch \ python3-dev \ + py3-setuptools \ texinfo \ util-linux-dev \ xz-dev \ diff --git a/automation/build/archlinux/current.dockerfile b/automation/bui= ld/archlinux/current.dockerfile index 13fb472d9e..47e79637a4 100644 --- a/automation/build/archlinux/current.dockerfile +++ b/automation/build/archlinux/current.dockerfile @@ -34,6 +34,7 @@ RUN pacman -S --refresh --sysupgrade --noconfirm --noprog= ressbar --needed \ pixman \ pkgconfig \ python \ + python-setuptools \ sdl \ sdl2 \ spice \ diff --git a/automation/build/centos/7.dockerfile b/automation/build/centos= /7.dockerfile index 69dcefb2f0..f14f70014a 100644 --- a/automation/build/centos/7.dockerfile +++ b/automation/build/centos/7.dockerfile @@ -22,7 +22,8 @@ RUN yum -y update \ ncurses-devel \ zlib-devel \ openssl-devel \ - python-devel \ + python3-devel \ + python3-setuptools \ libuuid-devel \ pkgconfig \ flex \ diff --git a/automation/build/debian/bookworm.dockerfile b/automation/build= /debian/bookworm.dockerfile index f8415425e6..ae008c8d46 100644 --- a/automation/build/debian/bookworm.dockerfile +++ b/automation/build/debian/bookworm.dockerfile @@ -16,6 +16,7 @@ RUN apt-get update && \ libncurses5-dev \ libssl-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ diff --git a/automation/build/debian/stretch.dockerfile b/automation/build/= debian/stretch.dockerfile index 1af6c691f8..9f4b91a9e3 100644 --- a/automation/build/debian/stretch.dockerfile +++ b/automation/build/debian/stretch.dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian/eol:stretch LABEL maintainer.name=3D"The Xen Project" \ maintainer.email=3D"xen-devel@lists.xenproject.org" =20 @@ -8,6 +8,14 @@ ENV USER root RUN mkdir /build WORKDIR /build =20 +# Debian stretch is now archived. Fetch packages from +# archive.debian.org and skip the stretch-updates repository, as it is +# not longer valid. +RUN sed -i \ + -e 's/deb.debian.org/archive.debian.org/' \ + -e '/stretch-updates/d' \ + /etc/apt/sources.list + # build depends RUN apt-get update && \ apt-get --quiet --yes install \ @@ -17,6 +25,7 @@ RUN apt-get update && \ libssl-dev \ python-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ diff --git a/automation/build/suse/opensuse-leap.dockerfile b/automation/bu= ild/suse/opensuse-leap.dockerfile index 98ee42970d..7010b71aca 100644 --- a/automation/build/suse/opensuse-leap.dockerfile +++ b/automation/build/suse/opensuse-leap.dockerfile @@ -60,6 +60,7 @@ RUN zypper install -y --no-recommends \ 'pkgconfig(sdl)' \ 'pkgconfig(sdl2)' \ python3-devel \ + python3-setuptools \ systemd-devel \ tar \ transfig \ diff --git a/automation/build/ubuntu/bionic.dockerfile b/automation/build/u= buntu/bionic.dockerfile index e15f54431e..9cceb11ef9 100644 --- a/automation/build/ubuntu/bionic.dockerfile +++ b/automation/build/ubuntu/bionic.dockerfile @@ -17,6 +17,7 @@ RUN apt-get update && \ libssl-dev \ python-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ diff --git a/automation/build/ubuntu/focal.dockerfile b/automation/build/ub= untu/focal.dockerfile index 9c851c0620..e3d11194ee 100644 --- a/automation/build/ubuntu/focal.dockerfile +++ b/automation/build/ubuntu/focal.dockerfile @@ -16,6 +16,7 @@ RUN apt-get update && \ libncurses5-dev \ libssl-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ diff --git a/automation/build/ubuntu/trusty.dockerfile b/automation/build/u= buntu/trusty.dockerfile index 22e294c20c..7e819c8e4e 100644 --- a/automation/build/ubuntu/trusty.dockerfile +++ b/automation/build/ubuntu/trusty.dockerfile @@ -17,6 +17,7 @@ RUN apt-get update && \ libssl-dev \ python-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ diff --git a/automation/build/ubuntu/xenial.dockerfile b/automation/build/u= buntu/xenial.dockerfile index 2d2ba3e31f..19464eead8 100644 --- a/automation/build/ubuntu/xenial.dockerfile +++ b/automation/build/ubuntu/xenial.dockerfile @@ -17,6 +17,7 @@ RUN apt-get update && \ libssl-dev \ python-dev \ python3-dev \ + python3-setuptools \ xorg-dev \ uuid-dev \ libyajl-dev \ --=20 2.41.0 From nobody Tue May 14 04:41:29 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=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1694451168; cv=none; d=zohomail.com; s=zohoarc; b=WnybyYyAetCgwd6OEHHTAtw40dVVMnhkk9lH3YqtyVCOZHGdFr7iSA7svNGzu39sBbgxXE/mbb8jLDnz63UIUs9Fk2oUlAXnHAu4vkZsfvDMUYpL1Tty0P/ShElnqYYw+BDO7Nag+/bHVcxS9wQVdfw40E6AKlPtq0LaLkVCzyg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694451168; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NPUcGvGyoZtUdDG2Nxa8yoBsHfZ5dRgf57gwUnI5hXg=; b=UHYnEygljiWGyhpsdLEK9iIe6VCCgrfuie94ksXomRUJoITUZX+sFC1yv0fTk1fmdcQO1C8sj1ItrImLrcDvYOFlz0gxKbb8zRHt/KSNxHw88RHYsC8sc00HhwhbHP71vtUbRzu2tzLyV62rzaVBMiza+v34bFhHCHcuYCkBocI= 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 169445116878464.08401984153522; Mon, 11 Sep 2023 09:52:48 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.599652.935171 (Exim 4.92) (envelope-from ) id 1qfk9I-0006Pt-Hz; Mon, 11 Sep 2023 16:52:32 +0000 Received: by outflank-mailman (output) from mailman id 599652.935171; Mon, 11 Sep 2023 16:52:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qfk9I-0006Pm-DH; Mon, 11 Sep 2023 16:52:32 +0000 Received: by outflank-mailman (input) for mailman id 599652; Mon, 11 Sep 2023 16:52:31 +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 1qfk9H-0006IO-Im for xen-devel@lists.xenproject.org; Mon, 11 Sep 2023 16:52:31 +0000 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [2a00:1450:4864:20::32a]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 9829e386-50c3-11ee-9b0d-b553b5be7939; Mon, 11 Sep 2023 18:52:29 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-401d80f4ef8so50431035e9.1 for ; Mon, 11 Sep 2023 09:52:29 -0700 (PDT) Received: from EMEAENG6DZjqCfH.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id b13-20020a05600c11cd00b003fefcbe7fa8sm10578124wmi.28.2023.09.11.09.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:52:28 -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: 9829e386-50c3-11ee-9b0d-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1694451149; x=1695055949; 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=NPUcGvGyoZtUdDG2Nxa8yoBsHfZ5dRgf57gwUnI5hXg=; b=OxXvUGee6XZyf3z33ttMhQ1oYU8QNHmOxJ3rite7IR8Lur8pl1Anj9D1/2jGZa+wpJ 8y9Sr0ZsvqAnSyNFX+k2joaJIX7bhenF/l0pHL2DJ4gcBGm06SeWU3+MVOnByCX5wNhO 9jUNu32+z735aEgk+kyzuure9AbgS9mQKonc0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451149; x=1695055949; 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=NPUcGvGyoZtUdDG2Nxa8yoBsHfZ5dRgf57gwUnI5hXg=; b=biD1nki3UAV9Mvee/HZviB7fz6zAcHCzy6Qo0R+vuOKWbK5/kDA81vU9P6Nm1CEyS9 lELOdOexwtjc2ZBSsmWIfYVN1QFdOebZk4ujDjTyVCoiFHP6fIdb3c3rjVLCCqkmKIv9 UJyBjCqQcZnxgerCWRXczZXVGaqKMbcsYeElkGQh96T8FCw2lXZPbpN+pDnPKkHC/4sA hfpy/eceChhwPYTex86sW8k6BbClsl3UuUroSzDHOmvzOkM0MM7WMYi/JcL8C4BSvyCf r7xEyKZHO6G9EmxWbEGSgfNKKEChFjvVDHzqr+40ePsjE6OmimuqxdoUlEQMRvhRhdHF 6lWQ== X-Gm-Message-State: AOJu0Yx8GqcV+aUs5nPlLSziW93OgFwTG4zsI1I7txwnCh6HNgcIOTLa 9L7SfdEwbkGiRg9Nq9tOBxRdqrCB10cjAA8YOLA= X-Google-Smtp-Source: AGHT+IHN/ovhaR6mjY3qL7uU8D/wrB7TP/wwMhxYq9QMHykbkMHUUDv0lt3Jsem2HVW0/ZkkpQYncw== X-Received: by 2002:a05:600c:1e14:b0:401:d1a3:d7f7 with SMTP id ay20-20020a05600c1e1400b00401d1a3d7f7mr8340896wmb.30.1694451149168; Mon, 11 Sep 2023 09:52:29 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , George Dunlap , Andrew Cooper , Wei Liu , Anthony PERARD Subject: [XEN PATCH v2 2/5] tools: convert setup.py to use setuptools Date: Mon, 11 Sep 2023 17:51:01 +0100 Message-ID: <9bbf71efc710dc869baf0c5ba926630e81181620.1694450145.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1694451179594100005 From: Marek Marczykowski-G=C3=B3recki Python distutils is deprecated and is going to be removed in Python 3.12. Migrate to setuptools. Setuptools in Python 3.11 complains: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and= pip and other standards-based tools. Keep using setup.py anyway to build C extension. Signed-off-by: Marek Marczykowski-G=C3=B3recki --- tools/pygrub/setup.py | 8 ++++++-- tools/python/setup.py | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/pygrub/setup.py b/tools/pygrub/setup.py index 502aa4df2d..f9e8feb2e6 100644 --- a/tools/pygrub/setup.py +++ b/tools/pygrub/setup.py @@ -1,5 +1,9 @@ -from distutils.core import setup, Extension -from distutils.ccompiler import new_compiler +try: + from setuptools import setup, Extension +except ImportError: + # distutils was removed in Python 3.12. If this import fails, + # install setuptools. + from distutils.core import setup, Extension import os import sys =20 diff --git a/tools/python/setup.py b/tools/python/setup.py index 721a3141d7..e8111bd098 100644 --- a/tools/python/setup.py +++ b/tools/python/setup.py @@ -1,5 +1,9 @@ - -from distutils.core import setup, Extension +try: + from setuptools import setup, Extension +except ImportError: + # distutils was removed in Python 3.12. If this import fails, + # install setuptools. + from distutils.core import setup, Extension import os, sys =20 XEN_ROOT =3D "../.." --=20 2.41.0 From nobody Tue May 14 04:41:29 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=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1694451177; cv=none; d=zohomail.com; s=zohoarc; b=lvpvO9X76S+LnMDhN8xZlcLW9bUS+Atm7XY6LqwW9SY4Ps8ngEeryL0FcPiN6dy/M0QNFni/PD0mJor4B7wkqu3qyE9YfyaMeBou07APQ0cPHfFP8+vsRChKkf+QMyLYCvMylwtC6ZklBA0zSd6riB6EBdUVm1ei4lOVt7+yg4w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694451177; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=uWR3yQmcKWDwWpf/I8JOHNwbnGjcKvY7WPldaM6ij1o=; b=UVaHrHdOZzj+63iSJUiYQ/4DIJjOKALQYRVwwKpgud18E5c0sXbiX74BcYNHBAdWIC8j9H4BRHCpEw+hAPBYYNH1L+HyQYkWukE3lOUyakIK07ZxV3+ZPbY3MfEk/vGfLO0bQ44L0R0K0beDrLkLKmO1J/bp2P3L30uiTVATPuo= 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 1694451177053970.5163911677731; Mon, 11 Sep 2023 09:52:57 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.599656.935180 (Exim 4.92) (envelope-from ) id 1qfk9N-0006pZ-OT; Mon, 11 Sep 2023 16:52:37 +0000 Received: by outflank-mailman (output) from mailman id 599656.935180; Mon, 11 Sep 2023 16:52:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qfk9N-0006pN-Lf; Mon, 11 Sep 2023 16:52:37 +0000 Received: by outflank-mailman (input) for mailman id 599656; Mon, 11 Sep 2023 16:52:37 +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 1qfk9M-0005g0-WE for xen-devel@lists.xenproject.org; Mon, 11 Sep 2023 16:52:37 +0000 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [2a00:1450:4864:20::32e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 9c20fdec-50c3-11ee-8785-cb3800f73035; Mon, 11 Sep 2023 18:52:36 +0200 (CEST) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40061928e5aso53549715e9.3 for ; Mon, 11 Sep 2023 09:52:36 -0700 (PDT) Received: from EMEAENG6DZjqCfH.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id b13-20020a05600c11cd00b003fefcbe7fa8sm10578124wmi.28.2023.09.11.09.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:52:35 -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: 9c20fdec-50c3-11ee-8785-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1694451156; x=1695055956; 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=uWR3yQmcKWDwWpf/I8JOHNwbnGjcKvY7WPldaM6ij1o=; b=UnDFuBzVwIiL0zjptQVPXdQM75uq/gQ7nO34vRXYwU/AzYYCGvJxstL2dkE7X0hUlD UwbYYe6l9IbQkFG87v8PsNrq8+Dld4XRug3Q8y9UNVLJiYPT7IXBPn8WoRtc1ccQZZMO hS/1jgXyhRU2xs7nltCdCZi0I1HG3ZbX5TH3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451156; x=1695055956; 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=uWR3yQmcKWDwWpf/I8JOHNwbnGjcKvY7WPldaM6ij1o=; b=B9YOwVBAkwCSSmAdWWiL9hVZnQ5sgnJaw8XtqP6Q0hA9NEnP+aoLNodP7At2VSp1yd GmRFF1K1Y3NfOxgdek64FpswSw2A+T0cQeCvOMie+afa1O9YMvGfRavtIpAKmaY3mSV/ lrqH9mkvqBhhzwoeIcmJ8xYtmfutlw5JnfI39Ha58ZsRWnebqzwftxML8Fm2AMD8/xno J/x8dSWGXLkKVtEAYgCrD01YgjlJgLPNc5YPrnBSNnLxxaQW4CcuXRQgwHMtV0tImIsN MP6mVoXk8ka0qvezQ7kmpFFVc18WhgBNvszTIX21Nl896tADMh4fNoFJ7hRQuimX6MRy SmBA== X-Gm-Message-State: AOJu0Yx/uLnuFwlcbEodpiHYxvbiraSNT+1RoRykb18b88oJrDV+m6t+ cxHkf30tQOQCkg0QVZXl5b+AC7EYSM0/iZ8JQ20= X-Google-Smtp-Source: AGHT+IGynlsdxSx0n9nKQMoLGfszC3U0usQq/40SvyrYxDrncH8NI7OwUIA4E8qeWqIKxlIdJ/SBJA== X-Received: by 2002:a1c:ed08:0:b0:3fe:2a98:a24c with SMTP id l8-20020a1ced08000000b003fe2a98a24cmr7875975wmh.26.1694451155696; Mon, 11 Sep 2023 09:52:35 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , George Dunlap , Andrew Cooper , Wei Liu , Anthony PERARD , Juergen Gross Subject: [XEN PATCH v2 3/5] tools: don't use distutils in configure nor Makefile Date: Mon, 11 Sep 2023 17:51:02 +0100 Message-ID: <7b3ecf211f60e0d6f7a4d146b62f9c28eff003f5.1694450145.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1694451177844100003 From: Marek Marczykowski-G=C3=B3recki Python distutils is deprecated and is going to be removed in Python 3.12. The distutils.sysconfig is available as sysconfig module in stdlib since Python 3.2, so use that directly. Signed-off-by: Marek Marczykowski-G=C3=B3recki --- m4/python_devel.m4 | 28 ++++++++++++++-------------- tools/libs/stat/Makefile | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/m4/python_devel.m4 b/m4/python_devel.m4 index bbf1e0354b..bb60857b03 100644 --- a/m4/python_devel.m4 +++ b/m4/python_devel.m4 @@ -5,21 +5,21 @@ ac_previous_libs=3D$LIBS AC_PATH_PROG([pyconfig], [$PYTHON-config], [no]) AS_IF([test x"$pyconfig" =3D x"no"], [ dnl For those that don't have python-config - CPPFLAGS=3D"$CFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print("-I" + distutils.sysconfig.get_config_var("INCLUDEPY"))'`" - CPPFLAGS=3D"$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("CFLAGS"))'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print("-L" + distutils.sysconfig.get_python_lib(plat_specific=3D1,\ + CPPFLAGS=3D"$CFLAGS `$PYTHON -c 'import sysconfig; \ + print("-I" + sysconfig.get_config_var("INCLUDEPY"))'`" + CPPFLAGS=3D"$CPPFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("CFLAGS"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print("-L" + sysconfig.get_python_lib(plat_specific=3D1,\ standard_lib=3D1) + "/config")'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LINKFORSHARED"))'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LDFLAGS"))'`" - LIBS=3D"$LIBS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LIBS"))'`" - LIBS=3D"$LIBS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("SYSLIBS"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LINKFORSHARED"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LDFLAGS"))'`" + LIBS=3D"$LIBS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LIBS"))'`" + LIBS=3D"$LIBS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("SYSLIBS"))'`" ], [ dnl If python-config is found use it CPPFLAGS=3D"$CFLAGS `$PYTHON-config --cflags`" diff --git a/tools/libs/stat/Makefile b/tools/libs/stat/Makefile index ee5c42bf7b..a968eaff48 100644 --- a/tools/libs/stat/Makefile +++ b/tools/libs/stat/Makefile @@ -73,8 +73,8 @@ $(PYLIB): $(PYSRC) python-bindings: $(PYLIB) $(PYMOD) =20 pythonlibdir =3D $(shell $(PYTHON) -c \ - 'import distutils.sysconfig as cfg; \ - print(cfg.get_python_lib(False, False, prefix=3D"$(prefix)"))') + 'import sysconfig; \ + print(sysconfig.get_python_lib("platlib", vars=3D{"platbase": "$(= prefix)"}))') =20 .PHONY: install-python-bindings install-python-bindings: $(PYLIB) $(PYMOD) --=20 2.41.0 From nobody Tue May 14 04:41:29 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=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1694451201; cv=none; d=zohomail.com; s=zohoarc; b=FCuJjeP1ZkTgMiatWH4lnU4XzrxMeNuaHdlSkaisWr4hKEQrx2ngDEWLStgwr9Vl4HgrO/GmyJ+6yyiWrJY0dtBrih2tEl57wQFu6d48szK3WncazsyuP7m4YXEEZsUpMDogeFB/pEOCszVp94qA3IHaUM07i/RX2QCr0B0M4H0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694451201; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=VqR2qbmQ9k+HZkZvv6dyUk3+Bp3evqANLfMMhBHwF8o=; b=AODLUshPS/yDfO8CnnINN0/y6Hou7jsOtT3kDwZnSApIlKz5CJ7uJjtuO8V2jV76wuosUXq0vaiYdeZScjcB/eE2BA+NtGLUBPu7nS1LW80URtUvF7jNLaeTKfGw6Y5dvIavvmVgadNE03Z+b8etcgPDVgJVfgKcS4Aps4bxbEM= 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 1694451201024850.4565326061467; Mon, 11 Sep 2023 09:53:21 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.599663.935201 (Exim 4.92) (envelope-from ) id 1qfk9c-0007i6-CX; Mon, 11 Sep 2023 16:52:52 +0000 Received: by outflank-mailman (output) from mailman id 599663.935201; Mon, 11 Sep 2023 16:52:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qfk9c-0007hv-7b; Mon, 11 Sep 2023 16:52:52 +0000 Received: by outflank-mailman (input) for mailman id 599663; Mon, 11 Sep 2023 16:52:50 +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 1qfk9Y-0005g0-Hn for xen-devel@lists.xenproject.org; Mon, 11 Sep 2023 16:52:50 +0000 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [2a00:1450:4864:20::331]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id a1a3b48c-50c3-11ee-8785-cb3800f73035; Mon, 11 Sep 2023 18:52:45 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-401d6f6b2e0so36383065e9.1 for ; Mon, 11 Sep 2023 09:52:45 -0700 (PDT) Received: from EMEAENG6DZjqCfH.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id b13-20020a05600c11cd00b003fefcbe7fa8sm10578124wmi.28.2023.09.11.09.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:52:42 -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: a1a3b48c-50c3-11ee-8785-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1694451165; x=1695055965; 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=VqR2qbmQ9k+HZkZvv6dyUk3+Bp3evqANLfMMhBHwF8o=; b=CXQ4ln9y4Lf27oAwnoV+CjaXigrbRNMc0VckIxGUOwTFDmkE9jiWVug5oYTxJDRjfm keTCDODRfX20wAPfrTonXwZsJcIYMXgxmq3GsVpvOxl0uxUsnKQnkq9Nrdqmnrd77XyT uOsVECn2M6XRGAP1vdcUm/+FvdU1CaWhV3mHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451165; x=1695055965; 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=VqR2qbmQ9k+HZkZvv6dyUk3+Bp3evqANLfMMhBHwF8o=; b=ayB0t6g06qEwAtLmC8wUySDE+dhQxPXO943heCXv+2Tjnn5xqFBW9hb8txALKhTMIF Q4Fm0i6FDRpMaGx/2m3wGtMTp1wJCeGlLfB2JgygGkoxhkLM89Ynvnk21L6mWUhP7gGR JX3UzMVJFGHaHjbn69ctWxzmFaLblfJx7Ad5Hk08lXvxVVmaTqcpCyHNCDZGvDa/eghv auVjQYESHbxYw6tfkLsYHgNbIuSobCuEMxlhjrV6kjpwniOTp+wvDbkvLb5mKYSNjAmL dN+xqBNj/wuMf4ZBF+wxeYKZl7WR12Q8lYblKw1uOXRFWVuoYl3cRrE2V6nL9olyM5NZ s/PA== X-Gm-Message-State: AOJu0Yyn1/F1McbtCL0aw7OVWE6wIVADZ6fOyPalV5wD1IN/h8/ZA6CJ sEQzE5Rr8aUBRcj8nje26MhooZ2dDBDcy6lEStQ= X-Google-Smtp-Source: AGHT+IEXPxBETIZSmKQNy+XEol7afqBvoTWqZAGBzzRJOi099Gh1JePoV6Ny42ENpVpZJpHP0QBs9Q== X-Received: by 2002:a05:600c:510a:b0:402:ebe1:7960 with SMTP id o10-20020a05600c510a00b00402ebe17960mr155995wms.2.1694451163280; Mon, 11 Sep 2023 09:52:43 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , George Dunlap , Andrew Cooper , Wei Liu , Anthony PERARD Subject: [XEN PATCH v2 4/5] tools: regenerate configure Date: Mon, 11 Sep 2023 17:51:03 +0100 Message-ID: <12addc0ab29d8f840ffec5ccd3919a65ca8e88d0.1694450145.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1694451203154100001 From: Marek Marczykowski-G=C3=B3recki Regenerate after m4/python_devel.m4 change. Signed-off-by: Marek Marczykowski-G=C3=B3recki --- tools/configure | 6551 ++++++++++++++++++++++++++--------------------- 1 file changed, 3630 insertions(+), 2921 deletions(-) diff --git a/tools/configure b/tools/configure index 96218cadc4..59beda37b8 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.18. +# Generated by GNU Autoconf 2.71 for Xen Hypervisor Tools 4.18. # # 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 @@ -658,9 +684,6 @@ PKG_CONFIG TINFO_LIBS CURSES_LIBS PY_NOOPT_CFLAGS -EGREP -GREP -CPP pyconfig PYTHONPATH BASH @@ -853,7 +876,6 @@ LD86 BCC IASL AWK -CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR @@ -935,8 +957,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 ;; @@ -977,9 +997,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" @@ -1003,9 +1023,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" @@ -1216,9 +1236,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" @@ -1232,9 +1252,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" @@ -1278,9 +1298,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 @@ -1296,7 +1316,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 @@ -1360,7 +1380,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 @@ -1603,7 +1623,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 @@ -1646,9 +1665,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/ ;; @@ -1676,7 +1695,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 @@ -1684,7 +1704,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 @@ -1694,9 +1714,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xen Hypervisor Tools configure 4.18 -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 @@ -1713,14 +1733,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 @@ -1728,14 +1748,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 @@ -1751,14 +1772,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 @@ -1766,17 +1787,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 @@ -1791,176 +1813,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 @@ -1968,26 +1820,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 @@ -1998,11 +1852,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. @@ -2010,16 +1865,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. @@ -2037,47 +1885,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 @@ -2091,27 +1943,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.18, 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 @@ -2144,8 +2019,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 @@ -2180,7 +2059,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'" ;; @@ -2215,11 +2094,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 @@ -2230,8 +2111,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) ;; #( @@ -2255,7 +2136,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 @@ -2263,14 +2144,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 @@ -2278,15 +2159,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 @@ -2294,8 +2175,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 && @@ -2309,63 +2190,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 @@ -2375,155 +2241,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;; @@ -2542,21 +2801,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;; @@ -2582,6 +2842,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' @@ -2590,11 +2859,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 @@ -2602,11 +2872,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 @@ -2617,11 +2891,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 @@ -2630,11 +2904,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 @@ -2642,11 +2917,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 @@ -2657,11 +2936,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 @@ -2669,8 +2948,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 @@ -2683,11 +2962,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 @@ -2695,11 +2975,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 @@ -2710,11 +2994,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 @@ -2723,11 +3007,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 @@ -2736,15 +3021,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 @@ -2760,18 +3049,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 @@ -2782,11 +3071,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 @@ -2794,11 +3084,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 @@ -2809,11 +3103,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 @@ -2826,11 +3120,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 @@ -2838,11 +3133,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 @@ -2853,11 +3152,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 @@ -2869,8 +3168,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 @@ -2878,25 +3177,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 @@ -2906,7 +3309,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 @@ -2914,7 +3317,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ =20 int -main () +main (void) { =20 ; @@ -2926,9 +3329,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.*" @@ -2949,11 +3352,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, @@ -2970,7 +3374,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 @@ -2986,44 +3390,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 @@ -3037,15 +3443,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 @@ -3054,7 +3460,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; @@ -3066,8 +3472,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 @@ -3075,10 +3481,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 @@ -3086,39 +3492,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 ; @@ -3132,11 +3539,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 @@ -3145,31 +3553,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 @@ -3179,29 +3588,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 @@ -3210,57 +3623,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 @@ -3275,94 +3691,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 @@ -3373,17 +3839,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 @@ -3397,44 +3865,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. */ @@ -3443,22 +3914,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 @@ -3467,43 +3939,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. */ @@ -3512,22 +3984,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 @@ -3536,40 +4009,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 @@ -3929,16 +4399,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 @@ -3956,9 +4425,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 @@ -3968,52 +4438,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 @@ -4032,9 +4505,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 @@ -4043,41 +4514,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 @@ -4093,9 +4554,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 @@ -4104,9 +4563,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 @@ -4116,20 +4573,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 @@ -4139,20 +4600,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 @@ -4162,20 +4627,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 @@ -4185,20 +4654,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 @@ -4208,20 +4681,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 @@ -4231,20 +4708,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 @@ -4254,20 +4735,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 @@ -4277,20 +4762,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 @@ -4300,20 +4789,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 @@ -4324,9 +4817,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" @@ -4356,17 +4850,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 @@ -4374,15 +4870,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 @@ -4390,14 +4888,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 ;; @@ -4407,27 +4907,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 @@ -4435,15 +4936,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. @@ -4453,11 +4956,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 @@ -4470,11 +4977,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 @@ -4484,11 +4991,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. @@ -4498,11 +5006,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 @@ -4515,11 +5027,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 @@ -4529,11 +5041,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. @@ -4543,11 +5056,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 @@ -4560,11 +5077,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 @@ -4572,11 +5089,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 @@ -4585,69 +5103,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 @@ -4655,17 +5173,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 @@ -4676,7 +5196,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) @@ -4689,7 +5210,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) @@ -4701,16 +5222,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 @@ -4718,25 +5238,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 @@ -4748,19 +5268,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 @@ -4772,19 +5292,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 ;; @@ -4842,11 +5362,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 @@ -4854,11 +5375,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 @@ -4869,11 +5394,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 @@ -4882,11 +5407,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 @@ -4894,11 +5420,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 @@ -4909,11 +5439,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 @@ -4921,8 +5451,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 @@ -4935,11 +5465,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 @@ -4947,11 +5478,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 @@ -4962,11 +5497,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 @@ -4975,11 +5510,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 @@ -4988,15 +5524,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 @@ -5012,18 +5552,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 @@ -5034,11 +5574,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 @@ -5046,11 +5587,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 @@ -5061,11 +5606,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 @@ -5078,11 +5623,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 @@ -5090,11 +5636,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 @@ -5105,11 +5655,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 @@ -5121,34 +5671,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 @@ -5158,20 +5812,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 @@ -5181,29 +5836,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 @@ -5212,57 +5871,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 @@ -5277,94 +5939,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_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. */ -#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 () -{ -return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; - ; - return 0; -} +$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 @@ -5373,13 +6085,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: @@ -5395,16 +6108,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 @@ -5418,20 +6132,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/* ) ;; @@ -5441,13 +6160,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 @@ -5455,12 +6174,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 @@ -5476,7 +6195,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 @@ -5486,8 +6205,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. @@ -5499,11 +6218,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. @@ -5513,11 +6233,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 @@ -5529,21 +6253,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. @@ -5553,11 +6278,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 @@ -5569,21 +6298,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. @@ -5593,11 +6323,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 @@ -5610,11 +6344,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 @@ -5624,11 +6358,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. @@ -5638,11 +6373,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 @@ -5655,11 +6394,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 @@ -5672,11 +6411,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 @@ -5684,11 +6424,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 @@ -5699,11 +6443,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 @@ -5712,11 +6456,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 @@ -5724,11 +6469,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 @@ -5739,11 +6488,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 @@ -5751,8 +6500,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 @@ -5764,17 +6513,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 @@ -5783,11 +6532,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 @@ -5795,11 +6545,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 @@ -5810,11 +6564,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 @@ -5823,11 +6577,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 @@ -5835,11 +6590,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 @@ -5850,11 +6609,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 @@ -5862,8 +6621,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 @@ -5874,13 +6633,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 @@ -5893,11 +6652,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 @@ -5905,11 +6665,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 @@ -5920,11 +6684,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 @@ -5933,11 +6697,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 @@ -5945,11 +6710,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 @@ -5960,11 +6729,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 @@ -5972,8 +6741,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 @@ -5985,8 +6754,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 @@ -5997,11 +6766,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 @@ -6009,11 +6779,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 @@ -6024,11 +6798,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 @@ -6037,11 +6811,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 @@ -6049,11 +6824,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 @@ -6064,11 +6843,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 @@ -6076,8 +6855,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 @@ -6089,8 +6868,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 @@ -6106,11 +6885,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 @@ -6118,11 +6898,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 @@ -6133,11 +6917,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 @@ -6146,11 +6930,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 @@ -6158,11 +6943,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 @@ -6173,11 +6962,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 @@ -6185,8 +6974,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 @@ -6200,11 +6989,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 @@ -6212,11 +7002,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 @@ -6227,11 +7021,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 @@ -6240,11 +7034,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 @@ -6252,11 +7047,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 @@ -6267,11 +7066,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 @@ -6279,8 +7078,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 @@ -6294,11 +7093,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 @@ -6306,11 +7106,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 @@ -6321,11 +7125,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 @@ -6334,11 +7138,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 @@ -6346,11 +7151,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 @@ -6361,11 +7170,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 @@ -6373,8 +7182,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 @@ -6388,11 +7197,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 @@ -6400,11 +7210,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 @@ -6415,11 +7229,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 @@ -6428,11 +7242,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 @@ -6440,11 +7255,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 @@ -6455,11 +7274,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 @@ -6467,8 +7286,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 @@ -6482,11 +7301,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 @@ -6494,11 +7314,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 @@ -6509,11 +7333,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 @@ -6522,11 +7346,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 @@ -6534,11 +7359,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 @@ -6549,11 +7378,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 @@ -6561,8 +7390,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 @@ -6576,11 +7405,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 @@ -6588,11 +7418,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 @@ -6603,11 +7437,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 @@ -6616,11 +7450,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 @@ -6628,11 +7463,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 @@ -6643,11 +7482,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 @@ -6655,8 +7494,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 @@ -6671,11 +7510,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 @@ -6683,11 +7523,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 @@ -6698,11 +7542,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 @@ -6711,11 +7555,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 @@ -6723,11 +7568,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 @@ -6738,11 +7587,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 @@ -6750,8 +7599,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 @@ -6767,11 +7616,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 @@ -6779,11 +7629,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 @@ -6794,28 +7648,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 @@ -6850,7 +7707,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 @@ -6863,17 +7721,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 @@ -6881,11 +7741,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 @@ -6896,11 +7760,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 @@ -6909,11 +7773,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 @@ -6921,11 +7786,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 @@ -6936,11 +7805,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 @@ -6948,8 +7817,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 @@ -6963,16 +7832,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 @@ -7007,7 +7878,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 @@ -7030,24 +7902,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 @@ -7055,18 +7932,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 @@ -7082,7 +7961,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 @@ -7090,17 +7970,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 @@ -7108,11 +7990,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 @@ -7123,11 +8009,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 @@ -7136,11 +8022,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 @@ -7148,11 +8035,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 @@ -7163,11 +8054,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 @@ -7175,8 +8066,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 @@ -7193,9 +8084,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 @@ -7208,11 +8101,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. @@ -7222,11 +8116,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 @@ -7239,11 +8137,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 @@ -7252,16 +8150,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 @@ -7269,11 +8169,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 @@ -7284,11 +8188,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 @@ -7297,19 +8201,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. @@ -7319,11 +8226,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 @@ -7335,11 +8246,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 @@ -7349,11 +8260,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. @@ -7363,11 +8275,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_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 @@ -7380,11 +8296,11 @@ 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; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHONPATH" >&5 +printf "%s\n" "$PYTHONPATH" >&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 @@ -7392,418 +8308,51 @@ 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; } +{ 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` - { $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; } 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 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -rm -f conftest* =20 -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 : +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 -else - ac_cv_header_stdc=3Dno -fi -rm -f conftest* =20 -fi =20 -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 =20 -#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 : =20 -else - ac_cv_header_stdc=3Dno -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi =20 -fi -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 =20 -fi +if test $ac_cv_header_stdlib_h =3D yes && test $ac_cv_header_string_h =3D = yes +then : =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 +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h =20 fi - -done - - -if test "$cross_compiling" !=3D yes; then : +if test "$cross_compiling" !=3D yes +then : =20 =20 ac_previous_cppflags=3D$CPPFLAGS @@ -7811,11 +8360,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. @@ -7825,11 +8375,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 @@ -7842,33 +8396,34 @@ 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 distutils.sysconfig; \ - print("-I" + distutils.sysconfig.get_config_var("INCLUDEPY"))'`" - CPPFLAGS=3D"$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("CFLAGS"))'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print("-L" + distutils.sysconfig.get_python_lib(plat_specific=3D1,\ + CPPFLAGS=3D"$CFLAGS `$PYTHON -c 'import sysconfig; \ + print("-I" + sysconfig.get_config_var("INCLUDEPY"))'`" + CPPFLAGS=3D"$CPPFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("CFLAGS"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print("-L" + sysconfig.get_python_lib(plat_specific=3D1,\ standard_lib=3D1) + "/config")'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LINKFORSHARED"))'`" - LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LDFLAGS"))'`" - LIBS=3D"$LIBS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("LIBS"))'`" - LIBS=3D"$LIBS `$PYTHON -c 'import distutils.sysconfig; \ - print(distutils.sysconfig.get_config_var("SYSLIBS"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LINKFORSHARED"))'`" + LDFLAGS=3D"$LDFLAGS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LDFLAGS"))'`" + LIBS=3D"$LIBS `$PYTHON -c 'import sysconfig; \ + print(sysconfig.get_config_var("LIBS"))'`" + 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"" @@ -7881,18 +8436,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 @@ -7902,11 +8458,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 @@ -7920,14 +8477,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 @@ -7944,11 +8502,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. @@ -7958,11 +8517,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 @@ -7975,11 +8538,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 @@ -7990,14 +8553,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 @@ -8006,58 +8571,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 @@ -8066,49 +8632,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 @@ -8117,71 +8683,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 @@ -8190,30 +8758,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 @@ -8232,11 +8799,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. @@ -8246,11 +8814,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 @@ -8262,11 +8834,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 @@ -8275,11 +8847,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. @@ -8289,11 +8862,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 @@ -8305,11 +8882,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 @@ -8317,8 +8894,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 @@ -8330,32 +8907,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 @@ -8369,10 +8947,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 @@ -8386,8 +8964,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 @@ -8413,10 +8991,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. @@ -8430,23 +9008,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 @@ -8460,10 +9038,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 @@ -8477,8 +9055,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 @@ -8504,10 +9082,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. @@ -8521,8 +9099,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 @@ -8530,11 +9108,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. @@ -8544,11 +9123,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 @@ -8561,21 +9144,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. @@ -8585,11 +9169,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 @@ -8602,27 +9190,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. @@ -8632,11 +9222,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 @@ -8649,23 +9243,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 @@ -8674,14 +9269,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 @@ -8690,30 +9287,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 @@ -8721,15 +9317,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 @@ -8738,30 +9335,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 @@ -8769,15 +9365,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 @@ -8786,30 +9383,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 @@ -8818,19 +9414,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 @@ -8844,10 +9439,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 @@ -8861,8 +9456,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 @@ -8879,28 +9474,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 @@ -8909,33 +9506,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 @@ -8944,15 +9540,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 @@ -8961,33 +9558,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 @@ -8999,12 +9595,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 @@ -9036,12 +9632,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" @@ -9052,8 +9649,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 @@ -9064,11 +9661,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 @@ -9077,45 +9675,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 @@ -9124,45 +9720,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 @@ -9171,44 +9765,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 @@ -9217,49 +9812,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 @@ -9268,37 +9862,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 @@ -9308,108 +9899,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 @@ -9423,10 +10103,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 @@ -9440,8 +10120,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 @@ -9458,29 +10138,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 @@ -9496,20 +10177,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 @@ -9520,9 +10205,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 @@ -9530,9 +10216,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 @@ -9542,17 +10229,17 @@ fi =20 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd-daemon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd-daemon\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev= /null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9566,10 +10253,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd-daemon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd-daemon\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/nul= l` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9583,8 +10270,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 @@ -9602,17 +10289,17 @@ fi =20 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd >=3D 209" 2>/d= ev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9626,10 +10313,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd >=3D 209" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9643,8 +10330,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 @@ -9661,34 +10348,34 @@ fi =20 systemd=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; } systemd=3D"n" else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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; } systemd=3D"y" fi =20 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; } =20 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd >=3D 209" 2>/d= ev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9702,10 +10389,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd >=3D 209" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9719,8 +10406,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 @@ -9737,48 +10424,50 @@ fi =20 systemd=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; } systemd=3D"n" else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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; } systemd=3D"y" fi =20 else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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; } systemd=3D"y" fi =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 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd-daemon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd-daemon\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev= /null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9792,10 +10481,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd-daemon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd-daemon\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/nul= l` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9809,8 +10498,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 @@ -9827,17 +10516,17 @@ fi =20 =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd >=3D 209" 2>/d= ev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9851,10 +10540,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd >=3D 209" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9868,8 +10557,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 @@ -9895,10 +10584,10 @@ Alternatively, you may set the environment variabl= es SYSTEMD_CFLAGS and SYSTEMD_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. @@ -9912,27 +10601,27 @@ See \`config.log' for more details" "$LINENO" 5; } else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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 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; } =20 pkg_failed=3Dno -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +printf %s "checking for SYSTEMD... " >&6; } =20 if test -n "$SYSTEMD_CFLAGS"; then pkg_cv_SYSTEMD_CFLAGS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_CFLAGS=3D`$PKG_CONFIG --cflags "libsystemd >=3D 209" 2>/d= ev/null` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9946,10 +10635,10 @@ if test -n "$SYSTEMD_LIBS"; then pkg_cv_SYSTEMD_LIBS=3D"$SYSTEMD_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 \"libsystemd >=3D 209\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists = --print-errors \"libsystemd >=3D 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >=3D 209") 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_SYSTEMD_LIBS=3D`$PKG_CONFIG --libs "libsystemd >=3D 209" 2>/dev/n= ull` test "x$?" !=3D "x0" && pkg_failed=3Dyes @@ -9963,8 +10652,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 @@ -9990,10 +10679,10 @@ Alternatively, you may set the environment variabl= es SYSTEMD_CFLAGS and SYSTEMD_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. @@ -10007,63 +10696,69 @@ See \`config.log' for more details" "$LINENO" 5; } else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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 else SYSTEMD_CFLAGS=3D$pkg_cv_SYSTEMD_CFLAGS SYSTEMD_LIBS=3D$pkg_cv_SYSTEMD_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 =20 =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 @@ -10071,10 +10766,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 @@ -10083,13 +10780,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 @@ -10101,15 +10800,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. @@ -10119,11 +10820,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 @@ -10136,11 +10841,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 @@ -10149,15 +10854,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. @@ -10167,11 +10873,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 @@ -10183,11 +10893,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 @@ -10197,37 +10907,40 @@ 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 @@ -10261,8 +10974,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) ;; #( @@ -10292,15 +11005,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 @@ -10314,8 +11027,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 @@ -10332,7 +11045,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" @@ -10348,8 +11061,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 @@ -10372,14 +11085,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 ;; #( @@ -10389,46 +11104,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 || @@ -10437,13 +11152,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 #(( @@ -10452,8 +11160,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 @@ -10465,30 +11177,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] @@ -10501,13 +11193,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. @@ -10534,18 +11227,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 @@ -10557,12 +11252,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` @@ -10593,7 +11289,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 @@ -10615,6 +11311,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*) @@ -10628,6 +11328,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 @@ -10669,7 +11375,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" @@ -10678,7 +11384,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 @@ -10741,7 +11447,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.18, 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 @@ -10800,14 +11506,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.18 -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 @@ -10846,15 +11554,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'" @@ -10862,7 +11570,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;; @@ -10871,7 +11579,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: ;; @@ -10899,7 +11607,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 "\$@" @@ -10913,7 +11621,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 @@ -10965,8 +11673,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 @@ -11302,7 +12010,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 @@ -11310,17 +12018,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 @@ -11337,7 +12045,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 @@ -11361,9 +12069,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/ ;; @@ -11420,8 +12128,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' @@ -11464,9 +12172,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" @@ -11482,20 +12190,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 @@ -11536,7 +12244,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.41.0 From nobody Tue May 14 04:41:29 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=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1694451191; cv=none; d=zohomail.com; s=zohoarc; b=jvTau+vRpkh1cIMmkNflNzf+dXBGvCPyOOcSvwuqoxXFKFCNKgV+nYD5B5txVrj9dty11BcU4dWEQMa9KMZXYaFsFoKZa1iWasM2ewUgRMlg7kY3b2JMLVIXNtJdV/y/rwaJRqqQ6c8g3XHQ7+lu39rd5ef8eo2kyuX2yeRYXc8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694451191; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TkRR/xJIMJPUUYAon5vdXYf6WC9lWsytp6TbHgmeAz8=; b=NKsIkbGb004AdV275wHfukLry6VhqqiY80lykQScQsTJGlR+rRvpEj6A1AdUVFjCeonpJtlCIqmvcRdavDBHZrqMbNs3xmday4g9eekp5WbuymDc5lYBmBZAfS/1Hqy/m4yPhBgL+OGQc36BkaRTZS27pbY51yEebaarEvMotp8= 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 1694451191306950.8609816868606; Mon, 11 Sep 2023 09:53:11 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.599662.935191 (Exim 4.92) (envelope-from ) id 1qfk9Y-0007Lc-1G; Mon, 11 Sep 2023 16:52:48 +0000 Received: by outflank-mailman (output) from mailman id 599662.935191; Mon, 11 Sep 2023 16:52:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qfk9X-0007LR-Uh; Mon, 11 Sep 2023 16:52:47 +0000 Received: by outflank-mailman (input) for mailman id 599662; Mon, 11 Sep 2023 16:52:46 +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 1qfk9W-0005g0-Be for xen-devel@lists.xenproject.org; Mon, 11 Sep 2023 16:52:46 +0000 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [2a00:1450:4864:20::430]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id a1855e22-50c3-11ee-8785-cb3800f73035; Mon, 11 Sep 2023 18:52:45 +0200 (CEST) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-31f6ddb3047so4536273f8f.1 for ; Mon, 11 Sep 2023 09:52:45 -0700 (PDT) Received: from EMEAENG6DZjqCfH.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id b13-20020a05600c11cd00b003fefcbe7fa8sm10578124wmi.28.2023.09.11.09.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:52:44 -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: a1855e22-50c3-11ee-8785-cb3800f73035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1694451165; x=1695055965; 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=TkRR/xJIMJPUUYAon5vdXYf6WC9lWsytp6TbHgmeAz8=; b=IyoCH9s8YEfQUzAGz8wS9Qz/nWObiViatHfdSjlAHrmytbpA1R/X4sxo9pptJOb0cL qB/kRaZbZoFZ7kmsvpD6hihcWmvQLHz4bUOK4MThpLL86VARIg2a3VtjeJ56c5yEUJBe JicXqFFGCeBkX/DrkVluOXmV+FSYCynK/eVR8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451165; x=1695055965; 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=TkRR/xJIMJPUUYAon5vdXYf6WC9lWsytp6TbHgmeAz8=; b=QqtiRlvU0TqYcRslUju5zSyo9gwmwANdme6y5nUc4rz0EpAc3E0Z2KiD68gMvNmZqS /3Bq7ZeNvaopi3QUOCdYvVOZkjBUzMus1KHk/Tc8hCAtnRDYZwvEuOEfUmBb31FrISKh yu9KsUXWzdyP1ddr0wkRvovWGKySQ/aZozNtyhamuyC/Cm/lfVYMsg/M1W+owPVhEOqy 1ih9SoKXi035qmVHRcVbmaVhAInXSXIAntQMIvFVIxbaUxGWO1aWArNZg5+ruDwrVnXp f9zcyp2dNJh0hqRSuze+UuadfHkW926kPoz9qmXbYc/H9utLdBg7KYp4BeOYzMdHGYu9 QrwA== X-Gm-Message-State: AOJu0YwJW/sTpymG4uWFso4OjlPnWhObV/CS0e6h8xmXUj2xRi9JkQmB T59FuzAisoncWDkxEtmtuAu7w7s7MnOPKaXIH98= X-Google-Smtp-Source: AGHT+IF3jSa2/clS/+JfUHL/kl4y4efKdPkk1TJ7WgT8zAfnE7tpWz1wECAW/EuY0dd4wt60f3e8BA== X-Received: by 2002:adf:fe8c:0:b0:317:c2a9:9b0c with SMTP id l12-20020adffe8c000000b00317c2a99b0cmr8688278wrr.50.1694451164673; Mon, 11 Sep 2023 09:52:44 -0700 (PDT) From: Javi Merino To: xen-devel@lists.xenproject.org Cc: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , George Dunlap , Andrew Cooper , Javi Merino , George Dunlap , Julien Grall , Stefano Stabellini , Wei Liu Subject: [XEN PATCH v2 5/5] README: update to remove old note about the build system's python expectation Date: Mon, 11 Sep 2023 17:51:04 +0100 Message-ID: <2b98d4409f0220c5b24517c5b230344228717eb8.1694450145.git.javi.merino@cloud.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1694451194326100001 Content-Type: text/plain; charset="utf-8" The configure script tests for the availability of python3, python and python2 in that order and sets PYTHON to the first one found in path. You don't need to have a symlink to python. Signed-off-by: Javi Merino Reviewed-by: Andrew Cooper --- README | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README b/README index f8cc426f78..6212a3a9c5 100644 --- a/README +++ b/README @@ -184,13 +184,6 @@ Various tools, such as pygrub, have the following runt= ime dependencies: URL: https://www.python.org/ Debian: python =20 -Note that the build system expects `python` to be available. If your system -only has `python2` or `python3` but not `python` (as in Linux From Scratch= ), -you will need to create a symlink for it, or specify PYTHON=3D when invoki= ng -make, like (note the position of PYTHON=3D matters): - - # make PYTHON=3D/usr/bin/python3 - Intel(R) Trusted Execution Technology Support =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 --=20 2.41.0