diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2017-01-06 14:57:40 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2017-05-23 10:48:28 +0200 |
commit | 046657081fb769fcf033c7d7c6b3fb6e861a0996 (patch) | |
tree | 4a3287cce1f3fa35f1139e48893f7a5d2a63eb70 /lib/envars.ml | |
parent | e94334670c7aa9c96e40d678fcc7a7a70cfd0099 (diff) |
ocamlfind: coqtop -config prints ocamlfind as found by ./configure
Used to guess again the ocamlfind location at Coq's execution time.
An option to override the value (inferred at ./configure time) is available.
So, what is the point of guessing it? Either it stays there, or the
user is doing a hack, and has a flag to do it.
Diffstat (limited to 'lib/envars.ml')
-rw-r--r-- | lib/envars.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/envars.ml b/lib/envars.ml index 8654ee1a5..47d9670da 100644 --- a/lib/envars.ml +++ b/lib/envars.ml @@ -147,9 +147,7 @@ let coqpath = let exe s = s ^ Coq_config.exec_extension let ocamlfind () = - if !Flags.ocamlfind_spec then !Flags.ocamlfind else - if !Flags.boot then Coq_config.ocamlfind else - try guess_ocamlfind () / "ocamlfind" with Not_found -> Coq_config.ocamlfind + if !Flags.ocamlfind_spec then !Flags.ocamlfind else Coq_config.ocamlfind (** {2 Camlp4 paths} *) |