On 9/12/07, Brian Paul <[EMAIL PROTECTED]> wrote:
> Dan Nicholson wrote:
> > Currently there is no reliable and simple way to configure for and develop
> > with the Mesa OpenGL libraries. This is especially true if there are 
> > multiple
> > GL installations. The pkg-config utility makes these problems much easier to
> > deal with.
> >
> > This is an initial patch to export information for the GL, GLU, GLw and glut
> > libraries. Several improvements could be made, such as including the backend
> > dependent requirements of the libraries.
>
> Checked in.  Thanks.

Thanks, Brian. As alluded to, this is still a little bare because
you're not getting all the dependencies, such as -lX11 -lXext.
Ideally, you'd have x11 and xext (and libdrm, etc.) in the Requires:
line. But I don't see any sane way to handle that right now. A
possibility would be to stuff the GL_LIB_DEPS variable onto the Libs:
line. Ditto the Cflags.

But this is a good start.

--
Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to