dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-AC_INIT([guestfs-browser],[0.2.0])
+AC_INIT([guestfs-browser],[0.2.2])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_MACRO_DIR([m4])
AC_MSG_ERROR([You must install OCaml findlib (ocamlfind)])
fi
+dnl Check for camlp4.
+AC_PROG_CAMLP4
+if test "$CAMLP4" = "no"; then
+ AC_MSG_ERROR([You must install the OCaml 'camlp4' preprocessor package])
+fi
+
dnl Check for all OCaml packages.
AC_CHECK_OCAML_PKG([lablgtk2])
if test "$OCAML_PKG_lablgtk2" = "no"; then
AC_MSG_ERROR([Please install OCaml module 'xml-light'.])
fi
+AC_CHECK_OCAML_PKG([calendar])
+if test "$OCAML_PKG_calendar" = "no"; then
+ AC_MSG_ERROR([Please install OCaml module 'calendar'.])
+fi
+
AC_CHECK_OCAML_PKG([camomile])
if test "$OCAML_PKG_camomile" = "no"; then
AC_MSG_ERROR([Please install OCaml module 'camomile' (>= 0.8, including the data module if that is separate).])