Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocamlbuild with findlib + camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Romain Bardou <Romain.Bardou@l...>
Subject: Re: [Caml-list] Ocamlbuild with findlib + camlp4
> (* these functions are not really officially exported *)
> let run_and_read = Ocamlbuild_pack.My_unix.run_and_read
> let blank_sep_strings = Ocamlbuild_pack.Lexers.blank_sep_strings

Wow, for a moment I thought I could use this hack to access the Log module:

   After_options ->
     (* Automatic -classic-display when not in a terminal *)
     if Sys.getenv "TERM" = "dumb" then
       Ocamlbuild_pack.Log.classic_display := false

But it has no effect. Maybe moving classic_display to the Options module 
would be great, if it has not been done already (I'm still in 3.10.1) ^^

-- 
Romain Bardou