]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/configure.in
configure.in now used (just to check that ocaml and findlib are there)
[helm.git] / helm / ocaml / configure.in
diff --git a/helm/ocaml/configure.in b/helm/ocaml/configure.in
new file mode 100644 (file)
index 0000000..715a9d1
--- /dev/null
@@ -0,0 +1,15 @@
+AC_INIT(Makefile.common)
+
+AC_CHECK_PROG(HAVE_OCAMLC, ocamlc, yes, no)
+if test $HAVE_OCAMLC = "no"; then
+  AC_MSG_ERROR(could not find ocamlc in PATH, please make sure ocaml is installed)
+fi
+
+AC_CHECK_PROG(HAVE_OCAMLFIND, ocamlfind, yes, no)
+if test $HAVE_OCAMLFIND = "no"; then
+  AC_MSG_ERROR(could not find ocamlfind in PATH, please make sure findlib is installed)
+fi
+
+AC_OUTPUT([
+  Makefile
+])