From: Matt Turner Date: Mon, 6 Mar 2017 17:17:19 +0000 (-0800) Subject: configure.ac: Fix error message in radeon_llvm_check(). X-Git-Tag: upstream/17.1.0~1634 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f73903f09bd53fe4659dc8771141a6466956123f;p=platform%2Fupstream%2Fmesa.git configure.ac: Fix error message in radeon_llvm_check(). It printed the version of LLVM ($1): configure: error: 3.6.0 requires libelf when using llvm instead of the driver name ($2): configure: error: r600 requires libelf when using llvm Reviewed-by: Emil Velikov Reviewed-by: Marek Olšák Reviewed-by: Tobias Droste --- diff --git a/configure.ac b/configure.ac index 7d712b4..49cb283 100644 --- a/configure.ac +++ b/configure.ac @@ -1013,7 +1013,7 @@ radeon_llvm_check() { llvm_add_component "ipo" $2 if test "x$have_libelf" != xyes; then - AC_MSG_ERROR([$1 requires libelf when using llvm]) + AC_MSG_ERROR([$2 requires libelf when using llvm]) fi }