$NetBSD$ --- ../ghc-6.6.1/configure.orig 2007-04-26 02:29:16.000000000 +0900 +++ ../ghc-6.6.1/configure @@ -2590,20 +2590,12 @@ fi exit 1 else $PerlCmd -v >conftest.out 2>&1 - if grep "v5.6" conftest.out >/dev/null 2>&1; then + if grep "v5." conftest.out >/dev/null 2>&1; then : else - if grep "v5.8" conftest.out >/dev/null 2>&1; then - : - else - if grep "version 6" conftest.out >/dev/null 2>&1; then - : - else - { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 -echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2;} - { (exit 1); exit 1; }; } - fi - fi + { { echo "$as_me:$LINENO: error: your version of perl probably won't work, try upgrading it." >&5 + echo "$as_me: error: your version of perl probably won't work, try upgrading it." >&2; } + { (exit 1); exit 1; }; } fi rm -fr conftest*