X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=8f45e7502297b2f11c8dd207c0f9a4fa55e1707f;hb=385db03c92bcb0f161f810bb6335531cc2d14685;hp=3060420550f1c1c2223c1ff19a57d3ec4f5592a8;hpb=bbfe03c47f1d7f03c3e6c0cab9e4f500f588c80a;p=guestfs-browser.git diff --git a/configure.ac b/configure.ac index 3060420..8f45e75 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,29 @@ if test "$OCAML_PKG_lablgtk2" = "no"; then AC_MSG_ERROR([Please install OCaml module 'lablgtk2'.]) fi +AC_CHECK_OCAML_PKG([libvirt]) +if test "$OCAML_PKG_libvirt" = "no"; then + AC_MSG_ERROR([Please install OCaml module 'libvirt'.]) +fi + +AC_CHECK_OCAML_PKG([guestfs]) +if test "$OCAML_PKG_guestfs" = "no"; then + AC_MSG_ERROR([Please install OCaml module 'guestfs'.]) +fi + +AC_CHECK_OCAML_PKG([xml-light]) +if test "$OCAML_PKG_xml_light" = "no"; then + AC_MSG_ERROR([Please install OCaml module 'xml-light'.]) +fi + +AC_CHECK_OCAML_PKG([extlib]) +if test "$OCAML_PKG_extlib" = "no"; then + AC_MSG_ERROR([Please install OCaml module 'extlib'.]) +fi + +dnl Check for gdk_pixbuf_mlsource program. +AC_PATH_PROGS([GDK_PIXBUF_MLSOURCE], [gdk_pixbuf_mlsource]) + AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile config.ml]) AC_OUTPUT