aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/envars.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/envars.ml b/lib/envars.ml
index b8111831b1..b6312e7d9d 100644
--- a/lib/envars.ml
+++ b/lib/envars.ml
@@ -151,6 +151,10 @@ let camlbin () =
if !Flags.boot then Coq_config.camlbin else
try guess_camlbin () with _ -> Coq_config.camlbin
+let ocamlc () = camlbin () / Coq_config.ocamlc
+
+let ocamlopt () = camlbin () / Coq_config.ocamlopt
+
let camllib () =
if !Flags.boot then
Coq_config.camllib
@@ -159,10 +163,6 @@ let camllib () =
let _, res = CUnix.run_command (fun x -> x) (fun _ -> ()) com in
Util.String.strip res
-let ocamlc () = camlbin () / Coq_config.ocamlc
-
-let ocamlopt () = camlbin () / Coq_config.ocamlopt
-
(** {2 Camlp4 paths} *)
let guess_camlp4bin () = which (user_path ()) Coq_config.camlp4