On 9 December 2015 at 05:55, Jonathan Gray <j...@jsg.id.au> 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 <j...@jsg.id.au> > Reviewed-by: Michel Dänzer <michel.daen...@amd.com> > Tested-by: Michel Dänzer <michel.daen...@amd.com> > Cc: "11.0 11.1" <mesa-sta...@lists.freedesktop.org> > --- > 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 <emil.veli...@collabora.com>
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 mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev