[Plib-devel] Updated configure script in CVS
Brought to you by:
sjbaker
From: Sebastian U. <ud...@ha...> - 2002-08-30 19:09:53
|
As a result of the relocation of the preprocessor instructions that include the OpenGL header files from ul.h to fnt.h, pui.h and ssg.h (see thread "To Steve: gl.h / glu.h in ul.h"), it is now possible to build JS, NET, SG, SL and UL without the presence of any OpenGL implementation. Therefore, I checked a new configure.in into CVS that allows one to build only certain PLIB subsystems by specifying certain --enable- / --disable- options (for details, refer to the output of ./configure --help). This way, to use the example from my last mail, one can for example build only SL and UL on a minimalistic UNIX system that lacks X11 and OpenGL in order to write a simple console MOD player program. The configure script determines automatically if OpenGL and/or GLUT are needed for the chosen setup and does not check for their presence (and does not complain in case they can't be found) if they are not needed, such as in the examplatic case where only UL and SL are built. Although the new configure script works fine for me, there is always a chance I messed something up. Please test it and if you run into trouble and/or think you've found a bug in the script, BY ALL MEANS report it ! Thanks, Sebastian |