From 5e749ee3019d7917184af30dab8d09c933c0a4a1 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Sun, 13 Nov 2022 15:07:17 +0100 Subject: [PATCH] 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. --- 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 1a32f89..752d3bf 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 f87fab9..f4c2ab1 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 c018cb9..ac3acda 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 1aeac2d..6e8300a 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 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 diff --git a/libitm/configure b/libitm/configure index 20f2003..2a7d21e 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 6930f5a..be5d715 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 b7928de..26fd6a4 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 f2befdc..e593b31 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 -- 2.7.4