projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f19d19
)
[project @ 2005-07-21 09:27:34 by simonmar]
author
simonmar
<unknown>
Thu, 21 Jul 2005 09:27:34 +0000
(09:27 +0000)
committer
simonmar
<unknown>
Thu, 21 Jul 2005 09:27:34 +0000
(09:27 +0000)
Require Perl >= 5.6
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
900ef7f
..
8ce485b
100644
(file)
--- 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
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
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
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
fi
-fi
rm -fr conftest*
])
rm -fr conftest*
])