On 9 December 2015 at 05:55, Jonathan Gray <[email protected]> wrote:
> 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 <[email protected]>
> Reviewed-by: Michel Dänzer <[email protected]>
> Tested-by: Michel Dänzer <[email protected]>
> Cc: "11.0 11.1" <[email protected]>
> ---
>  configure.ac                           | 12 +++++++++---
>  src/gallium/drivers/radeon/Makefile.am |  5 +++--
>  src/gallium/targets/opencl/Makefile.am |  5 ++++-
>  3 files changed, 16 insertions(+), 6 deletions(-)
>
Reviewed-by: Emil Velikov <[email protected]>

François, this should allow you guys to remove these nasty workarounds
[1]. Prior you only needed them for opencl or when r600/radeonsi was
selected (be that dri, d3dadapter or any of the video backend drivers)

-Emil

[1] 
http://gitweb.dragonflybsd.org/dports.git/blob/HEAD:/graphics/libosmesa/Makefile.DragonFly
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to