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>
Wed, 27 Jul 2011 14:00:14 +0000 (15:00 +0100)
(cherry picked from commit 610642491a4846f45c7b233060ffde46f6ca09f0)

configure.ac

index 3830161..788aff9 100644 (file)
@@ -783,7 +783,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