Re: [Mesa-dev] [PATCH] automake: Honor (GL|GLU|OSMESA)_LIB from environment

2012-06-05 Thread Dan Nicholson
On 6/4/12, Brad King brad.k...@kitware.com wrote: On 06/01/2012 05:49 PM, Dan Nicholson wrote: +AC_ARG_VAR([GL_LIB],[name of GL library @:@default=GL@:@]) +AC_ARG_VAR([GLU_LIB],[name of GLU library @:@default=GLU@:@]) +AC_ARG_VAR([OSMESA_LIB],[name of OSMesa library @:@default=OSMesa@:@])

Re: [Mesa-dev] [PATCH] automake: Honor (GL|GLU|OSMESA)_LIB from environment

2012-06-05 Thread Brad King
On 06/05/2012 11:12 AM, Dan Nicholson wrote: Duh, you're right. I think this original patch is good to go. Great, thanks! a quick grep shows that there are no remaining hardcoded -lGL around (I think). I've built with a custom configs/current in the old pure-make system that sets GL_LIB for

Re: [Mesa-dev] [PATCH] automake: Honor (GL|GLU|OSMESA)_LIB from environment

2012-06-05 Thread Kenneth Graunke
On 06/01/2012 12:06 PM, Brad King wrote: Teach 'configure' to read the default GL_LIB, GLU_LIB, and OSMESA_LIB values from the environment. This allows one to mangle the library names (without also mangling the symbol names) to make them distinct from other GL libraries on the system. ---

Re: [Mesa-dev] [PATCH] automake: Honor (GL|GLU|OSMESA)_LIB from environment

2012-06-04 Thread Brad King
On 06/01/2012 05:49 PM, Dan Nicholson wrote: +AC_ARG_VAR([GL_LIB],[name of GL library @:@default=GL@:@]) +AC_ARG_VAR([GLU_LIB],[name of GLU library @:@default=GLU@:@]) +AC_ARG_VAR([OSMESA_LIB],[name of OSMesa library @:@default=OSMesa@:@]) +GL_LIB=${GL_LIB-GL} +GLU_LIB=${GLU_LIB-GLU}

Re: [Mesa-dev] [PATCH] automake: Honor (GL|GLU|OSMESA)_LIB from environment

2012-06-01 Thread Dan Nicholson
On Jun 1, 2012 12:13 PM, Brad King brad.k...@kitware.com wrote: Teach 'configure' to read the default GL_LIB, GLU_LIB, and OSMESA_LIB values from the environment. This allows one to mangle the library names (without also mangling the symbol names) to make them distinct from other GL