From patchwork Sun Nov 13 15:36:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 19368 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1727122wru; Sun, 13 Nov 2022 07:37:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf6rHT+uDbckZEePeRAIaQnOOknLD0H9CHIQDQoQXJVFkyDSBfHDMaXrKhUjyYPIz/mTWgAV X-Received: by 2002:a05:6402:4447:b0:461:9f41:2960 with SMTP id o7-20020a056402444700b004619f412960mr8199490edb.242.1668353820741; Sun, 13 Nov 2022 07:37:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668353820; cv=none; d=google.com; s=arc-20160816; b=AbaLo4DOWmAZ/YhCSvV/Je6eqbb0A1aaDz647eiPnoIRmnUdJL8twxTmygsUQ70Wic 6/74dA5bsJ+RQ0nsXC9y0zuahQUh7BeuHIfvUuYqX5aYE3c18jCALPcHQy0RP2VnG+DC aMbZNx9CUaSEvysuUanqWx54ucpY/JAsMqGfKthLkI15UULuPo/DFCn/YvU+26+xRz73 sG7MNRaTyGq5c7Q+rqWJIfSbuGI19ziQVmgY7hP0yCkqIPpias0e9Z4YLxQ3w+SEcNYH aZ2ZslVmIr9x7MOlXeuuvpjg5jOj1WefP3fsAeAe0h9XUkA2L0G2j+Y6PvzS38crSsQC uKZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=KviWuAD9dA19L5yUg46SBo5cuIYgSTCLCQc03ViHlKE=; b=cjYOmjrhQps139ak4MJMTJrzNTxxhxdM0icTwFQZpmgY+DKJ+q1vux+UjhFVsxJbzO Yu1enp8Sj6zAc0vTbAe4Ad0KWsCa8U8ATk/h3Br88zFEmoxHJCoNTjr18/PACYRhBizU KqrtIxkLRE4h6pBFZ1sQz6HU9SPleSO6e1oFrmq/8d2c6kLhoDz1wrplHxXZp7/MAm2p oM4lYdHWxHRm6A0LaZBsuja5MGHsjABrA6DfyzKUdpjXr7/soc987LglssjwYD9bBRb0 dLmVulpKXIcePot4qdOVmh06YV9M82aOt/PY9AWl1vB1F1ZJPseSxnexai2uYoOrDyzj fJiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MF8Xxx8b; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=uumkdHgu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id r9-20020a05640251c900b00459c2ac54e2si6048941edd.255.2022.11.13.07.37.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Nov 2022 07:37:00 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=MF8Xxx8b; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=uumkdHgu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 90547388881D for ; Sun, 13 Nov 2022 15:36:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 73EC73857B8E for ; Sun, 13 Nov 2022 15:36:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 73EC73857B8E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4B0701FA40 for ; Sun, 13 Nov 2022 15:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668353777; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KviWuAD9dA19L5yUg46SBo5cuIYgSTCLCQc03ViHlKE=; b=MF8Xxx8bTgZtbvRnYxHhMIx48apBY6bzp50EOIjT5gEc35fSUe25sK0gvw4MlkB5XjQERy mFIYcxsxrMlit/mH1rJCfJO4tLmwPq1Jz9sRdb1DDaUPV8IVhSa9gQwvTL0GpWEHW4g55C As1ljTNnGgSsV++rLzR6p6ltYiE7MZg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668353777; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KviWuAD9dA19L5yUg46SBo5cuIYgSTCLCQc03ViHlKE=; b=uumkdHguvDHmzWpI79O5IoERUE2f3VgYi5ENjMvWlm0QpaD00Xj4j5f/wClJBQp9cVNhz2 q87L8yA7beAvopAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 39905133A4 for ; Sun, 13 Nov 2022 15:36:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HsrpDPEOcWOsPQAAMHmgww (envelope-from ) for ; Sun, 13 Nov 2022 15:36:17 +0000 Message-ID: Date: Sun, 13 Nov 2022 16:36:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] configure: always set SPHINX_BUILD To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749395776042566463?= X-GMAIL-MSGID: =?utf-8?q?1749395776042566463?= During the Sphinx-migration development, I used SPHINX_BUILD='' in order to skip building info and manual pages in gcc folder. However, we've got HAS_SPHINX_BUILD which is the correct flag for that. With the patch, one will get a nicer error message when sphinx-build is missing and one builds (explicitly) a target which depends on it. PR other/107620 gcc/ChangeLog: * configure: Regenerate. * configure.ac: Always set sphinx-build. libgomp/ChangeLog: * configure: Regenerate. * configure.ac: Always set sphinx-build. libiberty/ChangeLog: * configure: Regenerate. * configure.ac: Always set sphinx-build. libitm/ChangeLog: * configure: Regenerate. * configure.ac: Always set sphinx-build. libquadmath/ChangeLog: * configure: Regenerate. * configure.ac: Always set sphinx-build. --- gcc/configure | 2 +- gcc/configure.ac | 2 +- libgomp/configure | 2 +- libgomp/configure.ac | 2 +- libiberty/configure | 2 +- libiberty/configure.ac | 2 +- libitm/configure | 2 +- libitm/configure.ac | 2 +- libquadmath/configure | 2 +- libquadmath/configure.ac | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/configure b/gcc/configure index 1a32f894394..752d3bf0a99 100755 --- a/gcc/configure +++ b/gcc/configure @@ -8849,7 +8849,7 @@ $as_echo "$as_me: WARNING: *** Info and man pages documentation will not be built." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/gcc/configure.ac b/gcc/configure.ac index f87fab97edd..f4c2ab1789e 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1283,7 +1283,7 @@ else *** sphinx-build is missing or too old. *** Info and man pages documentation will not be built.]) AC_MSG_RESULT(no) - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libgomp/configure b/libgomp/configure index c018cb92f80..ac3acdaceb6 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -16916,7 +16916,7 @@ $as_echo "$as_me: WARNING: *** Info and man pages documentation will not be built." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libgomp/configure.ac b/libgomp/configure.ac index 1aeac2d3cca..6e8300aba2b 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -499,7 +499,7 @@ else *** sphinx-build is missing or too old. *** Info and man pages documentation will not be built.]) AC_MSG_RESULT(no) - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libiberty/configure b/libiberty/configure index 7ee5d6002f7..c04fa3732fb 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -2535,7 +2535,7 @@ $as_echo "$as_me: WARNING: *** Info and man pages documentation will not be built." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libiberty/configure.ac b/libiberty/configure.ac index b2cfef90489..d9f7b16b752 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -50,7 +50,7 @@ else *** sphinx-build is missing or too old. *** Info and man pages documentation will not be built.]) AC_MSG_RESULT(no) - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libitm/configure b/libitm/configure index 20f20039f3b..2a7d21e9d73 100755 --- a/libitm/configure +++ b/libitm/configure @@ -18094,7 +18094,7 @@ $as_echo "$as_me: WARNING: *** Info and man pages documentation will not be built." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libitm/configure.ac b/libitm/configure.ac index 6930f5abaae..be5d7158745 100644 --- a/libitm/configure.ac +++ b/libitm/configure.ac @@ -331,7 +331,7 @@ else *** sphinx-build is missing or too old. *** Info and man pages documentation will not be built.]) AC_MSG_RESULT(no) - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libquadmath/configure b/libquadmath/configure index b7928de4ef4..26fd6a49012 100755 --- a/libquadmath/configure +++ b/libquadmath/configure @@ -13311,7 +13311,7 @@ $as_echo "$as_me: WARNING: *** Info and man pages documentation will not be built." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac index f2befdcb16e..e593b3147fd 100644 --- a/libquadmath/configure.ac +++ b/libquadmath/configure.ac @@ -424,7 +424,7 @@ else *** sphinx-build is missing or too old. *** Info and man pages documentation will not be built.]) AC_MSG_RESULT(no) - SPHINX_BUILD= + SPHINX_BUILD=sphinx-build HAS_SPHINX_BUILD= fi rm -rf $tempdir