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.
This commit is contained in:
Martin Liska 2022-11-13 15:07:17 +01:00
parent 9a265c974c
commit 5e749ee301
10 changed files with 10 additions and 10 deletions

2
gcc/configure vendored
View File

@ -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

View File

@ -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

2
libgomp/configure vendored
View File

@ -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

View File

@ -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

2
libiberty/configure vendored
View File

@ -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

View File

@ -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

2
libitm/configure vendored
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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