package alt-ergo-lib
Source file config.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30(* Static configuration, automatically generated by configure.ml *) let libdir = "/home/opam/.opam/default/lib" let mandir = "/home/opam/.opam/default/man" type numbers_lib = | Nums | Zarith let numbers_lib = Zarith (* Dynamic configuration, relative to the executable path *) let follow dir path = Filename.concat path dir let abs_exe_path = let exe_name = Sys.executable_name in if not (Filename.is_relative exe_name) then exe_name else begin let cwd = Sys.getcwd () in Filename.concat cwd exe_name end let datadir = abs_exe_path |> Filename.dirname |> follow Filename.parent_dir_name |> follow "share" |> follow "alt-ergo" let pluginsdir = datadir |> follow "plugins" let preludesdir = datadir |> follow "preludes"