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
d257ee42
Commit
d257ee42
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2005-11-01 10:38:28 by afrisch] Allow relative --mliface option
Original author: afrisch Date: 2005-11-01 10:38:28+00:00
parent
1f475adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ml
View file @
d257ee42
...
...
@@ -178,10 +178,14 @@ let ocaml_stdlib () =
Sys
.
remove
"ocaml_stdlib"
;
s
let
make_absolute
dir
=
if
Filename
.
is_relative
dir
then
Filename
.
concat
(
Sys
.
getcwd
()
)
dir
else
dir
let
ml_interface
=
let
dir1
=
!
(
List
.
assoc
"mliface"
vars
)
in
let
dirs
=
[]
in
let
dirs
=
if
dir1
=
""
then
dirs
else
dir1
::
dirs
in
let
dirs
=
if
dir1
=
""
then
[]
else
[
make_absolute
dir1
]
in
print
"ocaml sources... "
;
let
rec
loop
=
function
|
[]
->
...
...
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