Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ AC_CHECK_PROGS(LCOV, lcov, false)
AC_CHECK_PROGS(GENHTML, genhtml, false)

if test "xtrue" = x"$enable_build_docs"; then
AC_CHECK_PROGS(TEX, tex, false)
if test "$TEX" = "false"; then
# Make it [somewhat] clear to maintainers that tex is missing. Not an error
AC_CHECK_PROGS(MAKEINFO, makeinfo, false)
if test "$MAKEINFO" = "false"; then
# Make it [somewhat] clear to maintainers that makeinfo is missing. Not an error
# though because 'make install' (which users need) does not build the docs
# anyway.
AC_MSG_WARN(tex not installed: cannot rebuild HTML documentation.)
AC_MSG_WARN(makeinfo not installed: cannot rebuild HTML documentation.)
fi

AM_CONDITIONAL(MAKE_DOCS, [test x"$TEX" != "xfalse"])
AM_CONDITIONAL(MAKE_DOCS, [test x"$MAKEINFO" != "xfalse"])
else
AM_CONDITIONAL(MAKE_DOCS, [false])
fi
Expand Down