Re: [Mesa-dev] [PATCH] configure.ac: use pkg-config for libelf

2015-11-23 Thread Jan Vesely
On Tue, 2015-11-24 at 01:07 +1100, Jonathan Gray wrote: > On Mon, Nov 23, 2015 at 07:52:44AM -0600, Jan Vesely wrote: > > On Mon, 2015-11-23 at 14:24 +1100, Jonathan Gray wrote: > > > Use PKG_CHECK_MODULES to get the flags to link libelf. > > > > This has been discussed before, and it does not wor

Re: [Mesa-dev] [PATCH] configure.ac: use pkg-config for libelf

2015-11-23 Thread Jonathan Gray
On Mon, Nov 23, 2015 at 07:52:44AM -0600, Jan Vesely wrote: > On Mon, 2015-11-23 at 14:24 +1100, Jonathan Gray wrote: > > Use PKG_CHECK_MODULES to get the flags to link libelf. > > This has been discussed before, and it does not work with elfutils: > http://lists.freedesktop.org/archives/mesa-dev/

Re: [Mesa-dev] [PATCH] configure.ac: use pkg-config for libelf

2015-11-23 Thread Jan Vesely
On Mon, 2015-11-23 at 14:24 +1100, Jonathan Gray wrote: > Use PKG_CHECK_MODULES to get the flags to link libelf. This has been discussed before, and it does not work with elfutils: http://lists.freedesktop.org/archives/mesa-dev/2014-October/069748.html Jan > > Signed-off-by: Jonathan Gray > Cc

Re: [Mesa-dev] [PATCH] configure.ac: use pkg-config for libelf

2015-11-22 Thread Jonathan Gray
On Mon, Nov 23, 2015 at 02:24:45PM +1100, Jonathan Gray wrote: > Use PKG_CHECK_MODULES to get the flags to link libelf. This should also include the part that uses cflags If there is any interest in it going in I'll post another diff with this included: diff --git a/src/gallium/drivers/radeon/Ma

[Mesa-dev] [PATCH] configure.ac: use pkg-config for libelf

2015-11-22 Thread Jonathan Gray
Use PKG_CHECK_MODULES to get the flags to link libelf. Signed-off-by: Jonathan Gray Cc: "11.0 11.1" --- configure.ac | 4 +--- src/gallium/drivers/radeon/Makefile.am | 2 +- src/gallium/targets/opencl/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-)