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
d3b30574
Commit
d3b30574
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2004-10-25 08:05:16 by afrisch] Avoid open_process
Original author: afrisch Date: 2004-10-25 08:05:16+00:00
parent
6c80e6eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ml
View file @
d3b30574
...
...
@@ -171,9 +171,12 @@ let check_mliface dir =
`not_found
let
ocaml_stdlib
()
=
let
ic
=
Unix
.
open_process_in
"ocamlc -where"
in
if
(
Sys
.
command
"ocamlc -where > ocaml_stdlib"
<>
0
)
then
fatal
"Can't run ocamlc to get OCaml standard library path"
;
let
ic
=
open_in
"ocaml_stdlib"
in
let
s
=
input_line
ic
in
close_in
ic
;
Sys
.
remove
"ocaml_stdlib"
;
s
let
ml_interface
=
...
...
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