From: Brian P. <br...@va...> - 2000-12-12 17:16:46
|
[I'm moving this thread to mesa3d-dev] "Jon M. Taylor" wrote: > > On Mon, 11 Dec 2000, Brian Paul wrote: > > > jt...@us... wrote: > > > > > > Update of /cvsroot/mesa3d/Mesa/include/GL > > > In directory slayer.i.sourceforge.net:/tmp/cvs-serv8112/include/GL > > > > > > Modified Files: > > > Makefile.am > > > Log Message: > > > Added a new configure.in flag, --enable-glut-build. > > > This defaults to "off", so GLUT is not built by default. > > > > Why did you do this? > > 1: There are several alternate version of GLUT present in the CVS > tree, and there's no way to select which one to build right now. If the > "standard" GLUT (Mesa/src-glut) is built and installed (which was done by > default), it wipes out any previously-installed libglut.so. I wouldn't worry about the other versions of glut. > 2: Many people don't need or want GLUT built in the first place, and it is > used only for the demos. It seems to be something of a standard in other > packages built with auto* scripts to not build demos by default, so.... > > 3: I suppose that the "correct" solution would involve extending > src-glut/* to be able to support GGI, BeOS, Win32, DJGPP, etc etc with a > compile-time switch, but that's up to whoever's maintaining the GLUT > sources. > > If you have any suggestions for neatening this up in a better way, > please let me know. I guess I could default it to "on" if you want. So, what's the make <target> for building GLUT and the demos? How about this: build libGL and libGLU always. Use 'make glut' to build libglut. Use 'make demos' to build GLUT and the demos. -Brian |