Add Config.have_ocamlc, Config.have_ocamlopt, Config.ocamlfind.
[whenjobs.git] / lib / config.ml.in
index 4ecc3a4..06fb4ec 100644 (file)
@@ -19,4 +19,9 @@
 let package_name = "@PACKAGE_NAME@"
 let package_version = "@PACKAGE_VERSION@"
 
+let have_ocamlc = "@OCAMLC@" <> "no"
+let have_ocamlopt = "@OCAMLOPT@" <> "no"
+
+let ocamlfind = "@OCAMLFIND@"
+
 let mailx = "@MAILX@"