From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id E19AA3870C01; Sun, 13 Nov 2022 14:09:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E19AA3870C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668348574; bh=CkA+Y10/plCv06f17h9ocAy3sVM91Hxney6lKilKevQ=; h=From:To:Subject:Date:From; b=m67Id+jShJUzmTjtTBQJsBr5ykkcQfCEBf5YlE+1Xn+U0FpKQWSspzGkSmEdDN2/B 6Gva7e/wywC+mbijct2rXVzOUGPPLVpcpfQ5eNqMAUtc0fMM382rfZgFz9x3U2rWFt H1zBamTrxKVQOV8AdmwdpG6RtTxQSOFjNbV37Y9g= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/set-SPHINX_BUILD)] configure: always set SPHINX_BUILD X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/set-SPHINX_BUILD X-Git-Oldrev: 9a265c974cd85b8eae5ea607185e689f063db4a1 X-Git-Newrev: f1cbbfeec048ca4969eee57a96d6fe610608972f Message-Id: <20221113140934.E19AA3870C01@sourceware.org> Date: Sun, 13 Nov 2022 14:09:34 +0000 (GMT) List-Id: https://gcc.gnu.org/g:f1cbbfeec048ca4969eee57a96d6fe610608972f commit f1cbbfeec048ca4969eee57a96d6fe610608972f Author: Martin Liska Date: Sun Nov 13 15:07:17 2022 +0100 configure: always set SPHINX_BUILD 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: libgomp/ChangeLog: * configure: Regenerate. * configure.ac: libiberty/ChangeLog: * configure: Regenerate. * configure.ac: libitm/ChangeLog: * configure: Regenerate. * configure.ac: libquadmath/ChangeLog: * configure: Regenerate. * configure.ac: Diff: --- 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