Commit e7d047cf authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-06-20 00:14:02 by beppe] autodetect godi default installation

Original author: beppe
Date: 2004-06-20 00:14:02+00:00
parent aa9905a8
......@@ -175,8 +175,11 @@ let rec search_sources source_list =
let ml_interface =
let dir1 = !(List.assoc "mliface" vars) in
let dir = (if dir1 = "" then search_sources src_dirs else dir1) in
let dir1 = !(List.assoc "mliface" vars) in
let dir = (if Sys.file_exists "/opt/godi/lib/ocaml/compiler-lib" then
"/opt/godi/lib/ocaml/compiler-lib"
else if dir1 = "" then
search_sources src_dirs else dir1) in
if dir = "" then `no
else
let file = if native then "types.cmx" else "types.cmo" in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment