Guard texi2pdf on tex probe as well. OSX package systems are real permissive.

This commit is contained in:
Graydon Hoare 2011-03-23 13:31:51 -07:00
parent 9d925436f3
commit f740747ea5
2 changed files with 6 additions and 1 deletions

View File

@ -185,7 +185,11 @@ endif
ifeq ($(CFG_TEXI2PDF),)
$(info cfg: no texi2pdf found, omitting doc/rust.pdf)
else
DOCS += doc/rust.pdf
ifeq ($(CFG_TEX),)
$(info cfg: no tex found, omitting doc/rust.pdf)
else
DOCS += doc/rust.pdf
endif
endif

1
configure vendored
View File

@ -132,6 +132,7 @@ probe CFG_OCAMLOPT_OPT ocamlopt.opt
probe CFG_FLEXLINK flexlink
probe CFG_MAKEINFO makeinfo
probe CFG_TEXI2PDF texi2pdf
probe CFG_TEX tex
if [ ! -z "$CFG_LLVM_ROOT" ]
then