+AC_CHECK_OCAML_PKG([camomile])
+if test "$OCAML_PKG_camomile" = "no"; then
+ AC_MSG_ERROR([Please install OCaml module 'camomile' (including the data module if that is separate).])
+fi
+
+AC_CHECK_OCAML_PKG([bitstring])
+if test "$OCAML_PKG_bitstring" = "no"; then
+ AC_MSG_ERROR([Please install OCaml module 'bitstring'.])
+fi
+