From patchwork Thu Sep 19 11:17:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 11152203 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55AB613BD for ; Thu, 19 Sep 2019 11:19:24 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B34421924 for ; Thu, 19 Sep 2019 11:19:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B34421924 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iAuRD-0005xW-52; Thu, 19 Sep 2019 11:17:27 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iAuRB-0005xR-Vx for xen-devel@lists.xenproject.org; Thu, 19 Sep 2019 11:17:26 +0000 X-Inumbo-ID: 0e70a078-dacf-11e9-b76c-bc764e2007e4 Received: from mail-wr1-f45.google.com (unknown [209.85.221.45]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0e70a078-dacf-11e9-b76c-bc764e2007e4; Thu, 19 Sep 2019 11:17:25 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id h7so2649750wrw.8 for ; Thu, 19 Sep 2019 04:17:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=aGjbCTIRTIEn4zg1pcQFT3IUWjv9PCP6+YAQX2Yanzs=; b=B5PZRFXTiyklrcRgY1HyJQ3e0CQkOCd5XZHhlBllVAFYDSV01slV9jNRE91VDNc1q+ Zc9apK2s+kQ/3Z8Psa3M3L2vSJeQRgHw54Cz8/pZLe1ELsseY/s1VztiSk54M3uxMoeg hZRluBelWoGTZhlCQguGHV7QF8I5+lobJ4v5YivpiXmuju+XBCMqKb1qdO3Fkdk1smod lTqgagFFHGf56XOEoFunrvSbGYR4EzwviFms3xnOltN6BpdHwgnyMd/Q4E6QJFGKvyru v4QgI0RXQYT2HXTn+UA4/qR/8fF3iUQ7Jd58N8G3eH1A58pVYA2eEwOg3dwmI4gsgnlx Ne5A== X-Gm-Message-State: APjAAAUjPcqzS2ou4T4+6P5A9tmFbfQZ1VXAAf+qj/ouXXt2i4pVA1yh ryIy7X63VipJSPQAr9InO0x52eQnu0c= X-Google-Smtp-Source: APXvYqwJ8PKiFliV5eWsZr3CDMdOUKiQKMSwJTSO5ychxlOtdmEgCnbNuxtpSfsfdzo4zdgwjqR2Cw== X-Received: by 2002:adf:ebd0:: with SMTP id v16mr6771345wrn.352.1568891844202; Thu, 19 Sep 2019 04:17:24 -0700 (PDT) Received: from debian (104.163.200.146.dyn.plus.net. [146.200.163.104]) by smtp.gmail.com with ESMTPSA id a192sm6643620wma.1.2019.09.19.04.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 04:17:23 -0700 (PDT) Date: Thu, 19 Sep 2019 12:17:22 +0100 From: Wei Liu To: xen-devel Message-ID: <20190919111722.iajioonuzqfharaf@debian> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 Subject: [Xen-devel] [PATCH for-4.13] configure: fix print syntax for python 3 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Ian Jackson , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" 16cc3362a missed one print statement. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- m4/python_devel.m4 | 2 +- tools/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ diff --git a/m4/python_devel.m4 b/m4/python_devel.m4 index 7f26381376..e365cd658e 100644 --- a/m4/python_devel.m4 +++ b/m4/python_devel.m4 @@ -6,7 +6,7 @@ AC_PATH_PROG([pyconfig], [$PYTHON-config], [no]) AS_IF([test x"$pyconfig" = x"no"], [ dnl For those that don't have python-config CPPFLAGS="$CFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print "-I" + distutils.sysconfig.get_config_var("INCLUDEPY")'`" + print("-I" + distutils.sysconfig.get_config_var("INCLUDEPY"))'`" CPPFLAGS="$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print(distutils.sysconfig.get_config_var("CFLAGS"))'`" LDFLAGS="$LDFLAGS `$PYTHON -c 'import distutils.sysconfig; \ diff --git a/tools/configure b/tools/configure index 1baacea9ac..614d1f5b61 100755 --- a/tools/configure +++ b/tools/configure @@ -7441,7 +7441,7 @@ fi if test x"$pyconfig" = x"no"; then : CPPFLAGS="$CFLAGS `$PYTHON -c 'import distutils.sysconfig; \ - print "-I" + distutils.sysconfig.get_config_var("INCLUDEPY")'`" + print("-I" + distutils.sysconfig.get_config_var("INCLUDEPY"))'`" CPPFLAGS="$CPPFLAGS `$PYTHON -c 'import distutils.sysconfig; \ print(distutils.sysconfig.get_config_var("CFLAGS"))'`"