X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=6dd5fa735216773c9c16889d62ba3d25069d9803;hb=06c28adccc3dbd0734659d5b10c60d63d5775ca8;hp=4c67758aec7806c28f45fcfad5faccafcc201d39;hpb=5181672f20e6cd6ecd283f71e5685dbde5ee17c4;p=virt-p2v.git diff --git a/configure.ac b/configure.ac index 4c67758..6dd5fa7 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA dnl Process this file with autoconf to produce a configure script. -AC_INIT(virt-p2v,0.9.7) +AC_INIT(virt-p2v,0.9.8) AC_PROG_INSTALL @@ -80,6 +80,7 @@ AC_SUBST(LOCALREPO) dnl Check for basic OCaml script interpreter. AC_PROG_OCAML +AC_PROG_FINDLIB dnl Check for required OCaml modules. AC_CHECK_OCAML_MODULE(unix,pkg_unix,Unix,[.]) @@ -108,10 +109,14 @@ if test "x$pkg_pcre" = "xno"; then fi AC_CHECK_OCAML_MODULE(libvirt,pkg_libvirt,Libvirt_version,[+libvirt]) -# XXX Broken because *.cmi files are missing from this package. -#if test "x$pkg_libvirt" = "xno"; then -# AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-libvirt']) -#fi +if test "x$pkg_libvirt" = "xno"; then + AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-libvirt']) +fi + +AC_CHECK_OCAML_MODULE(gettext,pkg_gettext,Gettext,[+gettext]) +if test "x$pkg_gettext" = "xno"; then + AC_MSG_ERROR([Cannot find required OCaml package 'ocaml-gettext']) +fi dnl Check for recommended livecd-creator (for building ISOs). AC_CHECK_PROG(HAVE_LIVECD_CREATOR,livecd-creator,livecd-creator) @@ -126,11 +131,14 @@ dnl Check for optional qemu or qemu-kvm (for test-booting). AC_CHECK_PROG(HAVE_QEMU,qemu,qemu) AC_CHECK_PROG(HAVE_QEMU_KVM,qemu-kvm,qemu-kvm) +dnl Check for recommended ocaml-gettext tool. +AC_CHECK_PROG(OCAML_GETTEXT,ocaml-gettext,ocaml-gettext) + dnl Summary. echo "------------------------------------------------------------" echo "Thanks for downloading" $PACKAGE_STRING echo "------------------------------------------------------------" dnl Produce output files. -AC_CONFIG_FILES([Makefile p2v.ks]) +AC_CONFIG_FILES([Makefile po/Makefile p2v.ks virt-p2v.spec]) AC_OUTPUT