summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-27 11:14:56 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-29 03:49:31 -0400
commit639773984180bf3e1a9855b1bdbde469cab2cf27 (patch)
tree2dc36117cedcca0c223db91a2d3c76003c10f986 /aclocal.m4
parent78b70e63f94f77f56ce2b51786cc394ba2351f9b (diff)
downloadhaskell-639773984180bf3e1a9855b1bdbde469cab2cf27.tar.gz
Don't substitute GccVersion variable
Not only is it now unused but we generally can't assume that we are compiling with GCC, so it really shouldn't be used.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index aea0d64886..f5e7050a69 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1315,7 +1315,7 @@ AC_DEFUN([FP_PROG_AR_NEEDS_RANLIB],[
# FP_GCC_VERSION
# -----------
# Extra testing of the result AC_PROG_CC, testing the gcc version no. Sets the
-# output variable GccVersion.
+# (unsubstituted) output variable GccVersion.
AC_DEFUN([FP_GCC_VERSION], [
AC_REQUIRE([AC_PROG_CC])
if test -z "$CC"
@@ -1330,7 +1330,7 @@ AC_DEFUN([FP_GCC_VERSION], [
FP_COMPARE_VERSIONS([$fp_cv_gcc_version], [-lt], [4.6],
[AC_MSG_ERROR([Need at least gcc version 4.6 (4.7+ recommended)])])
])
- AC_SUBST([GccVersion], [$fp_cv_gcc_version])
+ GccVersion="$fp_cv_gcc_version"
])# FP_GCC_VERSION
dnl Check to see if the C compiler is clang or llvm-gcc