[Mesa-dev] [PATCH] clover: Require libelf
Matt Turner
mattst88 at gmail.com
Thu Oct 23 17:29:08 PDT 2014
On Mon, Oct 20, 2014 at 2:44 PM, Jan Vesely <jano.vesely at gmail.com> wrote:
> From: Jan Vesely <jan.vesely at rutgers.edu>
>
> CC: Tom Stellard <tom at stellard.net>
> CC: Emil Velikov <emil.l.velikov at gmail.com>
> CC: Francisco Jerez <currojerez at riseup.net>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>
> This fixes clover build failures when building without radeon
>
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 0ed9325..c3c42af 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1495,6 +1495,8 @@ if test "x$enable_opencl" = xyes; then
> else
> OPENCL_LIBNAME="OpenCL"
> fi
> + AC_CHECK_LIB([elf], [elf_memory], [ELF_LIB=-lelf],
> + [AC_MSG_ERROR([$1 requires libelf when using LLVM])])
> fi
> AM_CONDITIONAL(HAVE_CLOVER, test "x$enable_opencl" = xyes)
> AM_CONDITIONAL(HAVE_CLOVER_ICD, test "x$enable_opencl_icd" = xyes)
> --
> 2.0.4
I just noticed this patch.
Why aren't we using pkg-config?
More information about the mesa-dev
mailing list