diff options
| author | glondu | 2008-09-06 03:43:09 +0000 |
|---|---|---|
| committer | glondu | 2008-09-06 03:43:09 +0000 |
| commit | ee21f75f114c73a79dfa13899a2cf4caa8996fa0 (patch) | |
| tree | b677c227580b86331d1c3dc7504f20b0ac6ab21f | |
| parent | 677b63f37a08d556615e94219c9bc881b55e4073 (diff) | |
Always use environment variables
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11368 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -877,9 +877,9 @@ cat << END_OF_COQ_CONFIG > $mlconfig_file let local = $local let coqrunbyteflags = "$COQRUNBYTEFLAGS" -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" |
