Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
e7d047cf
Commit
e7d047cf
authored
Oct 05, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ml
View file @
e7d047cf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment