X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=38301611fd37adfa1f98d93f1e760bab614582db;hb=b2ad24867dc60868ebc04cdb9928c874f2dd723f;hp=b0b0f2d78ab4fcf9ce1efe9e3464e9634552a1f9;hpb=7a2317156b9b01da9e803b1f16ac74665374f360;p=libguestfs.git diff --git a/configure.ac b/configure.ac index b0b0f2d..3830161 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # major/minor/release must be numbers m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [8]) -m4_define([libguestfs_release], [5]) +m4_define([libguestfs_release], [9]) # extra can be any string m4_define([libguestfs_extra], []) @@ -310,6 +310,19 @@ AC_DEFINE_UNQUOTED([QEMU],["$QEMU"],[Location of qemu binary.]) dnl Check that the chosen qemu has virtio-serial support. if test "x$vmchannel_test" != "xno"; then + AC_MSG_CHECKING([that $QEMU -help works]) + if $QEMU -help > /dev/null 2>&1; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + AC_MSG_FAILURE( +[$QEMU -help: command failed. + +This could be a very old version of qemu, or qemu might not be +working. +]) + fi + AC_MSG_CHECKING([for virtio-serial support in $QEMU]) if $QEMU -nographic -device \? 2>&1 | grep -sq virtio-serial; then AC_MSG_RESULT([yes]) @@ -810,6 +823,7 @@ AC_CONFIG_FILES([Makefile appliance/Makefile images/Makefile capitests/Makefile + caution/Makefile regressions/Makefile test-tool/Makefile ocaml/Makefile ocaml/examples/Makefile