build: Send failed Perl test configure output to config.log.
[libguestfs.git] / configure.ac
index 456ed4d..ed88a2e 100644 (file)
@@ -17,8 +17,8 @@
 
 # major/minor/release must be numbers
 m4_define([libguestfs_major],   [1])
-m4_define([libguestfs_minor],   [11])
-m4_define([libguestfs_release], [20])
+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])
@@ -323,18 +325,8 @@ working.
 ])
     fi
 
-    # qemu since 0.15 requires the -machine accel=tcg option, otherwise
-    # it won't start up.  QEMU DEVELOPERS, PLEASE ADD CAPABILITIES TESTING.
-    AC_MSG_CHECKING([if this qemu has the -machine accel=tcg option])
-    if $QEMU -help 2>&1 | grep -sq -- '-machine.*accel.*tcg'; then
-        qemu_machine_accel_tcg="-machine accel=tcg"
-        AC_MSG_RESULT([$qemu_machine_accel_tcg])
-    else
-        AC_MSG_RESULT([no])
-    fi
-
     AC_MSG_CHECKING([for virtio-serial support in $QEMU])
-    if $QEMU $qemu_machine_accel_tcg -nographic -device \? 2>&1 | grep -sq virtio-serial; then
+    if $QEMU -nographic -device \? 2>&1 | grep -sq virtio-serial; then
         AC_MSG_RESULT([yes])
     else
         AC_MSG_RESULT([no])
@@ -789,7 +781,7 @@ AS_IF([test "x$PERL" != "xno"],
         missing_perl_modules=no
         for pm in Pod::Usage Getopt::Long Sys::Virt Data::Dumper Locale::TextDomain Win::Hivex Win::Hivex::Regedit String::ShellQuote; do
             AC_MSG_CHECKING([for $pm])
-            if ! $PERL -M$pm -e1 >/dev/null 2>&1; then
+            if ! $PERL -M$pm -e1 >&AS_MESSAGE_LOG_FD 2>&1; then
                 AC_MSG_RESULT([no])
                 missing_perl_modules=yes
             else