aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRalph Giles <[email protected]>2011-05-04 16:24:47 -0700
committerGraydon Hoare <[email protected]>2011-05-05 11:02:16 -0700
commit0b2cfcaab9cb55f8d0840d42ba5f337b14eace21 (patch)
tree842fb9de4749275d1a7b47ca1e365b6029daaf92 /Makefile.in
parentMark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. (diff)
downloadrust-0b2cfcaab9cb55f8d0840d42ba5f337b14eace21.tar.xz
rust-0b2cfcaab9cb55f8d0840d42ba5f337b14eace21.zip
Make ocamlc and optional dependency.
Since moving to a downloadable snapshot for stage0, it's been possible to complete the build without compiling code written in ocaml. However, the configure script still required it to be present. This commit changes detection failure to a non-fatal condition, allowing the build to complete on systems without an ocaml compiler. An info message is also made conditional.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index fe01d9ac..a6b85662 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,7 +38,7 @@ CFG_STDLIB :=$(call CFG_LIB_NAME,std)
ifdef CFG_OCAMLC_OPT
$(info cfg: have ocaml native compiler)
OPT=.opt
-else
+else ifdef CFG_OCAMLC
$(info cfg: have only ocaml bytecode compiler)
endif