X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=configure.ac;h=24de0926944ca57ac63dd01bcfaba8d357983c01;hp=57ae0a911f91da25c325c4ff69118951c6f4f5b7;hb=43ab6dfdf38fdafa040b9e9c1665295765f1486c;hpb=d025e91f6751505c70b7b5f492ee72c67e274ecf diff --git a/configure.ac b/configure.ac index 57ae0a9..24de092 100644 --- a/configure.ac +++ b/configure.ac @@ -17,8 +17,8 @@ # major/minor/release must be numbers m4_define([libguestfs_major], [1]) -m4_define([libguestfs_minor], [11]) -m4_define([libguestfs_release], [19]) +m4_define([libguestfs_minor], [13]) +m4_define([libguestfs_release], [0]) # extra can be any string m4_define([libguestfs_extra], []) @@ -107,6 +107,8 @@ if test "$gl_gcc_warnings" = yes; then # by Python, Ruby and xstrtoll. nw="$nw -Wstack-protector" # Don't warn about stack-protector # failures (seen on Ubuntu). + nw="$nw -Wmissing-noreturn" # Don't warn about missed noreturn funcs + # (seen on Ubuntu). gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) @@ -310,6 +312,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])