From: Richard Jones Date: Tue, 28 Apr 2009 08:59:35 +0000 (+0100) Subject: Fix perl hanging during configure (thanks to Luciano Miguel Ferreira Rocha). X-Git-Tag: 1.0.15~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1d96b8bdb42e44049aa84d1daa3e5d835d525b03;p=libguestfs.git Fix perl hanging during configure (thanks to Luciano Miguel Ferreira Rocha). --- diff --git a/configure.ac b/configure.ac index a898040..67f763b 100644 --- a/configure.ac +++ b/configure.ac @@ -186,7 +186,7 @@ dnl test the Perl bindings. missing_perl_modules=no for pm in Test::More Test::Pod Test::Pod::Coverage ExtUtils::MakeMaker; do AC_MSG_CHECKING([for $pm]) - if ! perl -M$pm >/dev/null 2>&1; then + if ! perl -M$pm -e1 >/dev/null 2>&1; then AC_MSG_RESULT([no]) missing_perl_modules=yes else