X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=aclocal.m4;h=8ce485bcc4c0780ff48eda3351112639a5a6468e;hb=674ecfc49b2fc03f95ec85a18d266e9fd8ee3dc4;hp=900ef7fc859f8744c41cb15e2b4562bf6f818663;hpb=9d63256829bcecf95064917de937feb1b0a3d836;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 900ef7f..8ce485b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -597,9 +597,6 @@ dnl contains path to perl binary dnl AC_DEFUN(FPTOOLS_CHECK_PERL_VERSION, [$PerlCmd -v >conftest.out 2>&1 -if grep "version 5" conftest.out >/dev/null 2>&1; then - : -else if grep "v5.6" conftest.out >/dev/null 2>&1; then : else @@ -609,11 +606,10 @@ else if grep "version 6" conftest.out >/dev/null 2>&1; then : else - echo "Your version of perl probably won't work." - fi + AC_MSG_ERROR([your version of perl probably won't work, try upgrading it.]) + fi fi fi -fi rm -fr conftest* ])