diff options
| author | Graydon Hoare <[email protected]> | 2011-03-23 13:31:51 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-23 13:33:15 -0700 |
| commit | f740747ea561290b997e09315767bd791192e01e (patch) | |
| tree | 0c21f01dbd7d60689da6c4fa920adb74ddc5787d | |
| parent | Someday I'll have a talk with the person who thought backslashes were wise in... (diff) | |
| download | rust-f740747ea561290b997e09315767bd791192e01e.tar.xz rust-f740747ea561290b997e09315767bd791192e01e.zip | |
Guard texi2pdf on tex probe as well. OSX package systems are real permissive.
| -rw-r--r-- | Makefile.in | 6 | ||||
| -rwxr-xr-x | configure | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 932e2dd8..1f2284d1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 @@ -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 |