X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=40c1f2663df98d14ad9da42f523c2f80c7fbe0bc;hb=231ac1696f0b47d2e566025d562259427c62a856;hp=7d4e52bb929b84ac17310804facb5f31c7e7113b;hpb=525a1e6573af68e02e9fb59846c629edbaecbbb0;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 7d4e52b..40c1f26 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.46 1999/12/21 13:00:54 simonmar Exp $ +dnl $Id: aclocal.m4,v 1.47 2000/05/09 10:43:45 rrt Exp $ dnl dnl Extra autoconf macros for the Glasgow fptools dnl @@ -319,26 +319,13 @@ dnl contains path to perl binary dnl AC_DEFUN(FPTOOLS_CHECK_PERL_VERSION, [$PerlCmd -v >conftest.out 2>&1 -if grep "version 4" conftest.out >/dev/null 2>&1; then - if grep "Patch level: 35" conftest.out >/dev/null 2>&1; then - echo " -************************************************************************ -Uh-oh...looks like you have Perl 4.035. - -Perl version 4.035 has a bug to do with recursion that will bite if -you run the lit2texi script, when making Info files from -literate files of various sorts. Either use perl5, the last version of perl4 -(4.036), or an older version (e.g., perl 4.019). Failing that, don't create -any Info files :-) -************************************************************************ -" - fi +if grep "version 5" conftest.out >/dev/null 2>&1; then + : else - if grep "version 5" conftest.out >/dev/null 2>&1; then + if grep "version 6" conftest.out >/dev/null 2>&1; then : else - echo "I'm not sure if your version of perl will work," - echo "but it's worth a shot, eh?" + echo "Your version of perl probably won't work." fi fi rm -fr conftest*