summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-05-24 00:35:33 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-05-24 03:05:41 +0200
commit4f5b33529b9e13b49a3ee00e9116b0edc9df1234 (patch)
tree325535b4bebf2c96ae768776fbf8c983609ac9a6 /aclocal.m4
parent9bb277269ec020f138fe70a65f5972466113ab61 (diff)
downloadhaskell-4f5b33529b9e13b49a3ee00e9116b0edc9df1234.tar.gz
Suppress the warning about __sync_fetch_and_nand (#9678)
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 1c9c49f062..dcc3448f34 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1252,6 +1252,7 @@ then
AC_MSG_ERROR([gcc is required])
fi
GccLT34=NO
+GccLT44=NO
GccLT46=NO
AC_CACHE_CHECK([version of gcc], [fp_cv_gcc_version],
[
@@ -1262,10 +1263,12 @@ AC_CACHE_CHECK([version of gcc], [fp_cv_gcc_version],
# isn't a very good reason for that, but for now just make configure
# fail.
FP_COMPARE_VERSIONS([$fp_cv_gcc_version], [-lt], [3.4], GccLT34=YES)
+ FP_COMPARE_VERSIONS([$fp_cv_gcc_version], [-lt], [4.4], GccLT44=YES)
FP_COMPARE_VERSIONS([$fp_cv_gcc_version], [-lt], [4.6], GccLT46=YES)
])
AC_SUBST([GccVersion], [$fp_cv_gcc_version])
AC_SUBST(GccLT34)
+AC_SUBST(GccLT44)
AC_SUBST(GccLT46)
])# FP_GCC_VERSION