]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/configure.in
Initial revision
[helm.git] / helm / ocaml / configure.in
1 AC_INIT(Makefile.in)
2
3 AC_CHECK_PROG(HAVE_OCAMLC, ocamlc, yes, no)
4 if test $HAVE_OCAMLC = "no"; then
5   AC_MSG_ERROR(could not find ocamlc in PATH, please make sure ocaml is installed)
6 fi
7
8 AC_CHECK_PROG(HAVE_OCAMLFIND, ocamlfind, yes, no)
9 if test $HAVE_OCAMLFIND = "no"; then
10   AC_MSG_ERROR(could not find ocamlfind in PATH, please make sure findlib is installed)
11 fi
12
13 AC_MSG_CHECKING("where to install the library")
14 OCAMLFIND_DEST_DIR="/public/sacerdot/prova"
15 AC_MSG_RESULT($OCAMLFIND_DEST_DIR)
16
17 AC_MSG_CHECKING("where to install the META files")
18 OCAMLFIND_META_DIR="/public/sacerdot/prova/META"
19 AC_MSG_RESULT($OCAMLFIND_META_DIR)
20
21 AC_SUBST(OCAMLFIND_DEST_DIR)
22 AC_SUBST(OCAMLFIND_META_DIR)
23
24 AC_OUTPUT([
25   Makefile
26   Makefile.common
27 ])