diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-04-27 13:43:22 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-04-27 13:43:22 +0000 |
commit | 5833d3941a594ac2fa3f48c904f5891e6c688613 (patch) | |
tree | 02d5cfb69d82defde48bce0971fdfb4ef98b9322 /aclocal.m4 | |
parent | 6dd9e1fb676126afebab0a0a340a7d6a0470d52a (diff) | |
download | haskell-5833d3941a594ac2fa3f48c904f5891e6c688613.tar.gz |
require gcc 3.0+ (see #2770)
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 18af870f0b..5afe2d93d8 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -561,8 +561,11 @@ fi AC_CACHE_CHECK([version of gcc], [fp_gcc_version], [if test "$fp_have_gcc" = "YES"; then fp_gcc_version="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version [[^0-9]]*\([[0-9.]]*\).*/\1/g'`" - FP_COMPARE_VERSIONS([$fp_gcc_version], [-lt], [2.0], - [AC_MSG_ERROR([Need at least gcc version 2.0 (3.4+ recommended)])]) + FP_COMPARE_VERSIONS([$fp_gcc_version], [-lt], [3.0], + [AC_MSG_ERROR([Need at least gcc version 3.0 (3.4+ recommended)])]) + # See #2770: gcc 2.95 doesn't work any more, apparently. There probably + # isn't a very good reason for that, but for now just make configure + # fail. else fp_gcc_version="not-installed" fi |