X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=fb8ae7ccd00f6fd0cf9f813d655e2743de288f78;hb=58d00e9c5eb4727f4700422e1ca8dc6f44161164;hp=1cfc4a226aa7436120e34642c0968efa240c6ec2;hpb=56cb3cbf0f571df50f8b80efe651c24da81f07d2;p=virt-p2v.git diff --git a/configure.ac b/configure.ac index 1cfc4a2..fb8ae7c 100644 --- a/configure.ac +++ b/configure.ac @@ -97,6 +97,21 @@ if test "x$pkg_xml_light" = "xno"; then AC_MSG_ERROR([Cannot find required OCaml package 'xml-light']) fi +AC_CHECK_OCAML_MODULE(newt,pkg_newt,Newt,[+newt]) +if test "x$pkg_newt" = "xno"; then + AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-newt']) +fi + +AC_CHECK_OCAML_MODULE(pcre,pkg_pcre,Pcre,[+pcre]) +if test "x$pkg_pcre" = "xno"; then + AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-pcre']) +fi + +AC_CHECK_OCAML_MODULE(libvirt,pkg_libvirt,Libvirt_version,[+libvirt]) +if test "x$pkg_libvirt" = "xno"; then + AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-libvirt']) +fi + dnl Check for recommended livecd-creator (for building ISOs). AC_CHECK_PROG(HAVE_LIVECD_CREATOR,livecd-creator,livecd-creator)