summaryrefslogtreecommitdiff
path: root/m4/find_llvm_prog.m4
diff options
context:
space:
mode:
authorZubin Duggal <zubin.duggal@gmail.com>2021-06-17 16:25:46 +0530
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-06-20 07:13:07 -0400
commit6c783817ef089e85642c3383937117cff9d15f67 (patch)
tree90266d7337b67a7703c88db0a9a668c19f02ff2f /m4/find_llvm_prog.m4
parent4a65c0f88060785a8bcb25bb13bc53c20948633b (diff)
downloadhaskell-6c783817ef089e85642c3383937117cff9d15f67.tar.gz
Set min LLVM version to 9 and make version checking use a non-inclusive upper
bound. We use a non-inclusive upper bound so that setting the upper bound to 13 for example means that all 12.x versions are accepted.
Diffstat (limited to 'm4/find_llvm_prog.m4')
-rw-r--r--m4/find_llvm_prog.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/find_llvm_prog.m4 b/m4/find_llvm_prog.m4
index 79a6a502a5..dc620ae470 100644
--- a/m4/find_llvm_prog.m4
+++ b/m4/find_llvm_prog.m4
@@ -24,7 +24,7 @@ AC_DEFUN([FIND_LLVM_PROG],[
[AC_MSG_RESULT(no)
$1=""
AC_MSG_NOTICE([We only support llvm $3 to $4 (found $PROG_VERSION).])],
- [AX_COMPARE_VERSION([$PROG_VERSION], [gt], [$4],
+ [AX_COMPARE_VERSION([$PROG_VERSION], [ge], [$4],
[AC_MSG_RESULT(no)
$1=""
AC_MSG_NOTICE([We only support llvm $3 to $4 (found $PROG_VERSION).])],