AC_INIT(tatoo,0.01) AM_INIT_AUTOMAKE AC_CONFIG_MACRO_DIR([m4]) AC_PROG_OCAML if test "$OCAMLC" = "no"; then AC_MSG_ERROR([Please install the OCaml compiler]) fi AC_PROG_FINDLIB if test "$OCAMLFIND" = "no"; then AC_MSG_ERROR([Please install OCaml findlib (the ocamlfind command)]) fi AC_CHECK_OCAML_PKG([ulex]) if test "$OCAML_PKG_ulex" = "no"; then AC_MSG_ERROR([Please install OCaml findlib module 'ulex'.]) fi AC_CHECK_OCAML_PKG([expat]) if test "$OCAML_PKG_expat" = "no"; then AC_MSG_ERROR([Please install OCaml findlib module 'expat'.]) fi AC_CONFIG_FILES([Makefile]) AC_OUTPUT