diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-01-07 16:44:02 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-01-07 16:44:02 +0100 |
commit | 2d4b8ddfb72206a2e0fc4b500e54602a1f6ba189 (patch) | |
tree | e8e958085b4f10d633f08cbb9303c8546ef2f6ac /configure.ac | |
parent | 19a0d4b6065735b884430e3c15160997606794f1 (diff) | |
download | systemtap-steved-2d4b8ddfb72206a2e0fc4b500e54602a1f6ba189.tar.gz systemtap-steved-2d4b8ddfb72206a2e0fc4b500e54602a1f6ba189.tar.xz systemtap-steved-2d4b8ddfb72206a2e0fc4b500e54602a1f6ba189.zip |
Warn when not building docs because tools not found.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bf5b9d5d..95be829e 100644 --- a/configure.ac +++ b/configure.ac @@ -154,10 +154,13 @@ AC_CHECK_PROG(have_latex, latex, yes, no) AC_CHECK_PROG(have_dvips, dvips, yes, no) AC_CHECK_PROG(have_ps2pdf, ps2pdf, yes, no) AC_CHECK_PROG(have_latex2html, latex2html, yes, no) -if test "$enable_docs" == "yes"; then - if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then +if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then + if test "$enable_docs" == "yes"; then AC_MSG_ERROR([cannot find all tools for building documentation]) fi + if test "$enable_docs" == "check"; then + AC_MSG_WARN([will not build documentation, cannot find all tools]) + fi fi AM_CONDITIONAL([BUILD_DOCS], [test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"]) |