From 5e749ee3019d7917184af30dab8d09c933c0a4a1 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Sun, 13 Nov 2022 15:07:17 +0100 Subject: 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: 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. --- libiberty/configure | 2 +- libiberty/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty') diff --git a/libiberty/configure b/libiberty/configure index 7ee5d60..c04fa37 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 b2cfef9..d9f7b16 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 -- cgit v1.1