AC_MSG_ERROR(could not find ocamlfind in PATH, please make sure findlib is installed)
fi
+AC_MSG_CHECKING("for mlminidom")
+ocamlfind query mlminidom ||
+ AC_MSG_ERROR(mlminidom not installed (according to findlib))
+
+AC_MSG_CHECKING("for lablgtk")
+ocamlfind query lablgtk ||
+ AC_MSG_ERROR(lablgtk not installed (according to findlib))
+
AC_MSG_CHECKING("for the ocaml library dir")
OCAML_LIB_DIR=`ocamlc -where`
AC_MSG_RESULT($OCAML_LIB_DIR)