diff options
author | Martin Liska <mliska@suse.cz> | 2022-11-13 21:59:03 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-11-14 09:35:05 +0100 |
commit | b779e6bf0b7cf03a96bc68a31be7d39ca383f645 (patch) | |
tree | f95ec94e633e9cdbf542fd8206c079e6a7d20c0c /libiberty/configure | |
parent | d6e95a12a032defdbbe3b497aef35f7228653d76 (diff) | |
download | gcc-b779e6bf0b7cf03a96bc68a31be7d39ca383f645.zip gcc-b779e6bf0b7cf03a96bc68a31be7d39ca383f645.tar.gz gcc-b779e6bf0b7cf03a96bc68a31be7d39ca383f645.tar.bz2 |
Revert "sphinx: add --with-sphinx-build"
This reverts commit 1f5a932e89b0c2c4a7af7f849ca2e2e3dbf329e0.
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/libiberty/configure b/libiberty/configure index 7ee5d60..860f981fa 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -663,9 +663,6 @@ ETAGS NOTMAINT MAINT libiberty_topdir -HAS_SPHINX_BUILD -SPHINX_BUILD -CONFIGURE_SPHINX_BUILD target_alias host_alias build_alias @@ -711,7 +708,6 @@ with_target_subdir with_build_subdir with_cross_host with_newlib -with_sphinx_build enable_maintainer_mode enable_multilib enable_install_libiberty @@ -1353,7 +1349,6 @@ Optional Packages: --with-build-subdir=SUBDIR Configuring in a subdirectory for build --with-cross-host=HOST Configuring with a cross compiler --with-newlib Configuring with newlib - --with-sphinx-build= Use sphinx-build from a given path Some influential environment variables: CC C compiler command @@ -2496,53 +2491,6 @@ if test "${with_newlib+set}" = set; then : fi - -# Check whether --with-sphinx-build was given. -if test "${with_sphinx_build+set}" = set; then : - withval=$with_sphinx_build; CONFIGURE_SPHINX_BUILD=$withval -else - CONFIGURE_SPHINX_BUILD= - -fi - - - -# See if sphinx-build has been installed and is modern enough -# that we can use it. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sphinx-build" >&5 -$as_echo_n "checking for sphinx-build... " >&6; } -sphinx=sphinx-build -if test x${CONFIGURE_SPHINX_BUILD} != x ; then - sphinx=${CONFIGURE_SPHINX_BUILD} -fi - -tempdir=build.$$ -source=source.$$ -mkdir $source -grep 'needs_sphinx =' ${srcdir}/../doc/baseconf.py > $source/conf.py -touch $source/index.rst -if ${sphinx} $source $tempdir >/dev/null 2>&1; then - SPHINX_BUILD=${sphinx} - HAS_SPHINX_BUILD=has-sphinx-build - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: - *** sphinx-build is missing or too old. - *** Info and man pages documentation will not be built." >&5 -$as_echo "$as_me: WARNING: - *** sphinx-build is missing or too old. - *** 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= - HAS_SPHINX_BUILD= -fi -rm -rf $tempdir -rm -rf $source - - - if test "${srcdir}" = "."; then if test -n "${with_build_subdir}"; then libiberty_topdir="${srcdir}/../.." |