]> granicus.if.org Git - check/commitdiff
fix printing configure warning message when tex not installed
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 4 Nov 2012 17:05:17 +0000 (17:05 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 4 Nov 2012 17:05:17 +0000 (17:05 +0000)
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

configure.ac

index f280894dc9465366c901c14de7b07c96b076f57d..134d14b80cacb3ebf7f9427e44932fc198691f53 100644 (file)
@@ -117,7 +117,7 @@ AC_CHECK_PROGS(GCOV, gcov, false)
 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.