X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=6dd5fa735216773c9c16889d62ba3d25069d9803;hb=1e5446a53fa072c4baadf12b2a8f7fd1adca4d19;hp=fb8ae7ccd00f6fd0cf9f813d655e2743de288f78;hpb=cec92a592924e1da84bd63b1b424a5f8d89e66bc;p=virt-p2v.git diff --git a/configure.ac b/configure.ac index fb8ae7c..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,[.]) @@ -112,6 +113,11 @@ 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) @@ -125,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