The value of $TEX is either 'tex' or 'false'. It is not empty if
tex is unavailable. The previous condition checked if $TEX was
a non-empty string (-n), and if so would print out a warning.
This was always the case, so a warning message would always print.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@656
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
AC_CHECK_PROGS(LCOV, lcov, false)
AC_CHECK_PROGS(GENHTML, genhtml, false)
AC_CHECK_PROGS(TEX, tex, false)
-if test -n "$TEX"; then
+if test "$TEX" = "false"; then
# Make it [somewhat] clear to maintainers that tex is missing. Not an error
# though because 'make install' (which users need) does not build the docs
# anyway.