Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (62 sloc) 2.58 KB
Copyright © 2011 MLstate
This file is part of OPA.
OPA is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License, version 3, as published by
the Free Software Foundation.
OPA is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
more details.
You should have received a copy of the GNU Affero General Public License
along with OPA. If not, see <>.
(** Configuration of the build system
The .ml file is generated by the ./configure script
(** the installation prefix (also known as MLSTATELIBS from many places *)
val prefix : string
(** the base directory of external ocaml libraries *)
val ocamllib : string
(** the ocamlopt compiler to use *)
val ocamlopt : string
(** related ocamlbuild tool *)
val ocamlbuild : string
val ocamlbuild_flags : string
(** full name of the camlp4o and camlp4orf executables *)
val camlp4o : string
val camlp4orf : string
(** path to the camlidl tool, if present and enabled *)
val camlidl : string option
(** Flag for Dbm present *)
val has_dbm : bool
(** library directories, if the libs are enabled *)
val libnatpmp : (string*string*string) option (** name of the lib, lib dir, include dir *)
val miniupnpc : (string*string*string) option (** name of the lib, lib dir, include dir *)
(** list all of the optional tags that have been detected available (eg
"camlidl", "libnatpmp", "miniupnpc", ...) *)
val available : string list
(** lists all the valid optional tags ([available] is a subset of those) *)
val all_tags : string list
(** are we compiling in release or debug mode ? In release mode,
assertions and debug variables are disabled *)
val is_release : bool
(** the target OS type *)
type os = Linux | Mac | Win32 | Cygwin | FreeBSD
val os : os
(** the name of the GNU make binary, gmake on fBSD, make on other platforms *)
val makebinary : string
(** the installation directory of external libraries, as in the ocamlopt '-I'
command-line option ; None if no extra include directory is needed *)
module Libdir : sig
val ssl : string option
val cryptokit : string option
val camlzip_name : string (** Sometimes "zip", sometimes "camlzip" *)
val camlzip : string option
val graph : string option
val ulex : string option
(** Common file extensions (on Unices, resp. .a, .o and .so) *)
val ext_lib : string
val ext_obj : string
val ext_shared : string
Jump to Line
Something went wrong with that request. Please try again.