[Mesa-dev] [PATCH] configure.ac: Add --with-(gl|glu|osmesa)-lib-name options

Eric Anholt eric at anholt.net
Wed Jul 11 08:24:21 PDT 2012

Brad King <brad.king at kitware.com> writes:

> On 07/09/2012 04:57 PM, Brad King wrote:
>> Running "git bisect" points to commit 2d4b77c7 (automake:
>> Convert src/mesa/drivers/x11/Makefile, 2012-06-12).  The change
>> made by the commit does not obviously drop use of GL_LIB.
> Upon closer inspection it *does* obviously drop use of GL_LIB.
> Now "libGL" is hard-coded in "Makefile.am".  Naive replacement
> like that below is not valid automake code AFAICT.  I'm not
> familiar enough with automake to know how to make the library
> name configurable.  Does anyone know?

For the OSMesa changes, Laurent Carlier used @OSMESA_LIB@, so if you did
this patch using @GL_LIB@, it would at least be consistent with that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120711/fb145a26/attachment.pgp>

More information about the mesa-dev mailing list