From 707d5651e17c8cbc95c67f89a3dca7a4d4b03e49 Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Tue, 8 Nov 2022 15:21:20 +0530 Subject: Clarify that LLVM upper bound is non-inclusive during configure (#22411) --- m4/find_llvm_prog.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/find_llvm_prog.m4 b/m4/find_llvm_prog.m4 index 8aaa6179c3..353765a0fd 100644 --- a/m4/find_llvm_prog.m4 +++ b/m4/find_llvm_prog.m4 @@ -18,15 +18,15 @@ AC_DEFUN([FIND_LLVM_PROG],[ AS_IF([test x"$PROG_VERSION" = x], [AC_MSG_RESULT(no) $1="" - AC_MSG_NOTICE([We only support llvm $3 to $4 (no version found).])], + AC_MSG_NOTICE([We only support llvm $3 upto $4 (non-inclusive) (no version found).])], [AC_MSG_CHECKING([$$1 version ($PROG_VERSION) is between $3 and $4]) AX_COMPARE_VERSION([$PROG_VERSION], [lt], [$3], [AC_MSG_RESULT(no) $1="" - AC_MSG_NOTICE([We only support llvm $3 to $4 (found $PROG_VERSION).])], + AC_MSG_NOTICE([We only support llvm $3 upto $4 (non-inclusive) (found $PROG_VERSION).])], [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).])], + AC_MSG_NOTICE([We only support llvm $3 upto $4 (non-inclusive) (found $PROG_VERSION).])], [AC_MSG_RESULT(yes)])])])]) ]) -- cgit v1.2.1