configure.ac: Fix error message in radeon_llvm_check().
authorMatt Turner <mattst88@gmail.com>
Mon, 6 Mar 2017 17:17:19 +0000 (09:17 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 7 Mar 2017 15:27:45 +0000 (07:27 -0800)
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 <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tobias Droste <tdroste@gmx.de>
configure.ac

index 7d712b41a71199406c4de23edae80d07584769ee..49cb28338d599fc5463bce6a81a5441577c88d41 100644 (file)
@@ -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
 }