Fix perl hanging during configure (thanks to Luciano Miguel Ferreira Rocha).

This commit is contained in:
Richard Jones
2009-04-28 09:59:35 +01:00
parent b03ee3675b
commit 1d96b8bdb4

View File

@@ -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