configure: always set SPHINX_BUILD
authorMartin Liska <mliska@suse.cz>
Sun, 13 Nov 2022 14:07:17 +0000 (15:07 +0100)
committerMartin Liska <mliska@suse.cz>
Sun, 13 Nov 2022 15:35:25 +0000 (16:35 +0100)
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
gcc/configure.ac
libgomp/configure
libgomp/configure.ac
libiberty/configure
libiberty/configure.ac
libitm/configure
libitm/configure.ac
libquadmath/configure
libquadmath/configure.ac

index 1a32f89..752d3bf 100755 (executable)
@@ -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
index f87fab9..f4c2ab1 100644 (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
index c018cb9..ac3acda 100755 (executable)
@@ -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
index 1aeac2d..6e8300a 100644 (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
index 7ee5d60..c04fa37 100755 (executable)
@@ -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
index b2cfef9..d9f7b16 100644 (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
index 20f2003..2a7d21e 100755 (executable)
@@ -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
index 6930f5a..be5d715 100644 (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
index b7928de..26fd6a4 100755 (executable)
@@ -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
index f2befdc..e593b31 100644 (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