configure.ac: use pkg-config for libelf
Use PKG_CHECK_MODULES to get the flags to link libelf v2: keep AC_CHECK_LIB as a fallback for elfutils provided libelf that doesn't install a pkg-config file. Signed-off-by:Jonathan Gray <jsg@jsg.id.au> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> Tested-by:
Michel Dänzer <michel.daenzer@amd.com> Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit 7f585a6a) [Emil Velikov: squash trivial conflict] Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> Conflicts: src/gallium/targets/opencl/Makefile.am
Loading
Please register or sign in to comment