[Mesa-dev] [PATCH] build: fix --without-glut
Kenneth Graunke
kenneth at whitecape.org
Tue Nov 20 13:34:21 PST 2012
On 11/20/2012 08:57 AM, Burton, Ross wrote:
> On 14 November 2012 15:38, Dan Nicholson <dbn.lists at gmail.com> wrote:
>> This looks pretty good except that I think you need to temporarily add
>> GLUT_CFLAGS to CFLAGS and GLUT_LIBS to LIBS so that the user specified
>> prefix works for AC_CHECK*. On the other hand, at least mesa glut has a
>> pkg-config file, so it might be easier to just require a glut with glut.pc.
>> Not sure about the other gluts though.
>
> Yes, I think you're right about AC_CHECK, I'll fix that.
>
> FreeGLUT at least doesn't ship glut.pc. We could drop freeglut for
> mesa/glut but then it's had commits in the last three years, unlike
> mesa/glut... Undecided.
>
> Ross
My advice: don't use Kilgard's GLUT.
It would be nice if freeglut shipped a .pc file though.
--Ken
More information about the mesa-dev
mailing list