diff options
| author | glondu | 2008-08-16 10:44:42 +0000 |
|---|---|---|
| committer | glondu | 2008-08-16 10:44:42 +0000 |
| commit | a3f08185150e8ae0ce00e142edfcf7009f126e93 (patch) | |
| tree | 1e7b252d94d3fab32ee50fa22ce7e1252090bcdf | |
| parent | 9cba6dace05b3698541ac93ef0f38e43afabb3f6 (diff) | |
Mind environment variables in (generated) coq_config.ml
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11326 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -862,9 +862,9 @@ cat << END_OF_COQ_CONFIG > $mlconfig_file (* DO NOT EDIT THIS FILE: automatically generated by ../configure *) let local = $local -let bindir = "$ESCBINDIR" -let coqlib = "$ESCLIBDIR" -let coqtop = "$ESCCOQTOP" +let bindir = try Sys.getenv "COQBIN" with Not_found -> "$ESCBINDIR" +let coqlib = try Sys.getenv "COQLIB" with Not_found -> "$ESCLIBDIR" +let coqtop = try Sys.getenv "COQTOP" with Not_found -> "$ESCCOQTOP" let camldir = "$ESCCAMLDIR" let camllib = "$ESCCAMLLIB" let camlp4 = "$CAMLP4" |
