X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=6f6fa677987b511e79d1fcb6659ca05d2d0710fa;hb=23a1eac79ffcbab1801b89430fc0354e44cf7599;hp=a5023d1155ed014171c2daa7fcb2a3c2136d200d;hpb=7dc8ab0a896859c51973982c607f92a215a435cc;p=guestfs-browser.git diff --git a/configure.ac b/configure.ac index a5023d1..6f6fa67 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ dnl You should have received a copy of the GNU General Public License along 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.1.7]) +AC_INIT([guestfs-browser],[0.2.2]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_MACRO_DIR([m4]) @@ -52,6 +52,12 @@ if test "$OCAMLFIND" = "no"; then 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 @@ -78,6 +84,11 @@ if test "$OCAML_PKG_xml_light" = "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).]) @@ -110,5 +121,5 @@ fi AM_CONDITIONAL([HAVE_PERLDOC],[test "x$PERLDOC" != "xno"]) AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([Makefile config.ml]) +AC_CONFIG_FILES([Makefile]) AC_OUTPUT