AC_MSG_ERROR([Cannot find required OCaml package 'lablgtk2'])
fi
+AC_CHECK_OCAML_PKG(xml-light)
+if test "x$pkg_xml_light" != "xyes"; then
+ AC_MSG_ERROR([Cannot find required OCaml package 'xml-light'])
+fi
+
+AC_CHECK_OCAML_PKG(extlib)
+if test "x$pkg_extlib" != "xyes"; then
+ AC_MSG_ERROR([Cannot find required OCaml package 'extlib'])
+fi
+
dnl Check for optional OCaml packages.
AC_CHECK_OCAML_PKG(gettext)
AC_CHECK_OCAML_PKG(dbus)