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: 60527 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2133F3846469 for ; Sun, 13 Nov 2022 15:36:39 +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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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