build: Send failed Perl test configure output to config.log.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Jul 2011 16:00:48 +0000 (17:00 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Jul 2011 16:00:48 +0000 (17:00 +0100)
configure.ac

index 24de092..ed88a2e 100644 (file)
@@ -781,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