Fix libstdc++ install-pdf support.

Generating pdf files requires everything that is required for the xml files
except the style sheets.

	libstdc++-v3/
	* configure.ac (BUILD_PDF): Also test for doxygen, dot, xsltproc,
	and xmllint.
	* configure: Regenerate.

From-SVN: r272920
This commit is contained in:
Jim Wilson 2019-07-02 02:30:52 +00:00 committed by Jim Wilson
parent 9badab5db5
commit 758d7478bf
3 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2019-07-02 Jim Wilson <jimw@sifive.com>
* configure.ac (BUILD_PDF): Also test for doxygen, dot, xsltproc,
and xmllint.
* configure: Regenerate.
2019-06-27 Jonathan Wakely <jwakely@redhat.com> 2019-06-27 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/91012 PR libstdc++/91012

View File

@ -15418,6 +15418,7 @@ $as_echo "$target_thread_file" >&6; }
case $target_thread_file in case $target_thread_file in
aix) thread_header=config/rs6000/gthr-aix.h ;; aix) thread_header=config/rs6000/gthr-aix.h ;;
dce) thread_header=config/pa/gthr-dce.h ;; dce) thread_header=config/pa/gthr-dce.h ;;
gcn) thread_header=config/gcn/gthr-gcn.h ;;
lynx) thread_header=config/gthr-lynx.h ;; lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;; mipssde) thread_header=config/mips/gthr-mipssde.h ;;
posix) thread_header=gthr-posix.h ;; posix) thread_header=gthr-posix.h ;;
@ -15637,7 +15638,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
# Fake what AC_TRY_COMPILE does. # Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15640 "configure" #line 15641 "configure"
int main() int main()
{ {
typedef bool atomic_type; typedef bool atomic_type;
@ -15672,7 +15673,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
rm -f conftest* rm -f conftest*
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15675 "configure" #line 15676 "configure"
int main() int main()
{ {
typedef short atomic_type; typedef short atomic_type;
@ -15707,7 +15708,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
rm -f conftest* rm -f conftest*
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15710 "configure" #line 15711 "configure"
int main() int main()
{ {
// NB: _Atomic_word not necessarily int. // NB: _Atomic_word not necessarily int.
@ -15743,7 +15744,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
rm -f conftest* rm -f conftest*
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15746 "configure" #line 15747 "configure"
int main() int main()
{ {
typedef long long atomic_type; typedef long long atomic_type;
@ -15896,7 +15897,7 @@ $as_echo "mutex" >&6; }
# unnecessary for this test. # unnecessary for this test.
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15899 "configure" #line 15900 "configure"
int main() int main()
{ {
_Decimal32 d1; _Decimal32 d1;
@ -15938,7 +15939,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# unnecessary for this test. # unnecessary for this test.
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15941 "configure" #line 15942 "configure"
template<typename T1, typename T2> template<typename T1, typename T2>
struct same struct same
{ typedef T2 type; }; { typedef T2 type; };
@ -15972,7 +15973,7 @@ $as_echo "$enable_int128" >&6; }
rm -f conftest* rm -f conftest*
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 15975 "configure" #line 15976 "configure"
template<typename T1, typename T2> template<typename T1, typename T2>
struct same struct same
{ typedef T2 type; }; { typedef T2 type; };
@ -81880,7 +81881,11 @@ $as_echo "no" >&6; }
fi fi
if test $ac_cv_prog_DBLATEX = "yes" && if test $ac_cv_prog_DOXYGEN = "yes" &&
test $ac_cv_prog_DOT = "yes" &&
test $ac_cv_prog_XSLTPROC = "yes" &&
test $ac_cv_prog_XMLLINT = "yes" &&
test $ac_cv_prog_DBLATEX = "yes" &&
test $ac_cv_prog_PDFLATEX = "yes"; then test $ac_cv_prog_PDFLATEX = "yes"; then
BUILD_PDF_TRUE= BUILD_PDF_TRUE=
BUILD_PDF_FALSE='#' BUILD_PDF_FALSE='#'

View File

@ -483,6 +483,10 @@ AM_CONDITIONAL(BUILD_MAN,
AC_CHECK_PROG([DBLATEX], dblatex, yes, no) AC_CHECK_PROG([DBLATEX], dblatex, yes, no)
AC_CHECK_PROG([PDFLATEX], pdflatex, yes, no) AC_CHECK_PROG([PDFLATEX], pdflatex, yes, no)
AM_CONDITIONAL(BUILD_PDF, AM_CONDITIONAL(BUILD_PDF,
test $ac_cv_prog_DOXYGEN = "yes" &&
test $ac_cv_prog_DOT = "yes" &&
test $ac_cv_prog_XSLTPROC = "yes" &&
test $ac_cv_prog_XMLLINT = "yes" &&
test $ac_cv_prog_DBLATEX = "yes" && test $ac_cv_prog_DBLATEX = "yes" &&
test $ac_cv_prog_PDFLATEX = "yes") test $ac_cv_prog_PDFLATEX = "yes")