diff options
Diffstat (limited to 'cvs/cvsweb.cgi/~checkout~/code/nel')
289 files changed, 90501 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.1&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.1&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..bde3591a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.1&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,16 @@ +Nevrax Team : + + Vianney Lecroart + Vincent Archer + Cyril Corvazier + Sameh Chafik + Lionel Berenguier + Antoine Viau + Olivier Cado + Pierre Portier + Gabriel Robert + Stephane Coutelas + Benjamin Legros + Yan Babilliot + Cedric Valignat + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.2&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.2&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..342e46ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.2&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,17 @@ +Nevrax Team : + + Vianney Lecroart + Vincent Archer + Cyril Corvazier + Sameh Chafik + Alain Saffray + Lionel Berenguier + Antoine Viau + Olivier Cado + Pierre Portier + Gabriel Robert + Stephane Coutelas + Benjamin Legros + Yan Babilliot + Cedric Valignat + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.3&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.3&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..2810290d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/AUTHORS?rev=1.3&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,19 @@ +Nevrax Team : + + Daniel Miller + Vianney Lecroart + Vincent Archer + Cyril Corvazier + Sameh Chafik + Alain Saffray + Guillaume Puzin + Lionel Berenguier + Antoine Viau + Olivier Cado + Pierre Portier + Gabriel Robert + Stephane Coutelas + Benjamin Legros + Yan Babilliot + Cedric Valignat + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/COPYING?rev=1.1&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/COPYING?rev=1.1&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html new file mode 100644 index 00000000..d60c31a9 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/COPYING?rev=1.1&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.12&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.12&sortby=date new file mode 100644 index 00000000..1a119b03 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.12&sortby=date @@ -0,0 +1,150 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.17&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.17&sortby=author new file mode 100644 index 00000000..a0449837 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.17&sortby=author @@ -0,0 +1,173 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai>. + NeL Misc is mandatory and cannot be disabled. + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.6&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.6&sortby=author new file mode 100644 index 00000000..42eb09fd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?content-type=text/plain&rev=1.6&sortby=author @@ -0,0 +1,134 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ce409fd8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,103 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" option. + This option permit to override the default STL headers. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case that you need to rebuild the "configure" script and/or the + "Makefile.in" files, execute the "bootstrap" script in the NeL + directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ce409fd8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.1&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,103 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" option. + This option permit to override the default STL headers. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case that you need to rebuild the "configure" script and/or the + "Makefile.in" files, execute the "bootstrap" script in the NeL + directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..8d35f6f4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,148 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..8d35f6f4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.10&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,148 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.11&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.11&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..b0b6e502 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.11&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,147 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..1a119b03 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,150 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..f9db6526 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,172 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation : + + - You need to intall gmumake and to place it in the PATH. + + - Open a Dos window and go in the FreeType's src directory. + + - Execute `make setup visualc' followed by `make`. + + If your are using your own IDE, you must be sure that the + src/psaux/psaux.c file is include in the project's files list to + compile. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&sortby=date new file mode 100644 index 00000000..f9db6526 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.13&sortby=date @@ -0,0 +1,172 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation : + + - You need to intall gmumake and to place it in the PATH. + + - Open a Dos window and go in the FreeType's src directory. + + - Execute `make setup visualc' followed by `make`. + + If your are using your own IDE, you must be sure that the + src/psaux/psaux.c file is include in the project's files list to + compile. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.14&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.14&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..5908b9e5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.14&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,175 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..efb01e39 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,172 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..efb01e39 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.15&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,172 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..fe4bd897 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,173 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + - OpenAL <URL:http://www.openal.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&sortby=date new file mode 100644 index 00000000..fe4bd897 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.16&sortby=date @@ -0,0 +1,173 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://freetype.sourceforge.net/> + - Python 1.5 <URL:http://www.python.org/> + - OpenAL <URL:http://www.openal.org/> + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..9702fd8a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,190 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&sortby=date new file mode 100644 index 00000000..9702fd8a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.18&sortby=date @@ -0,0 +1,190 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.19&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.19&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..182b8f7b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.19&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,191 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - LibXML <URL:http://www.xmlsoft.org/> (NeL Misc) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.2&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.2&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..ac18b246 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.2&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,116 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Mesa <URL:http://www.mesa3d.org/> + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" option. + This option permit to override the default STL headers. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case that you need to rebuild the "configure" script and/or the + "Makefile.in" files, execute the "bootstrap" script in the NeL + directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..d41c9980 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - LibXML <URL:http://www.xmlsoft.org/> (NeL Misc) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..d41c9980 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.20&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - LibXML <URL:http://www.xmlsoft.org/> (NeL Misc) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..1e44b20a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (NeL Misc) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..1e44b20a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.21&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (NeL Misc) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort need to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..e0941718 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (NeL Misc) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..e0941718 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.22&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (NeL Misc) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..a2be9e23 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..a2be9e23 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.23&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,194 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..40653276 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,208 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + - For DirectX8 : install the SDK, then setup your directories as follow : + mssdkdir/include/dx8/ + mssdkdir/lib + Add mssdkdir/include to the "Include Files" category. + Add mssdkdir/lib to the "Library Files" category. + Make sure these appear before visual includes, as an older version of directX + may be present in Visual C++ headers. + + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..40653276 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.24&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,208 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + - For DirectX8 : install the SDK, then setup your directories as follow : + mssdkdir/include/dx8/ + mssdkdir/lib + Add mssdkdir/include to the "Include Files" category. + Add mssdkdir/lib to the "Library Files" category. + Make sure these appear before visual includes, as an older version of directX + may be present in Visual C++ headers. + + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.25&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.25&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..0d770a9b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.25&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,227 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL Misc, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK, then create a subdirectory called + dx8 in mssdkdir/include/ and move all files from mssdkdir/include/ + to mssdkdir/include/dx8/. + + - Add mssdkdir/include to the "Include Files" category. + Add mssdkdir/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.26&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.26&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..2c14a12e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.26&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,232 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL Misc, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP5 + Processor Pack for SP5. + + SP5 and Processor Pack for SP5 can be found at: + + <URL:http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp> + + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK, then create a subdirectory called + dx8 in mssdkdir/include/ and move all files from mssdkdir/include/ + to mssdkdir/include/dx8/. + + - Add mssdkdir/include to the "Include Files" category. + Add mssdkdir/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..0baddf08 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,230 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP5 + Processor Pack for SP5. + + SP5 and Processor Pack for SP5 can be found at: + + <URL:http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp> + + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK + - Add mssdk/include to the "Include Files" category. + Add mssdk/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&sortby=log new file mode 100644 index 00000000..0baddf08 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.27&sortby=log @@ -0,0 +1,230 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP5 + Processor Pack for SP5. + + SP5 and Processor Pack for SP5 can be found at: + + <URL:http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp> + + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK + - Add mssdk/include to the "Include Files" category. + Add mssdk/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.28&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.28&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..3cdfa675 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.28&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,232 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + (Greater version of these libraries should also be ok) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP5 + Processor Pack for SP5. + + SP5 and Processor Pack for SP5 can be found at: + + <URL:http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp> + + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK + - Add mssdk/include to the "Include Files" category. + Add mssdk/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.29&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.29&sortby=rev new file mode 100644 index 00000000..82279ce2 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.29&sortby=rev @@ -0,0 +1,232 @@ + +Requirements +============ + + The NeL library needs the following libraries : + + - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) + - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) + - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) + - OpenAL <URL:http://www.openal.org/> (NeL Sound) + - Python 1.5 <URL:http://www.python.org/> (NeL AI) + - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) + - EAX 2 <URL:http://eax.creative.com/> (NeL Sound, Windows version) + + (Greater version of these libraries should also be ok, if not, contact us) + + STLPort needs to be compiled. NeL is using the SGI iostreams and it require + the STLPort compilation and a linking of NeL with the STLPort library. + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + + - Mesa 3.3 <URL:http://www.mesa3d.org/> (NeL 3D) + + On some OpenGL implementations, you migth have some troubles, coming from + the <GL/glext.h> file, to get NeL to compile. This file could be missing + or not up to date. You will find the latest version of this file on SGI's + website : + + - glext.h <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h> + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if NeL will work with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + For windows users, note that you don't need to have the Direct Input (verion 8) dll + on your system for NeL to run, but in this case, there will be no joystick support, and + no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP5 + Processor Pack for SP5. + + SP5 and Processor Pack for SP5 can be found at: + + <URL:http://msdn.microsoft.com/vstudio/downloads/ppack/download.asp> + + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process, and you should carefully read these libraries + documentation (at least the README and INSTALL files) before compiling + and installing them. + + STLport Compilation : + + - Open a Dos window and go in the STLPort's src directory. + + - Rename or copy the "vc6-unicode.mak" to "Makefile". + + - Execute `nmake clean all` followed by `nmake install`. + + FreeType compilation, by using GNU Make : + + - You need to intall GNU make and to place it in the PATH. + + <URL:http://ftpsearch.lycos.com/swadv/AdvResults.asp?query=gnumake-win32> + + - Open a Dos window and go in the FreeType's directory. + + - Execute `make setup visualc' followed by `make`. + + FreeType compilation, by using an IDE : + + - Compile every (base and optionnal) library components listed + at the end of the FreeType's INSTALL file. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.5/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.5/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + + Requirements for Nel Misc: Direct Input 8 + + - Install the DirectX8 SDK + - Add mssdk/include to the "Include Files" category. + Add mssdk/lib to the "Library Files" category. + Make sure these appear before visual c++ includes, as an older + version of directX may be present in Visual C++ headers. + + Requirements for NeL Sound: OpenAL and EAX 2 + + - Add the include and library directories for OpenAL: + Add openaldir/win/ to the "Include Files" category. + Add openaldir/win/al/ to the "Include Files" category. + Add openaldir/win/openal32/release to the "Library Files" category. + Add openaldir/win/alut/release to the "Library Files" category. + (Please note the include directories are not located in + openaldir/include/ but in openaldir/win/ on the Windows platform) + + - Add the include and library directories for EAX: + Add eaxdir/include to the "Include Files" category. + Add eaxdir/libs to the "Library Files" category. + + - At runtime, you will need openal32.dll and eax.dll in your path. + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Include Files" category. + ex: D:/test/code/nel/include + + - Add the NEL source directory to the "Include Files" category. + ex: D:/test/code/nel/src + + - Add the NeL library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + In the NeL directory do : + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + % ./configure --with-stlport=<Path_to_the_stlport_install_directory> + + % make + + The "configure" script must be call with the "--with-stlport". + The option "--with-stlport" allow to override the default STL headers + + It is possible to compile and install only the needed part of NeL. + So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : + + - misc + default: Mandatory + - net + default: Enables + desativate with: --disable-net + - 3d + default: Enable + desativate with: --disable-3d + - pacs + default: Enable + desativate with: --disable-pacs + - sound + default: Disable + ativate with: --enable-sound + - ai + default: Disable + ativate with: --enable-ai + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + +Contact us +========== + + If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + + If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..6701b441 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,117 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Python <URL:http://www.python.org/> + - Mesa <URL:http://www.mesa3d.org/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" option. + This option permit to override the default STL headers. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case that you need to rebuild the "configure" script and/or the + "Makefile.in" files, execute the "bootstrap" script in the NeL + directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..6701b441 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.3&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,117 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Python <URL:http://www.python.org/> + - Mesa <URL:http://www.mesa3d.org/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" option. + This option permit to override the default STL headers. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case that you need to rebuild the "configure" script and/or the + "Makefile.in" files, execute the "bootstrap" script in the NeL + directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..9df4e026 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,126 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..9df4e026 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,126 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..42eb09fd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,134 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..9922d7f7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,142 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..9922d7f7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.7&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,142 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..212860ea --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,145 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..212860ea --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.8&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,145 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.9&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.9&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..f6d62901 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.9&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,148 @@ + +If you find any bugs use the Nevrax Bug Tracking System : + + <URL:http://www.nevrax.org/bugs/> + +If you need any help contact us on the NeL mailing-list : + + <URL:http://www.nevrax.org/mail/> + + +Requirements +============ + + The NeL library need the following libraries : + + - STLPort 4.0 <URL:http://www.stlport.org/> + - FreeType 2 <URL:http://www.freetype.org/> + - Python 1.5 <URL:http://www.python.org/> + + On a GNU/Linux platform you will need the following libraries and + softwares : + + - Autoconf <URL:http://www.gnu.org/software/autoconf/autoconf.html> + - Automake <URL:http://www.gnu.org/software/automake/automake.html> + - Libtool <URL:http://www.gnu.org/software/libtool/libtool.html> + - Lex / Flex <URL:http://www.gnu.org/software/flex/flex.html> + - Yacc / Bison <URL:http://www.gnu.org/software/bison/bison.html> + - Mesa 3.3 <URL:http://www.mesa3d.org/> + + Some of the GNU/Linux distributions uses a "custom" version of Mesa which + include the last SGI's version of the glext.h file, which is good :-). + The other GNU/Linux distributions use a strict distribution of Mesa, + which migth use an older version of that file. So if you encounter + some problems during the NeL compilation concerning the GL_GLEXT_VERSION, + you should download the last version of the glext.h on SGI's website : + <URL:http://oss.sgi.com/projects/ogl-sample/ABI/glext.h>. + + Most of our documentation is done using Doxygen, so you might need it + to read our prose and our code documentation. If you want have nice + graphs like dependency graphs, collaboration diagrams, or graphical + class hierarchy graphs you will need Graphviz : + + - Doxygen <URL:http://www.stack.nl/~dimitri/doxygen/> + - Graphviz <URL:http://www.research.att.com/sw/tools/graphviz/> + + Most of these softwares should be already installed on your system or + provided on your installation disk. + + The given sofware or library version numbers are the ones that we are + using. We don't know if it working with other (older or more recent) + versions of these softwares or libraries. You are welcome to help us + to define more precisely these informations ;-) + + +Compilation +=========== + + 1. Windows compilation + ---------------------- + + The compilation on Windows has been done only with Visual C++ 6.0 SP4. + + You first need to compile STLport and FreeType libraries. It's a quite + long compilation process. + + Set up Visual C++ to find the STLPort and FreeType libraries. This + is done in the [Tools -> Options -> Directories] menu : + + - Add the STLPort include directory to the "Library Files" category. + The STLPort include *must* be inserted before the microsoft one or + the compiler will take microsoft STL instead of STLPort STL. + (use the arrow button to put the STLPort include at the top) + ex: D:/stlport-4.0/stlport + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/stlport-4.0/lib + + - Add the FreeType include directory to the "Include Files" category. + ex: D:/freetype-2.0/include + + - Add the FreeType library directory to the "Library Files" category. + ex: D:/freetype-2.0/obj + + Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). + + Setup Visual C++ to find the NeL include and library files : + + - Add the NEL include directory to the "Library Files" category. + ex: D:/test/code/nel/include + + - Add the STLPort library directory to the "Library Files" category. + ex: D:/test/code/nel/lib + + + 2. GNU/Linux compilation + ------------------------ + + The compilation on GNU/Linux has been done only on RedHat 6.2 with + GCC 2.96. + + In the NeL directory do : + + % ./configure --with-stlport=<Path_to_the_stlport_headers_files> \ + --with-python=<Path_to_the_python_headers_files> + % make + + The "configure" script must be call with the "--with-stlport" and + "--with-python" options. + The option "--with-stlport" allow to override the default STL headers + and the option "--with-python" tell to the configuration script, where + to find the Python headers files. + + You migth need to specify the FreeType 2 installation prefix by using + the "--with-freetype" argument (ex: "/usr/local" will look for the + header files in "/usr/local/include" and the library files in the + "/usr/local/lid/ directory). + + To pass additional arguments to the C++ compiler, use the command line : + + % CXXFLAGS=-pipe ./configure --with-stlport=<STLPort_headers_path> + + To get the complete list of arguments of the "configure" script use the + following command : + + % ./configure --help + + In the case (ex: after a cvs checkout) that you need to rebuild the + "configure" script and/or the "Makefile.in" files, execute the + "bootstrap" script in the NeL directory : + + % ./bootstrap + + +Installation +============ + + 1. Windows installation + ----------------------- + + Not done yet. + + + 2. GNU/Linux installation + -------------------------- + + % make install + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Jamfile?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=HEAD/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Jamfile?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=HEAD/index.html new file mode 100644 index 00000000..b80a6367 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Jamfile?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=HEAD/index.html @@ -0,0 +1,11 @@ +# +# Jamfile to build NeL +# + +if $(NEL_TOP) != $(DOT) +{ + SubDir NEL_TOP ; +} + +SubInclude NEL_TOP src ; +SubInclude NEL_TOP samples ; diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Jamrules?rev=1.1&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Jamrules?rev=1.1&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..f01523dc --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Jamrules?rev=1.1&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,83 @@ + +NEL_TOP ?= $(DOT) ; + +NEL_LIB ?= $(NEL_TOP)$(SLASH)lib ; + +NEL_OBJ ?= $(NEL_TOP)$(SLASH)obj ; + +HDRS += $(NEL_TOP)$(SLASH)include ; + +HDRS += E:/external/STLport-4.5/stlport s:/EXTERNAL/LIBXML2-2.4.5/include ; + +C++BASEFLAGS = $(C++FLAGS) /W3 /GX /GR /D "_MBCS" /D "_LIB" /D "WIN32" ; + +LINKFLAGS += /LIBPATH:E:/external/STLport-4.5/lib /subsystem:windows ; + +LINKLIBS = User32.lib Gdi32.lib ; + +# d /nologo /MDd /W3 /GR /GX /Zi /Gm /Gi /Od /Gf /D "_MBCS" /D "_LIB" /D "WIN32" /D "_DEBUG" /D "__STL_DEBUG" /Fp"../obj/Debug/misc.pch" /Yu"stdmisc.h" /Fo"../obj/Debug/" /Fd"../obj/Debug/" /FD /GZ /c +# df /nologo /MDd /W3 /GR /GX /Zi /Gm /Gi /Od /Ob1 /Gf /D "_MBCS" /D "_LIB" /D "WIN32" /D "_DEBUG" /D "NL_DEBUG_FAST" /Fp"../obj/DebugFast/misc.pch" /Yu"stdmisc.h" /Fo"../obj/DebugFast/" /Fd"../obj/DebugFast/" /FD /GZ /c +# rd /nologo /MD /W3 /GR /GX /Zi /O2 /D "_MBCS" /D "_LIB" /D "WIN32" /D "NDEBUG" /D "NL_RELEASE_DEBUG" /Fp"../obj/ReleaseDebug/misc.pch" /Yu"stdmisc.h" /Fo"../obj/ReleaseDebug/" /Fd"../obj/ReleaseDebug/" /FD /c +# r /nologo /MD /W3 /GR /GX /O2 /D "_MBCS" /D "_LIB" /D "WIN32" /D "NDEBUG" /Fp"../obj/Release/misc.pch" /Yu"stdmisc.h" /Fo"../obj/Release/" /Fd"../obj/Release/" /FD /c + +rule NelLibrary +{ + LOCATE_TARGET = $(NEL_OBJ)$(SLASH)jam_debug ; + SOURCE_GRIST = debug ; + C++FLAGS = $(C++BASEFLAGS) /MDd /Od /Zi /D "_DEBUG" /D "__STL_DEBUG" /Fd$(LOCATE_TARGET)$(SLASH) ; + Library $(NEL_LIB)$(SLASH)jam_$(<)_debug : $(>) ; + + LOCATE_TARGET = $(NEL_OBJ)$(SLASH)jam_debug_fast ; + SOURCE_GRIST = debug_fast ; + C++FLAGS = $(C++BASEFLAGS) /MDd /Od /Zi /Ob1 /D "_DEBUG" /D "NL_DEBUG_FAST" /Fd$(LOCATE_TARGET)$(SLASH) ; + Library $(NEL_LIB)$(SLASH)$(SLASH)jam_$(<)_debug_fast : $(>) ; + + LOCATE_TARGET = $(NEL_OBJ)$(SLASH)jam_release_debug ; + SOURCE_GRIST = release_debug ; + C++FLAGS = $(C++BASEFLAGS) /MD /O2 /Zi /D "NDEBUG" /D "NL_RELEASE_DEBUG" /Fd$(LOCATE_TARGET)$(SLASH) ; + Library $(NEL_LIB)$(SLASH)$(SLASH)jam_$(<)_release_debug : $(>) ; + + LOCATE_TARGET = $(NEL_OBJ)$(SLASH)jam_release ; + SOURCE_GRIST = release ; + C++FLAGS = $(C++BASEFLAGS) /MD /O2 /D "NDEBUG" ; + Library $(NEL_LIB)$(SLASH)$(SLASH)jam_$(<) : $(>) ; +} + +rule NelMain +{ + LOCATE_TARGET = $(SEARCH_SOURCE)$(SLASH)jam_debug ; + SOURCE_GRIST = debug ; + C++FLAGS = $(C++BASEFLAGS) /MDd /Od /Zi /D "_DEBUG" /D "__STL_DEBUG" /Fd$(LOCATE_TARGET)$(SLASH) /D "_WINDOWS" ; + Main $(<)_debug : $(>) ; + + LOCATE_TARGET = $(SEARCH_SOURCE)$(SLASH)jam_debug_fast ; + SOURCE_GRIST = debug_fast ; + C++FLAGS = $(C++BASEFLAGS) /MDd /Od /Zi /Ob1 /D "_DEBUG" /D "NL_DEBUG_FAST" /Fd$(LOCATE_TARGET)$(SLASH) /D "_WINDOWS" ; + Main $(<)_debug_fast : $(>) ; + + LOCATE_TARGET = $(SEARCH_SOURCE)$(SLASH)jam_release_debug ; + SOURCE_GRIST = release_debug ; + C++FLAGS = $(C++BASEFLAGS) /MD /O2 /Zi /D "NDEBUG" /D "NL_RELEASE_DEBUG" /Fd$(LOCATE_TARGET)$(SLASH) /D "_WINDOWS" ; + Main $(<)_release_debug : $(>) ; + + LOCATE_TARGET = $(SEARCH_SOURCE)$(SLASH)jam_release ; + SOURCE_GRIST = release ; + C++FLAGS = $(C++BASEFLAGS) /MD /O2 /D "NDEBUG" /D "_WINDOWS" ; + Main $(<) : $(>) ; +} + +rule NelLinkLibraries +{ + SOURCE_GRIST = debug ; + LinkLibraries $(<)_debug : $(NEL_LIB)$(SLASH)$(>)_debug ; + + SOURCE_GRIST = debug_fast ; + LinkLibraries $(<)_debug_fast : $(NEL_LIB)$(SLASH)$(>)_debug_fast ; + + SOURCE_GRIST = release_debug ; + LinkLibraries $(<)_release_debug : $(NEL_LIB)$(SLASH)$(>)_release_debug ; + + SOURCE_GRIST = release ; + LinkLibraries $(<) : $(NEL_LIB)$(SLASH)$(>) ; +} + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.3&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.3&sortby=date new file mode 100644 index 00000000..d572e754 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.3&sortby=date @@ -0,0 +1,15 @@ +# +# $Id: Makefile.am,v 1.3 2000/11/23 15:34:39 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +# End of Makefile.am diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.6&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.6&sortby=date new file mode 100644 index 00000000..9a5d2486 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.6&sortby=date @@ -0,0 +1,24 @@ +# +# $Id: Makefile.am,v 1.6 2001/05/02 17:11:33 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +bin_SCRIPTS = nel-config + +EXTRA_DIST = nel.dsw + +dist-hook: + cp -pr $(srcdir)/bootstrap $(distdir) + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.9&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.9&sortby=date new file mode 100644 index 00000000..fbf2b6a5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?content-type=text/plain&rev=1.9&sortby=date @@ -0,0 +1,23 @@ +# +# $Id: Makefile.am,v 1.9 2002/05/14 13:33:59 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +bin_SCRIPTS = nel-config + +EXTRA_DIST = acconfig.h nel.dsw bootstrap doc tools + +dist-hook: + find $(distdir) -name CVS -print | xargs rm -fr + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..cc6ff348 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,11 @@ +# +# $Id: Makefile.am,v 1.1 2000/10/06 14:17:35 valignat Exp $ +# + +MAINTAINERCLEANFILES= Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs + +SUBDIRS= include src lib doc + +# EOF diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..1fefc5ab --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,15 @@ +# +# $Id: Makefile.am,v 1.2 2000/11/23 11:51:35 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = src + +# End of Makefile.am diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.4&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.4&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..0d8b6e14 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.4&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,18 @@ +# +# $Id: Makefile.am,v 1.4 2000/11/23 16:50:07 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +dist-hook: + cp -pr $(srcdir)/bootstrap $(distdir) + +# End of Makefile.am diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.5&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.5&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..158cc51b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.5&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,22 @@ +# +# $Id: Makefile.am,v 1.5 2000/11/24 14:13:35 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +EXTRA_DIST = nel.dsw + +dist-hook: + cp -pr $(srcdir)/bootstrap $(distdir) + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.8&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.8&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..466c7135 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/Makefile.am?rev=1.8&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,23 @@ +# +# $Id: Makefile.am,v 1.8 2002/03/19 17:42:48 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in configure libtool config.guess \ + config.sub ltconfig aclocal.m4 config.h.in \ + install-sh missing mkinstalldirs ltmain.sh \ + include/nelconfig.h include/nelconfig.h.in \ + include/nel/nelconfig.h + +DISTCLEANFILES = include/stamp-h include/stamp-h.in + +SUBDIRS = include src + +bin_SCRIPTS = nel-config + +EXTRA_DIST = acconfig.h nel.dsw bootstrap doc + +dist-hook: + find $(distdir) -name CVS -print | xargs rm -fr + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.1&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.1&sortby=author new file mode 100644 index 00000000..496a72d3 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.1&sortby=author @@ -0,0 +1,6 @@ + +No news, good news ... + +Currently, this file exist to get rid of an Automake error. The content of +that file will be what it should be at the next release. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.10&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.10&sortby=author new file mode 100644 index 00000000..4a50d975 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.10&sortby=author @@ -0,0 +1,89 @@ +June 6 2002 +=========== + +* NLMISC: Added getFileSize(); + +* NLMISC: Now cut .log when they are greater then 5 mega bits; + +* NLNET: Added custumizable variable display using DisplayedVariables in the config file. + +* NLMISC: Added += in the config file to append values in an array. + +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.6&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.6&sortby=rev new file mode 100644 index 00000000..ef72f389 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?content-type=text/plain&rev=1.6&sortby=rev @@ -0,0 +1,50 @@ + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..496a72d3 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.1&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,6 @@ + +No news, good news ... + +Currently, this file exist to get rid of an Automake error. The content of +that file will be what it should be at the next release. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..a679a9e8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,94 @@ +June 12 2002 +============ + +* NLNET: Added custumizable command with button using DisplayedVariables in the config file. + +June 6 2002 +=========== + +* NLMISC: Added getFileSize(); + +* NLMISC: Now cut .log when they are greater then 5 mega bits; + +* NLNET: Added custumizable variable display using DisplayedVariables in the config file. + +* NLMISC: Added += in the config file to append values in an array. + +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..a679a9e8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.11&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,94 @@ +June 12 2002 +============ + +* NLNET: Added custumizable command with button using DisplayedVariables in the config file. + +June 6 2002 +=========== + +* NLMISC: Added getFileSize(); + +* NLMISC: Now cut .log when they are greater then 5 mega bits; + +* NLNET: Added custumizable variable display using DisplayedVariables in the config file. + +* NLMISC: Added += in the config file to append values in an array. + +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.12&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.12&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..4b790db0 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.12&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,95 @@ +June 12 2002 +============ + +* NLNET: Added custumizable command with button using DisplayedVariables in the config file. +* NLMISC: Can lod config file inside of a bigfile using CIFile + +June 6 2002 +=========== + +* NLMISC: Added getFileSize(); + +* NLMISC: Now cut .log when they are greater then 5 mega bits; + +* NLNET: Added custumizable variable display using DisplayedVariables in the config file. + +* NLMISC: Added += in the config file to append values in an array. + +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.13&content-type=text/plain&sortby=rev&only_with_tag=HEAD/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.13&content-type=text/plain&sortby=rev&only_with_tag=HEAD/index.html new file mode 100644 index 00000000..3f453a89 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.13&content-type=text/plain&sortby=rev&only_with_tag=HEAD/index.html @@ -0,0 +1,100 @@ +June 20 2002 +============ + +* NLMISC: Added a i18n sample + +June 12 2002 +============ + +* NLNET: Added custumizable command with button using DisplayedVariables in the config file. +* NLMISC: Can lod config file inside of a bigfile using CIFile + +June 6 2002 +=========== + +* NLMISC: Added getFileSize(); + +* NLMISC: Now cut .log when they are greater then 5 mega bits; + +* NLNET: Added custumizable variable display using DisplayedVariables in the config file. + +* NLMISC: Added += in the config file to append values in an array. + +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.2&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.2&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..4d68b965 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.2&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,21 @@ + +20 marth 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + string without printf() like function. + ex: int val = 100; string res = toString ("0x%x", val); + +15 marth 2002 +============= + +* NLMISC: CCommand now manages spaces in parameter putting "" around parameters +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other service + +8 marth 2002 +============= + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.3&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.3&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..784e5d00 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.3&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,26 @@ + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..89628b44 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,32 @@ + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..89628b44 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.4&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,32 @@ + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.5&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.5&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..91857cf4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.5&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,40 @@ + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ef72f389 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.6&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,50 @@ + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.8&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.8&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..06878d82 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.8&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,71 @@ +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.9&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.9&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..e9cc2df5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/NEWS?rev=1.9&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,78 @@ +May 27 2002 +=========== + +* NLNET: -I command line and IWinParam config file variable to start services in minimized. + +* NLNET: getWinDisplayerInfo() command to have info about size and pos (copy/paste into .cfg) + +May 21 2002 +=========== + +* NLNET: send() receive() and serial() are 3 times faster. + +* NLNET: layer 2 was removed because not useful and take some CPU for nothing. + +* NLMISC: CFastMem::memcpy() copies a memory block as fast as possible depending of the OS and + of the CPU. + +* NLMISC: CSystemInfo class contains info on the processor type (MMX, SSE, and so on). + +April 30 2002 +============= + +* NLNET: Added 3 new variables "NegFiltersDebug" and "NegFiltersInfo" (array of string) that + call addNegativeFilter at the init of the service. You could change these variables + in realtime with a notepad. + +* NLMISC: CPath::addSeachPath() class now filter CVS directory and *.log files. + + +April 23 2002 +============= + +* NLNET: Added a new variable "StartCommands" (array of string) that execute these commands + at the startup of the service (after the init() and before the first update()). + +* NLMISC: Added a new variable "RootConfigFilename" (string) that is a config filename that + will be read. It's used to set common variable in a common file for all services. + + +March 28 2002 +============= + +* NLNET: Added a new command "serviceInfo" that displays usefull informations on the services. + +* samples: Added a new udp sample that contains a client and server (service) that tests UDP + connection and create some stat files. + +March 23 2002 +============= + +* NLNET: IService5 and IService are now merged in IService class in service.cpp and service.h. + Take a look in the header to see differences. + +March 20 2002 +============= + +* NLMISC: New toString() function in common.h that enables you to create + a string without using a printf()-like function. + ex: int val = 100; string res = toString ("0x%x", val); + +March 15 2002 +============= + +* NLMISC: CCommand now manages spaces within parameters, putting "" around parameters. + +* NLMISC: CHTimer: Hierarchical time that allows to measure accurately the performance of routines, + and displays results hierarchically. To time a piece of code, just declare a static. + CHTimer object and encapsulate code between calls to before() and after() methods. + +* NLNET: New msgin and msgout commands in services to simulate incoming + messages from a service and send messages to other services + +March 8 2002 +============ + +* NLNET: Add CTransportClass class that enables sending classes between + services with different class parameters. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/README?content-type=text/plain&rev=1.1&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/README?content-type=text/plain&rev=1.1&sortby=rev new file mode 100644 index 00000000..da8ca027 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/README?content-type=text/plain&rev=1.1&sortby=rev @@ -0,0 +1,34 @@ +Introduction +------------ + +NeL is a complete platform aimed at running massively multi-user +entertainment in a 3D environment over the Internet. + +The NeL library is further divided into a few libraries: network, ai, 3d +and misc. If you want to use ai, 3d or network you also need to use the +misc part of the library. Ai, 3d and network are totally independant from +each other so you can use only the parts you really need in your project. + +If you want know more about the library content and functionalities, you +should take a look on the documents present in the doc directory. + +NeL is currently developped and tested under GNU/Linux and Windows +environments. + + +License +------- + +NeL is a Free Software project under the GNU General Public License, +which means all its code is available for everyone to download, examine, +use, modify, and distribute, subject to the usual restrictions attached +to any GPL software. If you are not familiar with the GPL, see the COPYING +file for for more details on license terms and other legal issues. + + +Installation +------------ + +See the INSTALL file for the requirements and installation instructions. + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/README?rev=1.2&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/README?rev=1.2&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..c1bcbf98 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/README?rev=1.2&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,34 @@ +Introduction +------------ + +NeL is a software platform for creating and running massively multi-user +entertainment in a 3D environment over the Internet. + +The NeL library is further divided into specific modules: network, ai, 3d +and misc. If you want to use any of these, you also need to use the misc +part of the library, but ai, 3d and network are totally independant from +each other so you can use only the parts you really need in your project. + +If you want know more about the library content and functionalities, you +should take a look on the documents present in the doc directory. + +NeL is currently developped and tested under GNU/Linux and Windows +environments. + + +License +------- + +NeL is a Free Software project under the GNU General Public License, +which means all its code is available for everyone to download, examine, +use, modify, and distribute, subject to the usual restrictions attached +to any GPL software. If you are not familiar with the GPL, see the COPYING +file for for more details on license terms and other legal issues. + + +Installation +------------ + +See the INSTALL file for the requirements and installation instructions. + + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?content-type=text/plain&only_with_tag=MAIN&rev=1.6&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?content-type=text/plain&only_with_tag=MAIN&rev=1.6&sortby=rev new file mode 100644 index 00000000..69a17d15 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?content-type=text/plain&only_with_tag=MAIN&rev=1.6&sortby=rev @@ -0,0 +1,15 @@ +We would like to thank these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port +Aurelien Delaitre <Aurelien.Delaitre@loria.fr> + for GNU/Linux fixes +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..3e253612 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html @@ -0,0 +1,11 @@ +We would like to thanks these peoples : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure srcipt improvement and advices. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. + +And all NeL users ... + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&sortby=author new file mode 100644 index 00000000..3e253612 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.1&sortby=author @@ -0,0 +1,11 @@ +We would like to thanks these peoples : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure srcipt improvement and advices. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. + +And all NeL users ... + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..9ed69d34 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,13 @@ +We would like to thanks these peoples : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure srcipt improvement and advices. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advices. + +And all NeL users ... + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..9ed69d34 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.2&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html @@ -0,0 +1,13 @@ +We would like to thanks these peoples : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure srcipt improvement and advices. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advices. + +And all NeL users ... + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.3&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.3&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..7e7e4598 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.3&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,14 @@ +We would like to thanks these peoples : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advices. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advices. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..beea8ac2 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,14 @@ +We would like to thanks these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..beea8ac2 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&content-type=text/plain&sortby=rev&only_with_tag=MAIN/index.html @@ -0,0 +1,14 @@ +We would like to thanks these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&sortby=rev new file mode 100644 index 00000000..beea8ac2 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.4&sortby=rev @@ -0,0 +1,14 @@ +We would like to thanks these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..0a8c5fb8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,14 @@ +We would like to thank these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&sortby=rev new file mode 100644 index 00000000..0a8c5fb8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/THANKS?rev=1.5&sortby=rev @@ -0,0 +1,14 @@ +We would like to thank these people : + +Leighton Haynes <dayta@ucc.gu.uwa.edu.au> + for X11 fullscreen support. +Loic Dachary <loic@senga.org> + for the configure script improvement and advice. +Dan Erikson <derikson@montana.com> + for X11 improved mouse management and mouse button and mouse wheel support. +Vincent Caron <v.caron@zerodeux.net> + for his help and advice. +Guillaume Morin <guillaume@morinfr.org> + for PPC port + +And all NeL users ... diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.1&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.1&sortby=date new file mode 100644 index 00000000..3a18a6a5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.1&sortby=date @@ -0,0 +1,13 @@ + + +/* + * 1 displays debug messages on standard output, + * 0 to suppress them. + */ +#undef NEL_DEFAULT_DISPLAYER + +/* + * 1 prints debug messages in ./log.log, + * 0 to suppress them. + */ +#undef NEL_LOG_IN_FILE diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&content-type=text/plain&sortby=date&only_with_tag=georges_v2/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&content-type=text/plain&sortby=date&only_with_tag=georges_v2/index.html new file mode 100644 index 00000000..c9cce509 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&content-type=text/plain&sortby=date&only_with_tag=georges_v2/index.html @@ -0,0 +1,15 @@ + + +/* + * 1 displays debug messages on standard output, + * 0 to suppress them. + */ +#undef NEL_DEFAULT_DISPLAYER + +/* + * 1 prints debug messages in ./log.log, + * 0 to suppress them. + */ +#undef NEL_LOG_IN_FILE + +#undef HAVE_X86 diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&sortby=rev new file mode 100644 index 00000000..c9cce509 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acconfig.h?rev=1.2&sortby=rev @@ -0,0 +1,15 @@ + + +/* + * 1 displays debug messages on standard output, + * 0 to suppress them. + */ +#undef NEL_DEFAULT_DISPLAYER + +/* + * 1 prints debug messages in ./log.log, + * 0 to suppress them. + */ +#undef NEL_LOG_IN_FILE + +#undef HAVE_X86 diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&hideattic=0&rev=1.14&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&hideattic=0&rev=1.14&sortby=rev new file mode 100644 index 00000000..3a62ee8b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&hideattic=0&rev=1.14&sortby=rev @@ -0,0 +1,1079 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.14 2002/04/25 17:52:16 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl AM_PATH_CCACHE +dnl +dnl Option: none. +dnl Description: check the instalation of the Ccache utility. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +dnl Check for the 'pthread' library. SLTPort needs it. +AC_CHECK_LIB(pthread, main, , [AC_MSG_ERROR([cannot find the pthread library.])]) + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +# ========================================================================= +# AM_PATH_CCACHE : Ccache checking macros + +AC_DEFUN(AM_PATH_CCACHE, +[ + +AC_ARG_WITH( ccache, + [ --with-ccache use ccache for compiling.], + [ using_ccache=$with_ccache ] +) + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" -a "$using_ccache" = "yes" +then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +]) + + +dnl ========================================================================= +dnl End of file + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.12&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.12&sortby=date new file mode 100644 index 00000000..9184a376 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.12&sortby=date @@ -0,0 +1,1049 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.12 2002/03/29 10:19:10 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.5&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.5&sortby=date new file mode 100644 index 00000000..68c8395e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?content-type=text/plain&rev=1.5&sortby=date @@ -0,0 +1,1081 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.5 2002/01/28 14:40:26 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIBS="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIBS="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +if test "$nel_libraries" +then + NEL_LIBS="-L$nel_libraries" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..84166845 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,1068 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.1 2002/01/07 16:09:52 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +dnl NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" = "no" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&sortby=author new file mode 100644 index 00000000..84166845 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.1&sortby=author @@ -0,0 +1,1068 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.1 2002/01/07 16:09:52 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +dnl NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" = "no" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.10&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.10&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..cd93eb5c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.10&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,1049 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.10 2002/03/21 10:54:37 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.11&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.11&sortby=author new file mode 100644 index 00000000..49d5b40b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.11&sortby=author @@ -0,0 +1,1049 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.11 2002/03/26 14:37:45 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..9184a376 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.12&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,1049 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.12 2002/03/29 10:19:10 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..d54d6b17 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1076 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.13 2002/04/16 12:01:39 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl AM_PATH_CCACHE +dnl +dnl Option: none. +dnl Description: check the instalation of the Ccache utility. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +# ========================================================================= +# AM_PATH_CCACHE : Ccache checking macros + +AC_DEFUN(AM_PATH_CCACHE, +[ + +AC_ARG_WITH( ccache, + [ --with-ccache use ccache for compiling.], + [ using_ccache=$with_ccache ] +) + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" -a "$using_ccache" = "yes" +then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +]) + + +dnl ========================================================================= +dnl End of file + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&sortby=author new file mode 100644 index 00000000..d54d6b17 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.13&sortby=author @@ -0,0 +1,1076 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.13 2002/04/16 12:01:39 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl AM_PATH_CCACHE +dnl +dnl Option: none. +dnl Description: check the instalation of the Ccache utility. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +# ========================================================================= +# AM_PATH_CCACHE : Ccache checking macros + +AC_DEFUN(AM_PATH_CCACHE, +[ + +AC_ARG_WITH( ccache, + [ --with-ccache use ccache for compiling.], + [ using_ccache=$with_ccache ] +) + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" -a "$using_ccache" = "yes" +then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +]) + + +dnl ========================================================================= +dnl End of file + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html new file mode 100644 index 00000000..3a62ee8b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html @@ -0,0 +1,1079 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.14 2002/04/25 17:52:16 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl AM_PATH_CCACHE +dnl +dnl Option: none. +dnl Description: check the instalation of the Ccache utility. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +dnl Check for the 'pthread' library. SLTPort needs it. +AC_CHECK_LIB(pthread, main, , [AC_MSG_ERROR([cannot find the pthread library.])]) + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +# ========================================================================= +# AM_PATH_CCACHE : Ccache checking macros + +AC_DEFUN(AM_PATH_CCACHE, +[ + +AC_ARG_WITH( ccache, + [ --with-ccache use ccache for compiling.], + [ using_ccache=$with_ccache ] +) + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" -a "$using_ccache" = "yes" +then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +]) + + +dnl ========================================================================= +dnl End of file + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..3a62ee8b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.14&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,1079 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.14 2002/04/25 17:52:16 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl AM_PATH_CCACHE +dnl +dnl Option: none. +dnl Description: check the instalation of the Ccache utility. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/include]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" +nelgeorges_is_mandatory="$7" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) +MY_NEL_HEADER_CHK([NeL Georges], [nel/georges/common.h], [NLGEORGES_COMMON_H], $nelgeorges_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Georges], [nelgeorges], $nelgeorges_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +dnl Check for the 'pthread' library. SLTPort needs it. +AC_CHECK_LIB(pthread, main, , [AC_MSG_ERROR([cannot find the pthread library.])]) + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS=" $FREETYPE_CFLAGS $CXXFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$FREETYPE_LIBS $CXXFLAGS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +# ========================================================================= +# AM_PATH_CCACHE : Ccache checking macros + +AC_DEFUN(AM_PATH_CCACHE, +[ + +AC_ARG_WITH( ccache, + [ --with-ccache use ccache for compiling.], + [ using_ccache=$with_ccache ] +) + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" -a "$using_ccache" = "yes" +then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +]) + + +dnl ========================================================================= +dnl End of file + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..deb5def1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,1068 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.2 2002/01/08 10:09:35 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" = "no" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..deb5def1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1068 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.2 2002/01/08 10:09:35 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" = "no" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..adad0b43 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,1076 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.3 2002/01/10 14:33:19 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..adad0b43 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.3&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1076 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.3 2002/01/10 14:33:19 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..61c805d7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,1081 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.4 2002/01/22 14:24:56 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +if test "$nel_libraries" +then + NEL_LIBS="-L$nel_libraries" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..61c805d7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1081 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.4 2002/01/22 14:24:56 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +if test "$nel_libraries" +then + NEL_LIBS="-L$nel_libraries" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&sortby=author new file mode 100644 index 00000000..61c805d7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.4&sortby=author @@ -0,0 +1,1081 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.4 2002/01/22 14:24:56 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIB variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_dir_lnk="$2" +nel_libraries="$3" +nel_test_lib="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + if test $nel_libraries + then + NEL_TEST_LIB="-L$nel_libraries -l$nel_test_lib" + + else + NEL_TEST_LIB="$nel_dir_lnk -l$nel_test_lib" + fi + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsound" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +nelconfig_libs_args="" + +if test "$nelnet_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-network" +fi + +if test "$nel3d_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-3d" +fi + +if test "$nelpacs_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-pacs" +fi + +if test "$nelsound_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-sound" +fi + +if test "$nelai_is_mandatory" != "yes" +then + nelconfig_libs_args="$nelconfig_libs_args --without-ai" +fi + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + NEL_LIBS=`nel-config --libs $nelconfig_libs_args` + + nel_dir_lnk=`echo '$NEL_LIBS' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +if test "$nel_libraries" +then + NEL_LIBS="-L$nel_libraries" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_dir_lnk, $nel_libraries, $nel_misc_lib, $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], $nel_dir_lnk, $nel_libraries, $nel_net_lib, $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_dir_lnk, $nel_libraries, $nel_3d_lib, $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_dir_lnk, $nel_libraries, $nel_pacs_lib, $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_dir_lnk, $nel_libraries, $nel_sound_lib, $nelsound_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_dir_lnk, $nel_libraries, $nel_ai_lib, $nelai_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIB="$OPENAL_LIB -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIB" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.7&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.7&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..a7fcf13f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.7&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1054 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.7 2002/01/29 13:21:42 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_libraries="$2" +nel_test_lib="$3" +nel_additional_libs="$4" +is_mandatory="$5" + +if test $is_mandatory = "yes" +then + + AC_MSG_CHECKING(for -l$nel_test_lib) + + NEL_TEST_LIBS="$NEL_LIBS $nel_additional_libs -l$nel_test_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $LIBS $NEL_TEST_LIBS" + + AC_TRY_LINK( , , have_nel_test_libraries="yes", have_nel_test_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_nel_test_libraries" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nel_misc_lib="nelmisc" +nel_net_lib="nelnet" +nel_3d_lib="nel3d" +nel_pacs_lib="nelpacs" +nel_sound_lib="nelsnd" +nel_ai_lib="nelai" + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +if test "$NEL_CONFIG" = "no" +then + have_nel_config="no" +else + NEL_CFLAGS=`nel-config --cflags` + + NEL_LIBS_CONFIG=`nel-config --libs` + + NEL_LIBS=`echo '$NEL_LIBS_CONFIG' | sed -e 's/[[:space:]]*-l[^[:space:]]*//g'` + + have_nel_config="yes" +fi + +if test "$with_nel" +then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +if test "$nel_includes" +then + NEL_CFLAGS="-I$nel_includes" +fi + +if test "$nel_libraries" +then + NEL_LIBS="-L$nel_libraries" +fi + +dnl Checking for NeL headers +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl Checking for NeL libraries +MY_NEL_LIB_CHK([NeL Misc], $nel_libraries, $nel_misc_lib, "", $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network],$nel_libraries, $nel_net_lib, "-lnelmisc", $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], $nel_libraries, $nel_3d_lib, "-lnelmisc", $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], $nel_libraries, $nel_pacs_lib, "-lnelmisc", $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], $nel_libraries, $nel_ai_lib, "-lnelmisc", $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], $nel_libraries, $nel_sound_lib, "-lnelmisc" $OPENAL_LIBS, $nelsound_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +stlport_lib="stlport_gcc" + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_CHECKING(STLPort) + have_stlport="disabled" + AC_MSG_RESULT(disabled (*** EXPERIMENTAL ***)) +else + if test "$with_stlport" + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test -z "$have_stlport" -a "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test -z "$have_stlport" -a "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +if test -z "$have_stlport" +then + dnl Put STLPorts includes in CXXFLAGS + if test "$stlport_includes" + then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" + fi + + dnl Put STLPorts libraries in LIBS + if test "$stlport_libraries" + then + LIBS="-L$stlport_libraries $LIBS -l$stlport_lib" + fi + + dnl Test the headers + AC_MSG_CHECKING(for STLPort headers) + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS" + + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + have_stlport_headers="yes", + have_stlport_headers="no" ) + + if test "$have_stlport_headers" = "yes" + then + AC_MSG_RESULT([$stlport_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for STLPort libraries) + + CPPFLAGS="$CXXFLAGS $LIBS" + + AC_TRY_LINK( , , have_stlport_libraries="yes", have_stlport_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_stlport_libraries" = "yes" + then + AC_MSG_RESULT([$stlport_libraries]) + else + AC_MSG_RESULT(no) + fi + + if test "$have_stlport_headers" = "yes" \ + && test "$have_stlport_libraries" = "yes" + then + have_stlport="yes" + else + have_stlport="no" + fi + + if test "$have_stlport" = "no" + then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) + fi + +fi + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..999d4822 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,1046 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.9 2002/03/19 17:42:48 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..999d4822 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/acinclude.m4?rev=1.9&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,1046 @@ +dnl ========================================================================= +dnl +dnl Macros used by Nevrax in configure.in files. +dnl +dnl $Id: acinclude.m4,v 1.9 2002/03/19 17:42:48 valignat Exp $ +dnl +dnl ========================================================================= + +dnl ========================================================================= +dnl WARNING: The original version of this file is placed in the $CVSROOT/code +dnl directory. +dnl There is links in the $CVSROOT/code sub-directories to that file +dnl (ex: $CVSROOT/code/nel), so be careful of the consequences of +dnl any modification of that file. +dnl ========================================================================= + +dnl ========================================================================= +dnl Macros available in that file. +dnl +dnl +dnl AM_NEL_DEBUG +dnl +dnl Option: none. +dnl Description: manage the different debug and the release mode by setting +dnl correctly the CFLAGS and CXXFLAGS variables. +dnl +dnl +dnl AM_PATH_NEL +dnl +dnl Option: none. +dnl Description: check the instalation of the NeL library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_STLPORT +dnl +dnl Option: none. +dnl Description: check the instalation of the STLPort library and set the +dnl CXXFLAGS and LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENGL +dnl +dnl Option: "yes" if the use of the OpenGL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENGL_CFLAGS and OPENGL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_FREETYPE +dnl +dnl Option: "yes" if the use of the Freetype library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl FREETYPE_CFLAGS and FREETYPE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_XF86VIDMODE +dnl +dnl Option: none. +dnl Description: check the instalation of the OpenGL library and set the +dnl XF86VIDMODE_CFLAGS and XF86VIDMODE_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_OPENAL +dnl +dnl Option: "yes" if the use of the OpenAL library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl OPENAL_CFLAGS and OPENAL_LIBS variables to use it. +dnl +dnl +dnl AM_PATH_PYTHON +dnl +dnl Option: "yes" if the use of the Python library is mandatory. +dnl Description: check the instalation of the OpenGL library and set the +dnl PYTHON_CFLAGS and PYTHON_LIBS variables to use it. +dnl +dnl ========================================================================= + + +# ========================================================================= +# AM_NEL_DEBUG + +AC_DEFUN(AM_NEL_DEBUG, +[ + +MAX_C_OPTIMIZE="-O6" + +STL_DEBUG="-D__STL_DEBUG" + +NL_DEBUG="-DNL_DEBUG" +NL_DEBUG_FAST="-DNL_DEBUG_FAST" +NL_RELEASE_DEBUG="-DNL_RELEASE_DEBUG" +NL_RELEASE="-DNL_RELEASE" + +AC_ARG_WITH(debug, + [ --with-debug[=full|medium|fast] + Build a debug version (huge libraries). + Full mode set only NeL and STL debug flags. + Medium mode set NeL debug flags with inline + optimization (default mode). + Fast mode is like the Medium mode with some basic + optimization. + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" + OPTIMIZE_INLINE_CXXFLAGS="-finline-functions" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" + OPTIMIZE_INLINE_CXXFLAGS="" +fi + +if test "$with_debug" = "yes" -o "$with_debug" = "medium" +then + dnl Medium debug. Inline optimization + CFLAGS="$DEBUG_CFLAGS $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $NL_DEBUG_FAST $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $NL_DEBUG_FAST $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $NL_DEBUG $STL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $NL_DEBUG $STL_DEBUG $CXXFLAGS" + else + if test "$with_debug" = "fast" + then + dnl Fast debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $OPTIMIZE_INLINE_CFLAGS $NL_DEBUG $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $OPTIMIZE_INLINE_CXXFLAGS $NL_DEBUG $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $NL_RELEASE $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $NL_RELEASE $CXXFLAGS" + fi + fi +fi + +dnl AC_MSG_RESULT([CFLAGS = $CFLAGS]) +dnl AC_MSG_RESULT([CXXGLAGS = $CXXFLAGS]) + +]) + + +# ========================================================================= +# MY_NEL_HEADER_CHK : NeL header files checking macros + +AC_DEFUN(MY_NEL_HEADER_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +header="$2" +macro="$3" +is_mandatory="$4" + +if test $is_mandatory = "yes" +then + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $NEL_CFLAGS" + + AC_MSG_CHECKING(for $header) + + AC_EGREP_CPP( yo_header, +[#include <$header> +#ifdef $macro + yo_header +#endif], + have_header="yes", + have_header="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_header" = "yes" + then + AC_MSG_RESULT(yes) + else + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).]) + else + AC_MSG_RESULT(no) + fi + fi +fi + + +]) + + +# ========================================================================= +# MY_NEL_LIB_CHK : NeL library checking macros + +AC_DEFUN(MY_NEL_LIB_CHK, +[ AC_REQUIRE_CPP() + +chk_message_obj="$1" +nel_test_lib="$2" +is_mandatory="$3" + +if test $is_mandatory = "yes" +then + + AC_CHECK_LIB($nel_test_lib, main,,[AC_MSG_ERROR([$chk_message_obj must be installed (http://www.nevrax.org).])]) +fi +]) + + +# ========================================================================= +# AM_PATH_NEL : NeL checking macros +AC_DEFUN(AM_PATH_NEL, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( nel, + [ --with-nel=<path> path to the NeL install files directory. + e.g. /usr/local/nel]) + +AC_ARG_WITH( nel-include, + [ --with-nel-include=<path> + path to the NeL header files directory. + e.g. /usr/local/nel/stlport]) + +AC_ARG_WITH( nel-lib, + [ --with-nel-lib=<path> + path to the NeL library files directory. + e.g. /usr/local/nel/lib]) + + +nelmisc_is_mandatory="$1" +nelnet_is_mandatory="$2" +nel3d_is_mandatory="$3" +nelpacs_is_mandatory="$4" +nelsound_is_mandatory="$5" +nelai_is_mandatory="$6" + +dnl Check for nel-config +AC_PATH_PROG(NEL_CONFIG, nel-config, no) + +dnl +dnl Configure options (--with-nel*) have precendence +dnl over nel-config only set variables if they are not +dnl specified +dnl +if test "$NEL_CONFIG" != "no" +then + if test -z "$with_nel" -a -z "$with_nel_include" + then + CXXFLAGS="$CXXFLAGS `nel-config --cflags`" + fi + + if test -z "$with_nel" -a -z "$with_nel_lib" + then + LDFLAGS="`nel-config --ldflags` $LDFLAGS" + fi +fi + +dnl +dnl Set nel_libraries and nel_includes according to +dnl user specification (--with-nel*) if any. +dnl --with-nel-include and --with-nel-lib have precendence +dnl over --with-nel +dnl +if test "$with_nel" = "no" +then + dnl The user explicitly disabled the use of the NeL + AC_MSG_ERROR([NeL is mandatory: do not specify --without-nel]) +else + if test "$with_nel" -a "$with_nel" != "yes" + then + nel_includes="$with_nel/include" + nel_libraries="$with_nel/lib" + fi +fi + +if test "$with_nel_include" +then + nel_includes="$with_nel_include" +fi + +if test "$with_nel_lib" +then + nel_libraries="$with_nel_lib" +fi + +dnl +dnl Set compilation variables +dnl +if test "$nel_includes" +then + CXXFLAGS="$CXXFLAGS -I$nel_includes" +fi + +if test "$nel_libraries" +then + LDFLAGS="-L$nel_libraries $LDFLAGS" +fi + +dnl +dnl Collect headers information and bark if missing and +dnl mandatory +dnl + +MY_NEL_HEADER_CHK([NeL Misc], [nel/misc/types_nl.h], [NL_TYPES_H], $nelmisc_is_mandatory) +MY_NEL_HEADER_CHK([NeL Network], [nel/net/sock.h], [NL_SOCK_H], $nelnet_is_mandatory) +MY_NEL_HEADER_CHK([NeL 3D], [nel/3d/u_camera.h], [NL_U_CAMERA_H], $nel3d_is_mandatory) +MY_NEL_HEADER_CHK([NeL PACS], [nel/pacs/u_global_position.h], [NL_U_GLOBAL_POSITION_H], $nelpacs_is_mandatory) +MY_NEL_HEADER_CHK([NeL Sound], [nel/sound/u_source.h], [NL_U_SOURCE_H], $nelsound_is_mandatory) +MY_NEL_HEADER_CHK([NeL AI], [nel/ai/nl_ai.h], [_IA_NEL_H], $nelai_is_mandatory) + +dnl +dnl Collect libraries information and bark if missing and +dnl mandatory +dnl + +MY_NEL_LIB_CHK([NeL Misc], [nelmisc], $nelmisc_is_mandatory) +MY_NEL_LIB_CHK([NeL Network], [nelnet], $nelnet_is_mandatory) +MY_NEL_LIB_CHK([NeL 3D], [nel3d], $nel3d_is_mandatory) +MY_NEL_LIB_CHK([NeL PACS], [nelpacs], $nelpacs_is_mandatory) +MY_NEL_LIB_CHK([NeL AI], [nelai], $nelai_is_mandatory) +MY_NEL_LIB_CHK([NeL Sound], [nelsnd], $nelsound_is_mandatory) + +]) + + +# ========================================================================= +# AM_PATH_STLPORT : STLPort checking macros + +AC_DEFUN(AM_PATH_STLPORT, +[ AC_REQUIRE_CPP() + +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_debug" = "full" +then + stlport_lib="stlport_gcc_stldebug" +else + stlport_lib="stlport_gcc" +fi + +if test "$with_stlport" = no +then + dnl The user explicitly disabled the use of the STLPorts + AC_MSG_ERROR([STLPort is mandatory: do not specify --without-stlport]) +else + stlport_includes="/usr/include/stlport" + if test "$with_stlport" -a "$with_stlport" != yes + then + stlport_includes="$with_stlport/stlport" + stlport_libraries="$with_stlport/lib" + + if test ! -d "$stlport_includes" + then + stlport_includes="$with_stlport/include/stlport" + fi + fi +fi + +if test "$with_stlport_include" +then + stlport_includes="$with_stlport_include" +fi + +if test "$with_stlport_lib" +then + stlport_libraries="$with_stlport_lib" +fi + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +dnl Put STLPorts includes in CXXFLAGS +if test "$stlport_includes" +then + CXXFLAGS="$CXXFLAGS -I$stlport_includes" +fi + +dnl Put STLPorts libraries directory in LIBS +if test "$stlport_libraries" +then + LIBS="-L$stlport_libraries $LIBS" +else + stlport_libraries='default' +fi + +dnl Test the headers + +AC_CHECK_HEADER(algorithm, + have_stlport_headers="yes", + have_stlport_headers="no" ) + +AC_MSG_CHECKING(for STLPort headers) + +if test "$have_stlport_headers" = "yes" +then + AC_MSG_RESULT([$stlport_includes]) +else + AC_MSG_RESULT(no) +fi + +AC_CHECK_LIB($stlport_lib, main,, have_stlport_libraries="no") + +AC_MSG_CHECKING(for STLPort library) + +if test "$have_stlport_libraries" != "no" +then + AC_MSG_RESULT([$stlport_libraries]) +else + AC_MSG_RESULT(no) +fi + +if test "$have_stlport_headers" = "yes" && + test "$have_stlport_libraries" != "no" +then + have_stlport="yes" +else + have_stlport="no" +fi + +if test "$have_stlport" = "no" +then + AC_MSG_ERROR([STLPort must be installed (http://www.stlport.org).]) +fi + +AC_LANG_RESTORE + +]) + + +# ========================================================================= +# AM_PATH_OPENGL : OpenGL checking macros + +AC_DEFUN(AM_PATH_OPENGL, +[ AC_MSG_CHECKING(for OpenGL headers and GL Version >= 1.2) + +is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( opengl, + [ --with-opengl=<path> path to the OpenGL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( opengl-include, + [ --with-opengl-include=<path> + path to the OpenGL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( opengl-lib, + [ --with-opengl-lib=<path> + path to the OpenGL library files directory. + e.g. /usr/local/lib]) + +opengl_lib="GL" + +if test "$with_opengl" +then + opengl_includes="$with_opengl/include" + opengl_libraries="$with_opengl/lib" +fi + +if test "$with_opengl_include" +then + opengl_includes="$with_opengl_include" +fi + +if test "$with_opengl_lib" +then + opengl_libraries="$with_opengl_lib" +fi + +dnl Set OPENGL_CFLAGS +if test "$opengl_includes" +then + OPENGL_CFLAGS="-I$opengl_includes" +fi + +dnl Set OPENGL_LIBS +if test "$opengl_libraries" +then + OPENGL_LIBS="-L$opengl_libraries" +fi +OPENGL_LIBS="$OPENGL_LIBS -l$opengl_lib" + +dnl Test the headers +_CPPFLAGS="$CPPFLAGS" + +CPPFLAGS="$CXXFLAGS $OPENGL_CFLAGS" + +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], + have_opengl_headers="yes", + have_opengl_headers="no" ) + +if test "$have_opengl_headers" = "yes" +then + if test "$opengl_includes" + then + AC_MSG_RESULT([$opengl_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Checking the GLEXT version >= 7 +AC_MSG_CHECKING(for <GL/glext.h> and GLEXT version >= 7) + +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], + have_glext="yes", + have_glext="no" ) + +if test "$have_glext" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT([no, <GL/glext.h> can be downloaded from http://oss.sgi.com/projects/ogl-sample/ABI/]) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenGL libraries) + +CPPFLAGS="$CXXFLAGS $OPENGL_LIBS" + +AC_TRY_LINK( , , have_opengl_libraries="yes", have_opengl_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_opengl_libraries" = "yes" +then + if test "$opengl_libraries" + then + AC_MSG_RESULT([$opengl_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +opengl_libraries="$opengl_libraries" + +if test "$have_opengl_headers" = "yes" \ + -a "$have_glext" = "yes" \ + -a "$have_opengl_libraries" = "yes" +then + have_opengl="yes" +else + have_opengl="no" +fi + +if test "$have_opengl" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenGL >= 1.2 must be installed (http://www.mesa3d.org)]) +fi + +AC_SUBST(OPENGL_CFLAGS) +AC_SUBST(OPENGL_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_FREETYPE : FreeType checking macros + +AC_DEFUN(AM_PATH_FREETYPE, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +AC_ARG_WITH( freetype, + [ --with-freetype=<path> path to the FreeType install files directory. + e.g. /usr/local/freetype]) + +AC_ARG_WITH( freetype-include, + [ --with-freetype-include=<path> + path to the FreeType header files directory. + e.g. /usr/local/freetype/include]) + +AC_ARG_WITH( freetype-lib, + [ --with-freetype-lib=<path> + path to the FreeType library files directory. + e.g. /usr/local/freetype/lib]) + +freetype_lib="freetype" + + +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" +then + have_freetype_config="no" +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` + have_freetype_config="yes" +fi + +if test "$with_freetype" +then + freetype_includes="$with_freetype/include" + freetype_libraries="$with_freetype/lib" +fi + +if test "$with_freetype_include" +then + freetype_includes="$with_freetype_include" +fi + +if test "$with_freetype_lib" +then + freetype_libraries="$with_freetype_lib" +fi + +if test "$freetype_includes" +then + FREETYPE_CFLAGS="-I$freetype_includes" +fi + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" + +AC_MSG_CHECKING(for FreeType version = 2) + +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], + have_freetype2="yes", + have_freetype2="no") + +if test "$have_freetype2" = "yes" +then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for FreeType libraries) + +if test $freetype_libraries +then + FREETYPE_LIBS="-L$freetype_libraries -l$freetype_lib" +fi + +CPPFLAGS="$CXXFLAGS $FREETYPE_LIBS" + +AC_TRY_LINK( , , have_freetype_libraries="yes", have_freetype_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_freetype_libraries" = "yes" +then + if test "$freetype_libraries" + then + AC_MSG_RESULT([$freetype_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +if test "$have_freetype2" = "yes" && test "$have_freetype_libraries" = "yes" +then + have_freetype="yes" +else + have_freetype="no" +fi + +if test "$have_freetype" = "no" && test "$is_mandatory" = "yes" +then + AC_MSG_ERROR([FreeType 2 must be installed (http://freetype.sourceforge.net)]) +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_XF86VIDMODE : XF86VidMode checking macros + +AC_DEFUN(AM_PATH_XF86VIDMODE, +[ AC_MSG_CHECKING(for XF86VidMode extension) + +AC_REQUIRE_CPP() + +AC_ARG_WITH( xf86vidmode-lib, + [ --with-xf86vidmode-lib=<path> + path to the XF86VidMode library. + e.g. /usr/X11R6/lib] ) + +xf86vidmode_lib="Xxf86vm" + +if test "$with_xf86vidmode_lib" = no +then + dnl The user explicitly disabled the use of XF86VidMode + have_xf86vidmode="disabled" + AC_MSG_RESULT(disabled) +else + if test "$with_xf86vidmode_lib" + then + xf86vidmode_libraries="$with_xf86vidmode_lib" + fi + + XF86VIDMODE_CFLAGS="-DXF86VIDMODE" +fi + +if test -z "$have_xf86vidmode" +dnl -a "$with_xf86vidmode_lib" +then + if test "$xf86vidmode_libraries" + then + XF86VIDMODE_LIBS="-L$xf86vidmode_libraries" + fi + + XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS -l$xf86vidmode_lib" + + _CPPFLAGS="$CPPFLAGS" + + CPPFLAGS="$CXXFLAGS $XF86VIDMODE_LIBS" + + AC_TRY_LINK( , , have_xf86vidmode_libraries="yes", have_xf86vidmode_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_xf86vidmode_libraries" = "yes" + then + have_xf86vidmode="yes" + if test "$xf86vidmode_libraries" + then + AC_MSG_RESULT($xf86vidmode_libraries) + else + AC_MSG_RESULT(yes) + fi + else + have_xf86vidmode="no" + AC_MSG_RESULT(no, no fullscreen support available.) + fi + + xf86vidmode_libraries="$xf86vidmode_libraries" + +fi + +AC_SUBST(XF86VIDMODE_CFLAGS) +AC_SUBST(XF86VIDMODE_LIBS) + +]) + + +# ========================================================================= +# AM_PATH_OPENAL : OpenAL checking macros + +AC_DEFUN(AM_PATH_OPENAL, +[ is_mandatory="$1" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +openal_lib="openal" + +if test $with_openal +then + openal_includes="$with_openal/include" + openal_libraries="$with_openal/lib" +fi + +if test "$with_openal_include" +then + openal_includes="$with_openal_include" +fi + +if test "$with_openal_lib" +then + openal_libraries="$with_openal_lib" +fi + + +dnl Set OPENAL_CFLAGS +if test "$openal_includes" +then + OPENAL_CFLAGS="-I$openal_includes" +fi + +dnl Set OPENAL_LIBS +if test "$openal_libraries" +then + OPENAL_LIBS="-L$openal_libraries" +fi +OPENAL_LIBS="$OPENAL_LIBS -l$openal_lib" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL headers) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], + have_openal_headers="yes", + have_openal_headers="no" ) + +if test "$have_openal_headers" = "yes" +then + if test "$openal_includes" + then + AC_MSG_RESULT([$openal_includes]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +dnl Test the libraries +AC_MSG_CHECKING(for OpenAL libraries) + +CPPFLAGS="$CXXFLAGS $OPENAL_LIBS" + +AC_TRY_LINK( , , have_openal_libraries="yes", have_openal_libraries="no") + +CPPFLAGS="$_CPPFLAGS" + +if test "$have_openal_libraries" = "yes" +then + if test "$openal_libraries" + then + AC_MSG_RESULT([$openal_libraries]) + else + AC_MSG_RESULT(yes) + fi +else + AC_MSG_RESULT(no) +fi + +openal_libraries="$openal_libraries" + +if test "$have_openal_headers" = "yes" \ + && test "$have_openal_libraries" = "yes" +then + have_openal="yes" +else + have_openal="no" +fi + +if test "$have_openal" = "no" -a "$is_mandatory" = "yes" +then + AC_MSG_ERROR([OpenAL is needed to compile NeL (http://www.openal.org).]) +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + + +]) + + +# ========================================================================= +# AM_PATH_PYTHON : Python checking macros + +AC_DEFUN(AM_PATH_PYTHON, +[ python_version_required="$1" + +is_mandatory="$2" + +AC_REQUIRE_CPP() + +dnl Get from the user option the path to the Python files location +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$with_python ] +) + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$with_python_version ] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.1 python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) + +if test "$PYTHON" != "no" +then + PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` + PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + + is_python_version_enough=`expr $python_version_required \<= $PYTHON_VERSION` +fi + + +if test "$PYTHON" = "no" || test "$is_python_version_enough" != "1" +then + + if test "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python $python_version_required must be installed (http://www.python.org)]) + else + have_python="no" + fi + +else + + python_includes="$PYTHON_PREFIX/include/python$PYTHON_VERSION" + python_libraries="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config" + python_lib="python$PYTHON_VERSION" + + PYTHON_CFLAGS="-I$python_includes" + PYTHON_LIBS="-L$python_libraries -l$python_lib" + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + + dnl Test the headers + AC_MSG_CHECKING(for Python headers) + + AC_EGREP_CPP( yo_python, + [#include <Python.h> + yo_python + ], + have_python_headers="yes", + have_python_headers="no" ) + + if test "$have_python_headers" = "yes" + then + AC_MSG_RESULT([$python_includes]) + else + AC_MSG_RESULT(no) + fi + + dnl Test the libraries + AC_MSG_CHECKING(for Python libraries) + + CPPFLAGS="$CXXFLAGS $PYTHON_CFLAGS" + + AC_TRY_LINK( , , have_python_libraries="yes", have_python_libraries="no") + + CPPFLAGS="$_CPPFLAGS" + + if test "$have_python_libraries" = "yes" + then + if test "$python_libraries" + then + AC_MSG_RESULT([$python_libraries]) + else + AC_MSG_RESULT(yes) + fi + else + AC_MSG_RESULT(no) + fi + + if test "$have_python_headers" = "yes" \ + && test "$have_python_libraries" = "yes" + then + have_python="yes" + else + have_python="no" + fi + + if test "$have_python" = "no" -a "$is_mandatory" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (http://www.python.org).]) + fi + + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LIBS) + +fi + +]) + + +dnl ========================================================================= +dnl End of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..fdcef3ae --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html @@ -0,0 +1,10 @@ +#! /bin/sh + +set -x +rm -f config.cache +aclocal +libtoolize --force --copy +autoheader +automake --gnu --add-missing --copy +autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..fdcef3ae --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,10 @@ +#! /bin/sh + +set -x +rm -f config.cache +aclocal +libtoolize --force --copy +autoheader +automake --gnu --add-missing --copy +autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&sortby=log new file mode 100644 index 00000000..fdcef3ae --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.1&sortby=log @@ -0,0 +1,10 @@ +#! /bin/sh + +set -x +rm -f config.cache +aclocal +libtoolize --force --copy +autoheader +automake --gnu --add-missing --copy +autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..e8e3c67d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html @@ -0,0 +1,12 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +aclocal \ +&& libtoolize --force --copy \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=nel_0_3/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=nel_0_3/index.html new file mode 100644 index 00000000..e8e3c67d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.2&content-type=text/plain&sortby=log&only_with_tag=nel_0_3/index.html @@ -0,0 +1,12 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +aclocal \ +&& libtoolize --force --copy \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.3&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.3&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html new file mode 100644 index 00000000..df97fb95 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.3&content-type=text/plain&sortby=log&only_with_tag=MAIN/index.html @@ -0,0 +1,19 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +# This is to avoid atomake to complain about the fact that there is no +# ChangeLog File at the moment +if test ! -f ChangeLog +then + touch ChangeLog +fi + +aclocal \ +&& libtoolize --force --copy \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.4&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.4&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..a868ad3e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.4&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,18 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +# This is to avoid atomake to complain about the fact that there is no +# ChangeLog File at the moment +if test ! -f ChangeLog +then + touch ChangeLog +fi + +libtoolize --force --copy +&& aclocal \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&hideattic=0&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&hideattic=0&sortby=rev new file mode 100644 index 00000000..cceb64ef --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&hideattic=0&sortby=rev @@ -0,0 +1,18 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +# This is to avoid atomake to complain about the fact that there is no +# ChangeLog File at the moment +if test ! -f ChangeLog +then + touch ChangeLog +fi + +libtoolize --force --copy \ +&& aclocal \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&sortby=author new file mode 100644 index 00000000..cceb64ef --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/bootstrap?rev=1.5&sortby=author @@ -0,0 +1,18 @@ +#! /bin/sh + +set -x + +rm -f config.cache + +# This is to avoid atomake to complain about the fact that there is no +# ChangeLog File at the moment +if test ! -f ChangeLog +then + touch ChangeLog +fi + +libtoolize --force --copy \ +&& aclocal \ +&& autoheader \ +&& automake --gnu --add-missing --copy \ +&& autoconf diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.50&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.50&sortby=author new file mode 100644 index 00000000..44ed24ce --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.50&sortby=author @@ -0,0 +1,617 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.50 2001/08/09 15:40:37 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.51&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.51&sortby=date new file mode 100644 index 00000000..0b6f2b84 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.51&sortby=date @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.51 2001/10/08 14:52:19 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.6&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.6&sortby=log new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?content-type=text/plain&rev=1.6&sortby=log @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.10&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.17&content-type=text/plain&sortby=log&only_with_tag=proto_0_1/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.17&content-type=text/plain&sortby=log&only_with_tag=proto_0_1/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.17&content-type=text/plain&sortby=log&only_with_tag=proto_0_1/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.31&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.31&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..758e89ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.31&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,322 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.31 2001/04/03 12:32:21 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +AM_INIT_AUTOMAKE(nel,$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING("for Python header files") +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT("ok")], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING("for STLPort") +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING("for FreeType 2 installation") +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING("for OpenGL installation") +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.32&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.32&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..f23d514c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.32&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,378 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.32 2001/04/10 13:44:50 loic_at_senga.org Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +AM_INIT_AUTOMAKE(nel,$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING("for Python header files") +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT("ok")], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING("for STLPort") +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING("for FreeType 2 installation") +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING("for OpenGL installation") +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT("yes")], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ec3eeb95 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,379 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.33 2001/04/10 14:22:58 loic_at_senga.org Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +AM_INIT_AUTOMAKE(nel,$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ec3eeb95 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,379 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.33 2001/04/10 14:22:58 loic_at_senga.org Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +AM_INIT_AUTOMAKE(nel,$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&sortby=date new file mode 100644 index 00000000..ec3eeb95 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.33&sortby=date @@ -0,0 +1,379 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.33 2001/04/10 14:22:58 loic_at_senga.org Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +AM_INIT_AUTOMAKE(nel,$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..cf2542f1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.34 2001/04/12 12:41:49 dayta_at_ucc.gu.uwa.edu.au Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..cf2542f1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.34 2001/04/12 12:41:49 dayta_at_ucc.gu.uwa.edu.au Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&sortby=log new file mode 100644 index 00000000..cf2542f1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.34&sortby=log @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.34 2001/04/12 12:41:49 dayta_at_ucc.gu.uwa.edu.au Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build withoug debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..92c00081 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.35 2001/05/02 14:25:47 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..92c00081 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.35 2001/05/02 14:25:47 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&sortby=date new file mode 100644 index 00000000..92c00081 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.35&sortby=date @@ -0,0 +1,403 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.35 2001/05/02 14:25:47 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.36&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.36&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..d539c48f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.36&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,404 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.36 2001/05/02 17:11:33 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface's REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface's AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesn't add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC's "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..153902e4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,447 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.37 2001/06/13 18:05:00 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/3d/tmp/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&sortby=date new file mode 100644 index 00000000..153902e4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.37&sortby=date @@ -0,0 +1,447 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.37 2001/06/13 18:05:00 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/3d/tmp/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..a727d34a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,453 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.38 2001/06/18 12:46:14 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..a727d34a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.38&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,453 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.38 2001/06/18 12:46:14 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..42bdc5ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,454 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.39 2001/06/21 16:34:44 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..42bdc5ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,454 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.39 2001/06/21 16:34:44 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&sortby=log new file mode 100644 index 00000000..42bdc5ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.39&sortby=log @@ -0,0 +1,454 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.39 2001/06/21 16:34:44 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&content-type=text/plain&sortby=author/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&sortby=date new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.4&sortby=date @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.40&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.40&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..7707d99f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.40&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,461 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.40 2001/07/27 16:06:15 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl The src disrectory is put in the include search path to be able to +dnl include internals headers from anywere in code without using relativ +dnl path +CFLAGS="$CFLAGS -I$srcdir/src" +CXXFLAGS="$CXXFLAGS -I$srcdir/src" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ AC_MSG_RESULT(disable NEL PACS.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..fcff4ffe --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,454 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.41 2001/07/27 17:25:40 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ AC_MSG_RESULT(disable NEL PACS.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..fcff4ffe --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.41&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,454 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.41 2001/07/27 17:25:40 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ AC_MSG_RESULT(disable NEL PACS.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.42&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.42&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..d7e52904 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.42&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,458 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.42 2001/08/01 09:20:08 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ AC_MSG_RESULT(disable NEL PACS.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --disable-ai disable compilation and install of NeL AI.], + [ AC_MSG_RESULT(disable NEL AI.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.43&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.43&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..64016521 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.43&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,458 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.43 2001/08/01 09:22:31 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( network, + [ --disable-network disable compilation and install of NeL Network.], + [ AC_MSG_RESULT(disable NEL Network.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ AC_MSG_RESULT(disable NEL 3D.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ AC_MSG_RESULT(disable NEL PACS.) ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl AI library +dnl AC_ARG_ENABLE( ai, +dnl [ --disable-ai disable compilation and install of NeL AI.], +dnl [ AC_MSG_RESULT(disable NEL AI.) ], +dnl [ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..10d4e35e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,485 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.44 2001/08/01 10:38:58 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL Network.) + else + NEL_SUBDIRS="$NEL_SUBDIRS net" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL 3D.) + else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL PACS.) + else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + [ if test $enableval = "yes"; + then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" + fi ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + [ if test $enableval = "yes"; + then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" + fi ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..10d4e35e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.44&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,485 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.44 2001/08/01 10:38:58 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL Network.) + else + NEL_SUBDIRS="$NEL_SUBDIRS net" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL 3D.) + else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + [ if test $enableval = "no"; + then + AC_MSG_RESULT(disable NEL PACS.) + else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" + fi ], + [ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + [ if test $enableval = "yes"; + then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" + fi ] ) + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + [ if test $enableval = "yes"; + then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" + fi ] ) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..300845f5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,492 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.45 2001/08/01 17:15:45 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..300845f5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.45&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,492 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.45 2001/08/01 17:15:45 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/include/stlport], + [STLPORT_DIR=$with_stlport + AC_MSG_RESULT(using STLPort header files located in $with_stlport)], + AC_MSG_ERROR([You must call configure with the --with-stlport option. + This tells configure where to find the STLPort header files. + e.g. --with-stlport=/usr/local/include/stlport]) +) + +if test X"$STLPORT_DIR" != X; +then + CXXFLAGS="-I$STLPORT_DIR $CXXFLAGS" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header/library files +AC_ARG_WITH( stllib, + [ --with-stllib=<path> path to the STLPort installation directory. + e.g. /usr/local/lib/stlport], + [STLLIB_DIR=$with_stllib + AC_MSG_RESULT(using STLPort library located in $with_stllib.)] +) + +if test X"$STLLIB_DIR" != X; +then + LIBS="-L$STLLIB_DIR $LIBS" +fi + +LIBS="$LIBS -lstlport_gcc" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS" + +AC_MSG_CHECKING(for STLPort) +AC_EGREP_CPP( yo_stlport, +[#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.46&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.46&sortby=date new file mode 100644 index 00000000..6ba1d31e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.46&sortby=date @@ -0,0 +1,530 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.46 2001/08/02 15:58:55 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no"; +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" ; then + if test ! X"$x_libraries" = X ; then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X ; then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + AC_MSG_ERROR(X11 must be installed.) +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport header files +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort header files directory. + e.g. /usr/local/stlport] +) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local//stlport/include] +) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/lib] +) + +if test "$with_stlport" != "no" +then + if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" + then + AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport and with-stlport-include options. +This tells configure where to find the STLPort files.]) + fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_INCLUDE="$with_stlport/include" + STLPORT_LIB="$with_stlport/lib" + fi +else + no_stlport="no" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_INCLUDE="$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="$with_stlport_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +elif test "$with_debug" = "full" +then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" +else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + +AC_MSG_RESULT([*** $STLPORT_INCLUDE *** $STLPORT_LIB ***]) + + if test X"$STLPORT_INCLUDE" != X + then + CXXFLAGS="-I$STLPORT_INCLUDE $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="-L$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" + +fi + + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no"; then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[AC_MSG_RESULT(yes)], +AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[AC_MSG_RESULT(ok)], +AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.48&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.48&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..64133454 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.48&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,632 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.48 2001/08/08 09:37:04 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport ] +) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport ] +) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib ] +) + +if test "$with_stlport" != "no" +then + if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" + then + AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +This tells configure where to find the STLPort files.]) + fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="no" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local] +) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include] +) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib] +) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="$with_openal/include" + OPENAL_LIB="$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +if test X"$OPENAL_CFLAGS" != X +then + CXXFLAGS="-I$OPENAL_CFLAGS $CXXFLAGS" +fi + +if test X"$OPENAL_LIB" != X +then + LIBS="-L$OPENAL_LIB $LIBS -lstlport_gcc" +fi + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIBS) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.49&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.49&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..4a24e7e0 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.49&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,616 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.49 2001/08/08 17:08:23 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" + then + AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +This tells configure where to find the STLPort files.]) + fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="no" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.5&content-type=text/plain&sortby=author/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.50&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.50&sortby=date new file mode 100644 index 00000000..44ed24ce --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.50&sortby=date @@ -0,0 +1,617 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.50 2001/08/09 15:40:37 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.51&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.51&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..0b6f2b84 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.51&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.51 2001/10/08 14:52:19 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.52&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.52&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..3d10af17 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.52&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,627 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.52 2001/10/09 13:43:06 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +if test "$enable_3d" = "yes" +then + AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) +fi + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..3e787a8d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.53 2001/10/09 13:48:11 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..3e787a8d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.53&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.53 2001/10/09 13:48:11 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS " +CXXFLAGS="$CXXFLAGS " + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..5df459b6 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.54 2001/10/31 09:54:43 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&sortby=date new file mode 100644 index 00000000..5df459b6 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.54&sortby=date @@ -0,0 +1,624 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.54 2001/10/31 09:54:43 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..0379d508 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,630 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.55 2001/11/07 16:25:13 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&sortby=date new file mode 100644 index 00000000..0379d508 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.55&sortby=date @@ -0,0 +1,630 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.55 2001/11/07 16:25:13 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ========== +dnl Python +dnl ========== + +AC_ARG_WITH( python, + [ --with-python=<path> path to the Python prefix installation directory. + e.g. /usr/local], + [ PYTHON_PREFIX=$withval + AC_MSG_RESULT(using Python located in $withval.)] +) + +if test ! "$PYTHON_PREFIX" = "" +then + PATH="$PYTHON_PREFIX/bin:$PATH" +fi + +AC_ARG_WITH( python-version, + [ --with-python-version=<version> + Python version to use, e.g. 1.5], + [ PYTHON_VERSION=$withval + AC_MSG_RESULT(using Python $withval.)] +) + +if test ! "$PYTHON_VERSION" = "" +then + PYTHON_EXEC="python$PYTHON_VERSION" +else + PYTHON_EXEC="python python2.0 python1.5" +fi + +AC_PATH_PROGS(PYTHON, $PYTHON_EXEC, no, $PATH) +if test "$PYTHON" = "no" -a "$enable_ai" = "yes" +then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org)]) +fi + + +dnl ==================================================================== +dnl Configure Settings + +dnl Use C++ compiler as a default for the compilation test. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +dnl Ask user for path to the STLport files location +AC_ARG_WITH( stlport, + [ --with-stlport=<path> path to the STLPort install files directory. + e.g. /usr/local/stlport]) + +AC_ARG_WITH( stlport-include, + [ --with-stlport-include=<path> + path to the STLPort header files directory. + e.g. /usr/local/stlport/stlport]) + +AC_ARG_WITH( stlport-lib, + [ --with-stlport-lib=<path> + path to the STLPort library files directory. + e.g. /usr/local/stlport/lib]) + +if test "$with_stlport" != "no" +then + +# if test -z "$with_stlport" && test -z "$with_stlport_lib" -o -z "$with_stlport_include" +# then +# AC_MSG_ERROR([You must call configure with the --with-stlport or --with-stlport-lib and with-stlport-include options. +#This tells configure where to find the STLPort files.]) +# fi + + if test $with_stlport + then + AC_MSG_RESULT(using STLPort files located in $with_stlport) + + STLPORT_CFLAGS="-I$with_stlport/stlport" + STLPORT_LIB="-L$with_stlport/lib" + fi +else + no_stlport="yes" + AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***) +fi + +if test -z "$no_stlport" -a "$with_stlport_include" +then + AC_MSG_RESULT(using STLPort header files located in $with_stlport_include) + STLPORT_CFLAGS="-I$with_stlport_include" +fi + +if test -z "$no_stlport" -a "$with_stlport_lib" +then + AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib) + STLPORT_LIB="-L$with_stlport_lib" +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +dnl Ask user for path to the OpenAL files location +AC_ARG_WITH( openal, + [ --with-openal=<path> path to the OpenAL install files directory. + e.g. /usr/local]) + +AC_ARG_WITH( openal-include, + [ --with-openal-include=<path> + path to the OpenAL header files directory. + e.g. /usr/local/include]) + +AC_ARG_WITH( openal-lib, + [ --with-openal-lib=<path> + path to the OpenAL library files directory. + e.g. /usr/local/lib]) + +if test $with_openal +then + AC_MSG_RESULT(using OpenAL files located in $with_openal) + + OPENAL_CFLAGS="-I$with_openal/include" + OPENAL_LIB="-L$with_openal/lib" +fi + +if test "$with_openal_include" +then + AC_MSG_RESULT(using OpenAL header files located in $with_openal_include) + OPENAL_CFLAGS="-I$with_openal_include" +fi + +if test "$with_openal_lib" +then + AC_MSG_RESULT(using OpenAL library files located in $with_openal_lib) + OPENAL_LIB="-L$with_openal_lib" +fi + + +dnl ========== +dnl Python +dnl ========== + +PYTHON_PREFIX=`$PYTHON -c 'import sys; print "%s" % (sys.prefix)'` +PYTHON_VERSION=`$PYTHON -c 'import sys; print "%s" % (sys.version[[:3]])'` + +PYTHON_CFLAGS="-I$PYTHON_PREFIX/include/python$PYTHON_VERSION" +PYTHON_LIBS="-L$PYTHON_PREFIX/lib/python$PYTHON_VERSION/config -lpython$PYTHON_VERSION" + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${PYTHON_CFLAGS}" + +AC_SUBST(PYTHON_CFLAGS) + +AC_MSG_CHECKING(for Python header files) +AC_EGREP_CPP( yo_python, +[#include <Python.h> + yo_python +], +[ AC_MSG_RESULT(ok)], + AC_MSG_RESULT(no) + if test "$enable_ai" = "yes" + then + AC_MSG_ERROR([Python is needed to compile NeL (www.python.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + +AC_SUBST(PYTHON_CFLAGS) +AC_SUBST(PYTHON_LIBS) + + +dnl ========== +dnl Debug/optimized compilation mode +dnl ========== + +MAX_C_OPTIMIZE="-O6" + +dnl Build optimized or debug version ? +dnl First check for gcc and g++ +if test "$ac_cv_prog_gcc" = "yes" +then + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="-O" + OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" +else + DEBUG_CFLAGS="-g" + DEBUG_OPTIMIZE_CC="" + OPTIMIZE_CFLAGS="-O" +fi + +if test "$ac_cv_prog_cxx_g" = "yes" +then + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="-O" + OPTIMIZE_CXXFLAGS="-O3" +else + DEBUG_CXXFLAGS="-g" + DEBUG_OPTIMIZE_CXX="" + OPTIMIZE_CXXFLAGS="-O" +fi + +AC_ARG_WITH(debug, + [ --with-debug[=full] Build a debug version (huge libraries) + --without-debug Build without debugging code (default)], + [with_debug=$withval], + [with_debug=no]) + +if test "$with_debug" = "yes" +then + dnl Medium debug. + CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS" +else + if test "$with_debug" = "full" + then + dnl Full debug. Very slow in some cases + CFLAGS="$DEBUG_CFLAGS $CFLAGS" + CXXFLAGS="$DEBUG_CXXFLAGS $CXXFLAGS" + else + dnl Optimized version. No debug + CFLAGS="$OPTIMIZE_CFLAGS $CFLAGS" + CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" + fi +fi + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl STLPort +dnl ========== + +if test -z "$no_stlport" +then + + if test X"$STLPORT_CFLAGS" != X + then + CXXFLAGS="$STLPORT_CFLAGS $CXXFLAGS" + fi + + if test X"$STLPORT_LIB" != X + then + LIBS="$STLPORT_LIB $LIBS -lstlport_gcc" + fi + + _CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CXXFLAGS $STLPORT_CFLAGS" + + AC_MSG_CHECKING(for STLPort) + AC_EGREP_CPP( yo_stlport, + [#include <algorithm> +#ifdef __SGI_STL_PORT + yo_stlport +#endif], + [ AC_MSG_RESULT(yes)], + AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) ) + + CPPFLAGS="$_CPPFLAGS" +fi + +dnl ========== +dnl FreeType 2 +dnl ========== + +dnl Check for the FreeType 2 library files +AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) + +if test "$FREETYPE_CONFIG" = "no" -a "$enable_3d" = "yes" +then + AC_MSG_ERROR([Cannot find freetype-config: check your path. + FreeType 2 library is needed to compile NeL (freetype.sourceforge.net).]) +else + FREETYPE_CFLAGS=`freetype-config --cflags` + FREETYPE_LIBS=`freetype-config --libs` +fi + +AC_SUBST(FREETYPE_CFLAGS) +AC_SUBST(FREETYPE_LIBS) + +dnl Checking the FreeType 2 instalation +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}" + +AC_MSG_CHECKING(for FreeType 2 installation) +AC_EGREP_CPP( yo_freetype2, +[#include <freetype/freetype.h> +#if FREETYPE_MAJOR == 2 + yo_freetype2 +#endif], +[ AC_MSG_RESULT(yes) ], + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([Freetype 2 library is needed to compile NeL (freetype.sourceforge.net).]) + else + AC_MSG_RESULT(no) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ========== +dnl OpenGL +dnl ========== + +dnl Checking the OpenGL installation +AC_MSG_CHECKING(for OpenGL) +AC_EGREP_CPP( yo_opengl, +[#include <GL/gl.h> +#if defined(GL_VERSION_1_2) + yo_opengl +#endif], +[ AC_MSG_RESULT(yes) ], + AC_MSG_RESULT(no) + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR([OpenGL 1.2 is needed to compile NeL (www.mesa3d.org).]) + fi +) + +dnl Checking the GLEXT version +AC_MSG_CHECKING(for <GL/glext.h> version) +AC_EGREP_CPP( yo_glext_version, +[#include <GL/glext.h> +#ifdef GL_GLEXT_VERSION +#if GL_GLEXT_VERSION >= 7 + yo_glext_version +#endif +#endif], +[ AC_MSG_RESULT(ok) ], + if test "$enable_3d" = "yes" + then + AC_MSG_RESULT(no) + AC_MSG_ERROR([A newer version of <GL/glext.h> is needed to compile NeL (download it from http://oss.sgi.com/projects/ogl-sample/ABI/).]) + fi +) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ +AC_MSG_CHECKING("for XF86VidMode extension") +AC_ARG_WITH( xf86vidmode, + [ --with-xf86vidmode=<path> + path to the XF86VidMode lib. + e.g. /usr/X11R6/lib], + [ VMLIB_DIR=$with_xf86vidmode + AC_MSG_RESULT(using VidMode library located in $with_xf86vidmode.)], + AC_MSG_RESULT(Compiling without Xf86VidMode and hence fullscreen support to compile with XF86VidMode support, use --with-xf86vidmode=<pathtolib>) +) + +if test X"$VMLIB_DIR" != X; +then + LIBS="-L$VMLIB_DIR -lXxf86vm $LIBS"; + CXXFLAGS="$CXXFLAGS -DXF86VIDMODE"; +fi + + +dnl ========== +dnl OpenAL +dnl ========== + +AC_SUBST(OPENAL_CFLAGS) +AC_SUBST(OPENAL_LIB) + +_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CXXFLAGS $OPENAL_CFLAGS" + +AC_MSG_CHECKING(for OpenAL) +AC_EGREP_CPP( yo_openal, +[#include <AL/altypes.h> +#ifdef AL_VERSION + yo_openal +#endif], +[ AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no) + if test "$enable_sound" = "yes" + then + AC_MSG_ERROR([OpenAL is needed to compile NeL (www.openal.org).]) + fi +) + +CPPFLAGS="$_CPPFLAGS" + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..2dd9f346 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,306 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.56 2002/01/07 16:09:52 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +AM_PATH_STLPORT + + +dnl ========== +dnl OpenAL +dnl ========== + +AM_PATH_OPENAL( $enable_3d ) + + +dnl ========== +dnl Python +dnl ========== + +AM_PATH_PYTHON( $enable_ai ) + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl FreeType 2 +dnl ========== + +AM_PATH_FREETYPE( $enable_3d ) + + +dnl ========== +dnl OpenGL +dnl ========== + +AM_PATH_OPENGL( $enable_3d ) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..2dd9f346 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,306 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.56 2002/01/07 16:09:52 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +AM_PATH_STLPORT + + +dnl ========== +dnl OpenAL +dnl ========== + +AM_PATH_OPENAL( $enable_3d ) + + +dnl ========== +dnl Python +dnl ========== + +AM_PATH_PYTHON( $enable_ai ) + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl FreeType 2 +dnl ========== + +AM_PATH_FREETYPE( $enable_3d ) + + +dnl ========== +dnl OpenGL +dnl ========== + +AM_PATH_OPENGL( $enable_3d ) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&sortby=log new file mode 100644 index 00000000..2dd9f346 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&sortby=log @@ -0,0 +1,306 @@ +dnl +dnl Configuration script for NeL +dnl +dnl $Id: configure.in,v 1.56 2002/01/07 16:09:52 valignat Exp $ +dnl + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ========== +dnl X11 +dnl ========== + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ========== +dnl STLPort +dnl ========== + +AM_PATH_STLPORT + + +dnl ========== +dnl OpenAL +dnl ========== + +AM_PATH_OPENAL( $enable_3d ) + + +dnl ========== +dnl Python +dnl ========== + +AM_PATH_PYTHON( $enable_ai ) + + +dnl ========== +dnl LibXML +dnl ========== + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + + +dnl ==================================================================== +dnl Checks for libraries. + +dnl ========== +dnl FreeType 2 +dnl ========== + +AM_PATH_FREETYPE( $enable_3d ) + + +dnl ========== +dnl OpenGL +dnl ========== + +AM_PATH_OPENGL( $enable_3d ) + + +dnl ============================================ +dnl Check for XF86VidMode extension (-lXxf86vm) +dnl ============================================ + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. + + +dnl ==================================================================== +dnl Output files to generate. + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..a1684dfe --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,317 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.57 2002/01/10 10:47:23 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL( $enable_3d ) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON( 1.5, $enable_ai ) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE( $enable_3d ) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL( $enable_3d ) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..a1684dfe --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.57&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,317 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.57 2002/01/10 10:47:23 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL( $enable_3d ) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON( 1.5, $enable_ai ) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2( 2.0.0, , AC_MSG_ERROR(libxml2 must be installed.) ) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE( $enable_3d ) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL( $enable_3d ) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..c8e5f449 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,317 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.58 2002/01/10 14:33:20 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_3d) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..c8e5f449 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.58&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,317 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.58 2002/01/10 14:33:20 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_3d) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.59&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.59&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..a45fad4a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.59&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,317 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.59 2002/01/28 15:22:19 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +dnl What an ugly hack to try to get something cleanner ... i hope ... +AC_OUTPUT_COMMANDS( + [cd include/nel && ln -sfv ../nelconfig.h .] +) + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.60&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.60&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..eece358f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.60&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,328 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.60 2002/03/19 17:42:48 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..12cb04fd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,347 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.62 2002/03/26 13:52:57 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&sortby=date new file mode 100644 index 00000000..12cb04fd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.62&sortby=date @@ -0,0 +1,347 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.62 2002/03/26 13:52:57 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.63&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.63&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..0700979f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.63&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,350 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.63 2002/03/26 14:37:46 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.64&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.64&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..81eeff68 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.64&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,351 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.64 2002/04/15 09:44:41 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..d8a54d65 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,356 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.65 2002/04/15 12:04:16 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" +then + CXX="ccache $CXX" +fi + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..d8a54d65 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.65&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,356 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.65 2002/04/15 12:04:16 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" +then + CXX="ccache $CXX" +fi + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.66&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.66&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..c10a462c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.66&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,362 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.66 2002/04/15 12:54:16 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AC_PATH_PROG(CCACHE, ccache) +if test "$CCACHE" +then + CXX="ccache $CXX" +fi + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..807cdb21 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1,359 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.67 2002/04/16 12:01:39 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..807cdb21 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,359 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.67 2002/04/16 12:01:39 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&sortby=date new file mode 100644 index 00000000..807cdb21 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.67&sortby=date @@ -0,0 +1,359 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.67 2002/04/16 12:01:39 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..270d2cff --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,360 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.68 2002/04/16 16:00:31 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi +AC_C_BIGENDIAN + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&sortby=log new file mode 100644 index 00000000..270d2cff --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.68&sortby=log @@ -0,0 +1,360 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.68 2002/04/16 16:00:31 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi +AC_C_BIGENDIAN + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +CFLAGS="$CFLAGS -I\${top_srcdir}/include" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..312b71be --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,361 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.69 2002/04/17 07:23:45 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi +AC_C_BIGENDIAN + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +dnl Put the nelconfig.h define +CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&sortby=log b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&sortby=log new file mode 100644 index 00000000..312b71be --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.69&sortby=log @@ -0,0 +1,361 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.69 2002/04/17 07:23:45 lecroart Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" ; then +AC_DEFINE(HAVE_X86) +fi +AC_C_BIGENDIAN + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +dnl Put the nelconfig.h define +CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&hideattic=0&sortby=rev/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.7&content-type=text/plain&sortby=author/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.70&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.70&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..d6685fb9 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.70&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,364 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.70 2002/04/25 17:53:36 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + +dnl Get host type info +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" +then + AC_DEFINE(HAVE_X86) +fi + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Test endianness +AC_C_BIGENDIAN + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C compiler as a default for the libxml tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +dnl Put the nelconfig.h define +CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html new file mode 100644 index 00000000..0a9933b4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date&only_with_tag=HEAD/index.html @@ -0,0 +1,377 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.71 2002/05/13 15:44:57 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + +dnl Get host type info +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" +then + AC_DEFINE(HAVE_X86) +fi + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Test endianness +AC_C_BIGENDIAN + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C compiler as a default for the libxml tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +dnl Put the nelconfig.h define +CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + tools/Makefile \ + tools/3d/Makefile \ + tools/3d/build_coarse_mesh/Makefile \ + tools/3d/build_far_bank/Makefile \ + tools/3d/build_smallbank/Makefile \ + tools/3d/ig_lighter/Makefile \ + tools/3d/ig_lighter_lib/Makefile \ + tools/3d/panoply_maker/Makefile \ + tools/3d/zone_dependencies/Makefile \ + tools/3d/zone_ig_lighter/Makefile \ + tools/3d/zone_lib/Makefile \ + tools/3d/zone_lighter/Makefile \ + tools/3d/zone_welder/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..0a9933b4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.71&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,377 @@ +dnl ==================================================================== +dnl Configuration script for NeL +dnl ==================================================================== +dnl +dnl $Id: configure.in,v 1.71 2002/05/13 15:44:57 valignat Exp $ +dnl + + +dnl ==================================================================== +dnl Process this file with autoconf to produce a configure script. +dnl ==================================================================== + +AC_INIT(include/nel/nel.h) + + +dnl MAJOR_VERSION correspond to the CURRENT interface number. +dnl MINOR_VERSION correspond to the interface REVISION (implementation) +dnl number. +dnl PICO_VERSION correspond to the interface AGE, which is the number +dnl of previous additional interfaces supported by this library. +dnl It must be less than or equal to CURRENT. + +MAJOR_VERSION=0 +MINOR_VERSION=3 +PICO_VERSION=0 + +VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION + +AM_INIT_AUTOMAKE(nel,$VERSION) + +LIBTOOL_VERSION=$MAJOR_VERSION:$MINOR_VERSION:$PICO_VERSION + +AC_SUBST(VERSION) +AC_SUBST(LIBTOOL_VERSION) + +AM_CONFIG_HEADER(include/nelconfig.h) + +dnl Get host type info +AC_CANONICAL_HOST +if test "$host_cpu" = "i386" -o "$host_cpu" = "i486" \ + -o "$host_cpu" = "i586" -o "$host_cpu" = "i686" \ + -o "$host_cpu" = "i786" +then + AC_DEFINE(HAVE_X86) +fi + +dnl The following hack should ensure that configure doesnt add optimizing +dnl or debugging flags to CFLAGS or CXXFLAGS +CFLAGS="$CFLAGS -ftemplate-depth-24" +CXXFLAGS="$CXXFLAGS -ftemplate-depth-24" + + +dnl ==================================================================== +dnl Checks NeL modules (net, 3d, ai) to install / Disable +dnl ==================================================================== + +dnl the misc is mandatory, it is use by the other modules. +NEL_SUBDIRS="misc" + +dnl Network library +AC_ARG_ENABLE( net, + [ --disable-net disable compilation and install of NeL Network.], + , enable_net=yes ) + +if test $enable_net = "no"; +then + AC_MSG_RESULT(disable NEL Network.) +else + NEL_SUBDIRS="$NEL_SUBDIRS net" +fi + +dnl 3D library +AC_ARG_ENABLE( 3d, + [ --disable-3d disable compilation and install of NeL 3D.], + , enable_3d=yes ) + +if test $enable_3d = "no"; +then + AC_MSG_RESULT(disable NEL 3D.) +else + NEL_SUBDIRS="$NEL_SUBDIRS 3d" +fi + +dnl PACS library +AC_ARG_ENABLE( pacs, + [ --disable-pacs disable compilation and install of NeL PACS.], + , enable_pacs=yes ) + +if test $enable_pacs = "no"; +then + AC_MSG_RESULT(disable NEL PACS.) +else + NEL_SUBDIRS="$NEL_SUBDIRS pacs" +fi + +dnl Sound library +AC_ARG_ENABLE( sound, + [ --enable-sound enable compilation and install of NeL Sound.], + , enable_sound=no ) + +if test $enable_sound = "yes"; +then + AC_MSG_RESULT(enable NEL Sound.) + NEL_SUBDIRS="$NEL_SUBDIRS sound" +fi + +dnl AI library +AC_ARG_ENABLE( ai, + [ --enable-ai enable compilation and install of NeL AI.], + , enable_ai=no ) + +if test $enable_ai = "yes"; +then + AC_MSG_RESULT(enable NEL AI.) + NEL_SUBDIRS="$NEL_SUBDIRS ai" +fi + +dnl Georges library +AC_ARG_ENABLE( georges, + [ --enable-georges enable compilation and install of NeL Georges.], + , enable_georges=no ) + +if test $enable_georges = "yes"; +then + AC_MSG_RESULT(enable NEL Georges.) + NEL_SUBDIRS="$NEL_SUBDIRS georges" +fi + +AC_SUBST(enable_net) +AC_SUBST(enable_3d) +AC_SUBST(enable_pacs) +AC_SUBST(enable_sound) +AC_SUBST(enable_ai) +AC_SUBST(enable_georges) + +AC_SUBST(NEL_SUBDIRS) + + +dnl ==================================================================== +dnl Checks for programs. +dnl ==================================================================== + +AC_PROG_MAKE_SET + +AC_PROG_CC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +AM_SANITY_CHECK + +AC_PROG_YACC +AM_PROG_LEX + +AC_PROG_INSTALL + +AM_PATH_CCACHE + + +dnl ==================================================================== +dnl Configure Settings +dnl ==================================================================== + +dnl Disable the static linking by default +dnl AC_DISABLE_STATIC + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Debug/optimized compilation mode +dnl ==================================================================== + +AM_NEL_DEBUG + +AC_ARG_WITH([logging], + [ --without-logging be silent on stdout and in no log.log], + [ +if test "$with_logging" = "no" +then + AC_DEFINE(NEL_DEFAULT_DISPLAYER, 0) + AC_DEFINE(NEL_LOG_IN_FILE, 0) +else + AC_MSG_ERROR([--with-logging is the default: do not use this option]) +fi +]) + + +dnl ==================================================================== +dnl Checks for typedefs, structures, and compiler characteristics. +dnl ==================================================================== + +dnl Test endianness +AC_C_BIGENDIAN + +dnl Supress GCC "multi-character character constant" warnings. +if test "X$CC" = "Xgcc"; +then + CXXFLAGS="$CXXFLAGS -Wno-multichar" +fi + +dnl Add the define _REENTRANT for a correct use of the threads +if test "X$CC" = "Xgcc"; +then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" +fi + + +dnl ==================================================================== +dnl Checks for header files. +dnl ==================================================================== + +AC_STDC_HEADERS +AC_CHECK_HEADERS(fcntl.h unistd.h) + + +dnl ==================================================================== +dnl X11 + +AC_PATH_X + +if test ! "$no_x" = "yes" +then + if test ! X"$x_libraries" = X + then + LIBS="$LIBS -L$x_libraries" + fi + + if test ! X"$x_includes" = X + then + CXXFLAGS="$CXXFLAGS -I$x_includes" + fi +else + if test "$enable_3d" = "yes" + then + AC_MSG_ERROR(X11 must be installed.) + fi +fi + + +dnl ==================================================================== +dnl STLPort + +AM_PATH_STLPORT + + +dnl ==================================================================== +dnl Python + +AM_PATH_PYTHON(1.5,$enable_ai) + + +dnl ==================================================================== +dnl LibXML + +dnl Use C compiler as a default for the libxml tests. +AC_LANG_C + +AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) + +CFLAGS="$CFLAGS $XML_CFLAGS" +CXXFLAGS="$CXXFLAGS $XML_CFLAGS" + +LIBS="$LIBS $XML_LIBS" + +dnl Use C++ compiler as a default for the compilation tests. +AC_LANG_CPLUSPLUS + + +dnl ==================================================================== +dnl Checks for libraries. +dnl ==================================================================== + +dnl ==================================================================== +dnl FreeType 2 + +AM_PATH_FREETYPE($enable_3d) + + +dnl ==================================================================== +dnl OpenGL + +AM_PATH_OPENGL($enable_3d) + + +dnl ==================================================================== +dnl Check for XF86VidMode extension (-lXxf86vm) + +AM_PATH_XF86VIDMODE + + +dnl ==================================================================== +dnl OpenAL + +AM_PATH_OPENAL($enable_sound) + + +dnl ==================================================================== +dnl Arrange for the include directory to be in the search path even when +dnl build is done outside the source tree +dnl Put the nelconfig.h define +CFLAGS="$CFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" +CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/include -DHAVE_NELCONFIG_H" + + +dnl ==================================================================== +dnl Checks for library functions. +dnl ==================================================================== + + +dnl ==================================================================== +dnl Output files to generate. +dnl ==================================================================== + +AC_OUTPUT( Makefile \ + include/Makefile \ + include/nel/Makefile \ + include/nel/misc/Makefile \ + include/nel/net/Makefile \ + include/nel/3d/Makefile \ + include/nel/pacs/Makefile \ + include/nel/sound/Makefile \ + include/nel/ai/Makefile \ + include/nel/ai/agent/Makefile \ + include/nel/ai/c/Makefile \ + include/nel/ai/character/Makefile \ + include/nel/ai/e/Makefile \ + include/nel/ai/fuzzy/Makefile \ + include/nel/ai/logic/Makefile \ + include/nel/ai/nimat/Makefile \ + include/nel/ai/pyserver/Makefile \ + include/nel/ai/script/Makefile \ + include/nel/ai/tools/Makefile \ + include/nel/georges/Makefile \ + src/Makefile \ + src/misc/Makefile \ + src/misc/config_file/Makefile \ + src/net/Makefile \ + src/3d/Makefile \ + src/3d/driver/Makefile \ + src/3d/driver/opengl/Makefile \ + src/pacs/Makefile \ + src/sound/Makefile \ + src/sound/driver/Makefile \ + src/sound/driver/openal/Makefile \ + src/ai/Makefile \ + src/ai/agent/Makefile \ + src/ai/c/Makefile \ + src/ai/character/Makefile \ + src/ai/fuzzy/Makefile \ + src/ai/logic/Makefile \ + src/ai/nimat/Makefile \ + src/ai/pyserver/Makefile \ + src/ai/script/Makefile \ + src/ai/tools/Makefile \ + src/georges/Makefile \ + tools/Makefile \ + tools/3d/Makefile \ + tools/3d/build_coarse_mesh/Makefile \ + tools/3d/build_far_bank/Makefile \ + tools/3d/build_smallbank/Makefile \ + tools/3d/ig_lighter/Makefile \ + tools/3d/ig_lighter_lib/Makefile \ + tools/3d/panoply_maker/Makefile \ + tools/3d/zone_dependencies/Makefile \ + tools/3d/zone_ig_lighter/Makefile \ + tools/3d/zone_lib/Makefile \ + tools/3d/zone_lighter/Makefile \ + tools/3d/zone_welder/Makefile \ + nel-config \ +) + + +dnl End of configure.in + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.8&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.8&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..ea313c40 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.8&content-type=text/plain&sortby=log/index.html @@ -0,0 +1 @@ +cvs [checkout aborted]: invalid change text in /home/cvsroot/code/nel/configure.in,v diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/architect.png?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/architect.png?rev=1.1&content-type=text/plain&sortby=date/index.html Binary files differnew file mode 100644 index 00000000..39c84ccd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/architect.png?rev=1.1&content-type=text/plain&sortby=date/index.html diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..f1493d5f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,73 @@ +/** + \page log_howto How to log information ? + \author Olivier Cado + + This document explains how to log some information (into the screen, into a file or to a logging server), e.g. in order to debug your code. + You need to include the following header files : "nel/misc/debug.h" "nel/misc/log.h". + + \subsection init_log Initialization + + In the initialization of your service (see NLNET::IService), attach some displayers to the global NLMISC::CLog objects + \e ErrorLog, \e WarningLog, \e InfoLog, \e DebugLog and \e AssertLog. + NLMISC::CStdDisplayer is for the screen (and VC++ debug window). It is attached by default to all of the five logger objects mentionned above. + NLMISC::CFileDisplayer is for a file. + NLMISC::CMsgBoxDisplayer is for a message box. + NLNET::CNetDisplayer is for a logging server (see CLogService in the server documentation) + + If your program is not a service (i.e. it is not inherited from NLNET::IService), + don't forget to call \b NLMISC::InitDebug() at the beginning of your program, otherwise + the logging functions won't work. + + Example : + \code + + NLMISC::InitDebug(); // if your program does not inherit from NLNET::IService + NLNET::CNetDisplayer *nd = new CNetDisplayer(); // the address of the Logging Server is automatically retrieved using the Naming Service + if ( nd->connected() ) // this line is optional: here we don't want the displayer to attempt other connections if the first one failed + { + NLMISC::DebugLog.addDisplayer( nd ); + } + \endcode + + \subsection use_log Logging information + In your code, use the macros : \e nlerror, \e nlwarning, \e nlinfo, \e nldebug with a variable number of arguments. + You have to include the header "nel/misc/debug.h". + + Example : + \code + nldebug( "Toto is %d years old", age ); + if ( age < 0 ) + { + nlerror( "Invalid age for toto : %d", age ); + return -1; + } + \endcode + + - How to log a string without repeating the header ? + + The macros nldebug() and nlerror() call some methods of NLMISC::CLog, including displayNL(). + It prints a string with an information header. + If you don't want to print the header, use the others methods of NLMISC::CLog. + + Example : + \code + NLMISC::DebugLog.displayNL ( "Dump of Values :" ); + for ( int j=0; j!=height; ++j ) + { + for ( int i=0; i!=width; ++i ) + { + NLMISC::DebugLog.displayRaw( "%d ", Values[j][i] ); + } + NLMISC::DebugLog.displayRawNL( ": line %d", j ); + } + \endcode + + \subsection Analysing network transfers + + NLNET::NetLog (declared in "nel/net/nel_log.h") is a special logger that allows to send output and input logs to a logging server. + These logs are produced by the network subsystem and have a special syntax so that an analyser can process them and display the transfers + graphically in real-time. + + By default, all services (see NLNET::IService) send this kind of logs if they find a logging server. + +*/ diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..74139834 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,88 @@ +/** + \page log_howto How to log information (for debugging purpose) ? + \author Olivier Cado + \date Updated May 4 2000 + +This document explains how to log some information (into the screen, into a file or to a logging server), e.g. in order to debug your code. + +\section basic_debug Basic usage of the debugging system +The debugging sytem allows to log information at various levels. Include the header file "nel/misc/debug.h". + +The main functionalities are offered by the macros nldebug, nlinfo, nlwarning and also nlerror and nlassert, and by their variant forms (see debug.h). They allow to display strings, with open arguments, using the "printf" syntax. In the default behaviour, the text passed to nldebug is displayed into stdout in NL_DEBUG mode, but not in NL_RELEASE. The logged texts are also written into a file called "log.log" in the working directory. These macros print the strings with an information header. + + Example : + \code + sint32 age = -2; + nldebug( "Toto is %d years old", age ); + if ( age < 0 ) + { + nlerror( "Invalid age for toto : %d", age ); + + // the program will not come here because nlerror throws an exception to exit + } + + STDOUT (logger thread_id file line: debug_string): + DBG 1234 myfile.cpp 10: Toto is -2 years old + ERR 1234 myfile.cpp 13: Invalid age for toto : -2 + Abort + + FILE OUTPUT (date time logger debug_string): + 01/04/11 18:24:50 DBG: Toto is -2 years old + 01/04/11 18:24:50 ERR: Invalid age for toto : -2 + \endcode + +Because NeL allows to create multithreaded programs, these macros use mutual exclusions (mutex) to ensure no data is corrupted and the displayed text not interlaced. + +\section adv_log Advanced usage of the logging system + +You may want to customize the logging system directly, for your own needs. Include "nel/misc/log.h". + +\subsection init_log Initialization +If your program is not a "service" in the NeL terms (i.e. if it is not built on NLNET::IService), +first call createDebug() to create the basic global loggers \e ErrorLog, \e WarningLog, \e InfoLog, \e DebugLog and \e AssertLog (the ones that are used by the nlerror, nlwarning, nlinfo, nldebug and nlassert macros). + +Then, you can attach some displayers to the global loggers (NLMISC::CLog objects). +- NLMISC::CStdDisplayer is for stdout (the console, the VC++ output window...). It is attached by default to all of the five logger objects mentionned above. +- NLMISC::CFileDisplayer is for a file. +- NLMISC::CMsgBoxDisplayer is for a message box. +- NLNET::CNetDisplayer is for a logging server (see CLogService in the nelns documentation). +- You can can create your own displayer, in order to print the logged text onto a new target (for example, see the class CChatDisplayer in Snowballs 0.2) or to customize the filter on the header. + +Example (we assume CNetDisplayer allows to log via the network): + \code + + createDebug(); // automatically done in a "service" + NLNET::CNetDisplayer *nd = new CNetDisplayer(); // the address of the Logging Server is automatically retrieved using the Naming Service + if ( nd->connected() ) // this line is optional: here we don't want the displayer to attempt other connections if the first one failed + { + NLMISC::DebugLog.addDisplayer( nd ); + } + \endcode + + \subsection use_log Logging information + + How to log a string without repeating the header ? Use the methods of NLMISC::CLog. + + Example : + \code + NLMISC::DebugLog.displayNL ( "Dump of Values :" ); + for ( int j=0; j!=height; ++j ) + { + for ( int i=0; i!=width; ++i ) + { + NLMISC::DebugLog.displayRaw( "%d ", Values[j][i] ); + } + NLMISC::DebugLog.displayRawNL( ": line %d", j ); + } + \endcode + +*/ + + \subsection network_transfers Analysing network transfers + + NLNET::NetLog (declared in "nel/net/nel_log.h") is a special logger that allows to send output and input logs to a logging server. + These logs are produced by the network subsystem and have a special syntax so that an analyser can process them and display the transfers + graphically in real-time. + + By default, all services (see NLNET::IService) send this kind of logs if they find a logging server. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.6&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.6&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..44dac067 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/logging.dxt?rev=1.6&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,88 @@ +/** + \page log_howto How to log information (for debugging purpose) ? + \author Olivier Cado + \date Updated May 4 2001 + +This document explains how to log some information (into the screen, into a file or to a logging server), e.g. in order to debug your code. + +\section basic_debug Basic usage of the debugging system +The debugging sytem allows to log information at various levels. Include the header file "nel/misc/debug.h". + +The main functionalities are offered by the macros nldebug, nlinfo, nlwarning and also nlerror and nlassert, and by their variant forms (see debug.h). They allow to display strings, with open arguments, using the "printf" syntax. In the default behaviour, the text passed to nldebug is displayed into stdout in NL_DEBUG mode, but not in NL_RELEASE. The logged texts are also written into a file called "log.log" in the working directory. These macros print the strings with an information header. + + Example : + \code + sint32 age = -2; + nldebug( "Toto is %d years old", age ); + if ( age < 0 ) + { + nlerror( "Invalid age for toto : %d", age ); + + // the program will not come here because nlerror throws an exception to exit + } + + STDOUT (logger thread_id file line: debug_string): + DBG 1234 myfile.cpp 10: Toto is -2 years old + ERR 1234 myfile.cpp 13: Invalid age for toto : -2 + Abort + + FILE OUTPUT (date time logger debug_string): + 01/04/11 18:24:50 DBG: Toto is -2 years old + 01/04/11 18:24:50 ERR: Invalid age for toto : -2 + \endcode + +Because NeL allows to create multithreaded programs, these macros use mutual exclusions (mutex) to ensure no data is corrupted and the displayed text not interlaced. + +\section adv_log Advanced usage of the logging system + +You may want to customize the logging system directly, for your own needs. Include "nel/misc/log.h". + +\subsection init_log Initialization +If your program is not a "service" in the NeL terms (i.e. if it is not built on NLNET::IService), +first call createDebug() to create the basic global loggers \e ErrorLog, \e WarningLog, \e InfoLog, \e DebugLog and \e AssertLog (the ones that are used by the nlerror, nlwarning, nlinfo, nldebug and nlassert macros). + +Then, you can attach some displayers to the global loggers (NLMISC::CLog objects). +- NLMISC::CStdDisplayer is for stdout (the console, the VC++ output window...). It is attached by default to all of the five logger objects mentionned above. +- NLMISC::CFileDisplayer is for a file. +- NLMISC::CMsgBoxDisplayer is for a message box. +- NLNET::CNetDisplayer is for a logging server (see CLogService in the nelns documentation). +- You can can create your own displayer, in order to print the logged text onto a new target (for example, see the class CChatDisplayer in Snowballs 0.2) or to customize the filter on the header. + +Example (we assume CNetDisplayer allows to log via the network): + \code + + createDebug(); // automatically done in a "service" + NLNET::CNetDisplayer *nd = new CNetDisplayer(); // the address of the Logging Server is automatically retrieved using the Naming Service + if ( nd->connected() ) // this line is optional: here we don't want the displayer to attempt other connections if the first one failed + { + NLMISC::DebugLog.addDisplayer( nd ); + } + \endcode + + \subsection use_log Logging information + + How to log a string without repeating the header ? Use the methods of NLMISC::CLog. + + Example : + \code + NLMISC::DebugLog.displayNL ( "Dump of Values :" ); + for ( int j=0; j!=height; ++j ) + { + for ( int i=0; i!=width; ++i ) + { + NLMISC::DebugLog.displayRaw( "%d ", Values[j][i] ); + } + NLMISC::DebugLog.displayRawNL( ": line %d", j ); + } + \endcode + +*/ + + \subsection network_transfers Analysing network transfers + + NLNET::NetLog (declared in "nel/net/nel_log.h") is a special logger that allows to send output and input logs to a logging server. + These logs are produced by the network subsystem and have a special syntax so that an analyser can process them and display the transfers + graphically in real-time. + + By default, all services (see NLNET::IService) send this kind of logs if they find a logging server. + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..8ac1952f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,3 @@ +R: +cd \code\nel\doc +doxygen -s nel.dox diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.3&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.3&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..f104fb36 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.3&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,3 @@ +R: +cd \code\nel\doc +doxygen nel.dox diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.6&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.6&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..d698d129 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/make_nel_dox.bat?rev=1.6&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,7 @@ +@echo off +R: +cd \code\nel\doc +del html\*.* /Q +s:\bin\doxygen nel.dox +S:\bin\hhc html\index.hhp +copy html\index.chm s:\doc\nel.chm diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dox?rev=1.6&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dox?rev=1.6&sortby=date new file mode 100644 index 00000000..15bbff6e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dox?rev=1.6&sortby=date @@ -0,0 +1,186 @@ +# Doxyfile 1.2.13-20020210 + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = NeL +PROJECT_NUMBER = +OUTPUT_DIRECTORY = +OUTPUT_LANGUAGE = English +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +INTERNAL_DOCS = NO +STRIP_CODE_COMMENTS = YES +CASE_SENSE_NAMES = YES +SHORT_NAMES = NO +HIDE_SCOPE_NAMES = NO +VERBATIM_HEADERS = YES +SHOW_INCLUDE_FILES = YES +JAVADOC_AUTOBRIEF = YES +INHERIT_DOCS = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 8 +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +ALIASES = +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +OPTIMIZE_OUTPUT_FOR_C = NO +SHOW_USED_FILES = YES +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = YES +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = r:/code/nel/src r:/code/nel/include +FILE_PATTERNS = *.h \ + *.cpp \ + *.dxt +RECURSIVE = YES +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = *.lex.* \ + *.yacc.* +EXAMPLE_PATH = +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = C \ + I \ + P +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = YES +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO +LATEX_OUTPUT = latex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = NO +USE_PDFLATEX = NO +LATEX_BATCHMODE = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- +TAGFILES = R:/code/nelns/doc/server.tag=/code/server/doc/html +GENERATE_TAGFILE = nel.tag +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +TEMPLATE_RELATIONS = YES +HIDE_UNDOC_RELATIONS = YES +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +GRAPHICAL_HIERARCHY = YES +DOT_IMAGE_FORMAT = gif +DOT_PATH = S:\bin\graphviz\bin +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO +CGI_NAME = search.cgi +CGI_URL = +DOC_URL = +DOC_ABSPATH = +BIN_ABSPATH = /usr/local/bin/ +EXT_DOC_PATHS = diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.3&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.3&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..b6a3bd56 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.3&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,13 @@ +/** + * \mainpage NeL + * + * \section intro Introduction + * + * "NeL" stands for Nevrax Library. + * + * NeL is a library. It is designed and maintained by Nevrax. This library contains a framework, + * a 3D engine, an AI engine and a Network engine. + * + * You will find some overviews about features of NeL in the Related Pages. + * + */ diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..c2f931ee --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel.dxt?rev=1.5&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,17 @@ +/** + * \mainpage NeL + * + * \section intro Introduction + * + * \par + * "NeL" stands for Nevrax Library. + * + * \par + * NeL is a set of free software libraries which aim to form a complete toolbox + * of technologies for the development of massively multi-player online role + * playing games. + * + * \par + * You will find some overviews about features of NeL in the Related Pages. + * + */ diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel_samples.dxt?rev=1.3&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel_samples.dxt?rev=1.3&sortby=rev new file mode 100644 index 00000000..091ccf07 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/nel_samples.dxt?rev=1.3&sortby=rev @@ -0,0 +1,135 @@ +/** + +\page nelsamples NeL Samples + +$Id: nel_samples.dxt,v 1.3 2002/04/16 13:54:27 lecroart Exp $ + +\author Olivier Cado, Vianney Lecroart + +\date 06/15/2001 + + +\section samisc NeL Misc Samples + + +Theses samples illustrates the usage of the miscellaneous library. This is the based library used by all other Nevrax libraries. +It contains all usefull class and features that are not specific for one or another library. + +\subsection samisccommand command + +This samples describes how to create commands and execute them using ICommand class. It's a generic system to create and execute +command at run time (it is used in all services, snowballs client and so on). + +\subsection samiscconfigfile configfile + +This samples describes how to use NeL configuration file. (This system is used in all services, snowballs client and so on). + +\subsection samiscdebug debug + +This program shows you how to use basic debug stuffs that are used everywhere in NeL. + +\subsection samisclog log + +This sample uses the log and displayer system that is a generic way to generate output (on screen, file, network and so one). + +\section sanetwork NeL Net Samples + + +Theses samples illustrate the usage of network library + + +\subsection sanetlogin_system login_system + +This examples shows you how to use the login system provided by NeL to connects/check/identify clients. + +\subsection sanetservice service + +This is a very simple service example to describes the architecture to create services. + +\subsection sanetlayer3 net_layer3 + +This project demonstrates the usage of layer 3 (NLNET::CCallbackClient, NLNET::CCallbackServer) and the +service framework (NLNET::IService). It contains three programs: a client, a front-end service and a ping service. + +- The client connects to a front-end server at localhost:37000. +It sends pings and expects pongs (ping replies). +- The front-end server expects pings, and forward them to +the real ping server (known as "PS" in the naming service). +When the ping server sends a pong back, the front-end server forwards it to the client. +- The ping service (PS) expects pings and sends pongs back. + +To run the front-end service and the ping service, ensure +their config files, frontend_service.cfg and ping_service.cfg, +are located in the directory where they are run. These files +state the address of the naming service. + +\subsection sanetlayer4 net_layer4 + +This project demonstrates the usage of layer 4 (NLNET::CNetManager), the +service framework (NLNET::IService), and the connection and disconnection callbacks. +It contains three programs: a client, a front-end service and a ping service. +The functionalities are close to the ones of the previous sample. + +- The client connects to a front-end server at localhost:37000. +It sends pings and expects pongs (ping replies). +- This front-end server expects pings, and forward them to +the real ping server. When the ping server sends a pong back, +the front-end server forwards it to the client. +Even if the connection to the ping server is broken, our +front-end server will keep storing the ping messages and +will forward them when the connection is restored, thanks +to layer 4. +- The ping service (PS) expects pings and sends pongs back. + +To run the front-end service and the ping service, ensure +their config files, frontend_service.cfg and ping_service.cfg, +are located in the directory where they are run. These files +state the address of the naming service. + +\subsection sanetlayer5 net_layer5 + +This project demonstrates the usage of layer 5 (NLNET::CUnifiedNetwork), the +service framework (NLNET::IService), and the connection and disconnection callbacks. +It contains a set of services that communicate between them. +The functionalities are close to the ones of the previous sample but they add some +features like unified callback array, and so on. + +\subsection sanetudp udp + +This project demonstrates the usage of a client/server architecture for +benching an UDP connection. The server listen on TCP port and UDP port +for new incoming client. When a client is connected, it communicates on +the TCP port to set the bench and after it uses the UDP port to bench the +connection. The server log information on text file and send some info on +the client using the TCP connection. + +\subsection sanetclasstransport class_transport + +This project demonstrates the usage of the CTransportClass class. +This class allows services to send easily some class to another service. +It manages different class version (For example, the sender class can have +different variables than the receiver class) + +\section sa3d NeL 3D Samples + + +\e Document \e under \e construction + +\subsection sa3dfont font + +\e Document \e under \e construction + + +\section sapacs NeL PACS Samples + + +\e Document \e under \e construction + + +\section saai NeL AI Samples + + +\e Document \e under \e construction + + +*/
\ No newline at end of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/doc/project.dxt?rev=1.10&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/project.dxt?rev=1.10&sortby=date new file mode 100644 index 00000000..ab6a41ed --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/doc/project.dxt?rev=1.10&sortby=date @@ -0,0 +1,114 @@ +/** + +\page present NeL General Presentation +\author Vincent Archer + +\section introd What is NeL? + +NeL is a complete platform aimed at running massively multi-user +entertainment in a 3D environment over the Internet. + +\section oss Free Software + +NeL is also a Free Software project under the GNU General Public License, +which means all its code is available for everyone to download, examine, +use, modify, and distribute, subject to the usual restrictions attached to +any GPL software. See the attached text for more details if you are not +familiar with the GPL. + +\section dev Development + +NeL is a commercially funded project which is used to create a massively +multiplayer role-playing game in a 3D world. This means that there is a +permanent core of developpers who are paid to work on NeL, build upon it, +and use it. + +The fact that the source code is available doesn't simply mean you can have a +peek at the innards of the platform. Communication works both ways, so you can +also contribute to its development. +Any bug fix, added functionality, optimisation is not only possible, but +welcome, and improvements will be integrated into the reference platform +maintained by Nevrax. + +NeL is currently developped and tested under GNU/Linux and Windows environments. + +\section structure NeL Structure + +The platform is currenty built upon 4 different components. + +\subsection subnel The NeL Library + +The NeL library provides the core functionality required to build a +multi-user platform. It provides everything from 3D representation to AI to +network services. It is the true heart of the project, and something that +makes use of the best available technologies out there. There is a lot of +room for additions in NeL, from 3D stuff to database to networking. + +\subsection subclient The client + +The client uses the NeL library to provide a user interface to a +multiplayer 3D role-playing game environment. The client is a place of +high opportunity to modify, improve or port to different environments. + +\subsection subserver The server + +The server uses the NeL library to provide a multiplayer 3D role-playing +game environment. The term "server" is misleading, as it represents a server +in logical terms, i.e. something that provides a service. Actual game servers +will be referred to as "clusters", since they typically consist of several +networked systems, acting in close cooperation to run the world simulation +for the players. + +A cluster will scale from a single high-end system that runs the server and +client at the same time to a handful of basic GNU/Linux PCs for mid-size worlds +and to large high-end multiprocessor racked systems for professional level +service. + +The server architecture offers lots of opportunities for tweaking, ranging +from the administrative interfaces, the automated monitoring, backups, to +the physics of the universe simulation, improvements in distributed model and +other enhancement directly visible by the users of the system. + +\subsection subdata The game world + +These 3 pieces of software are completed by game data, which describes a +working world and game system. + +Please note that the game data is not software, and therefore not available under the +GPL. + +As the platform would be useless without a game world, a sample game world +data is provided, which is enough to run the gaming plaform, enjoy a minimum +game experience and let the amateur see exactly what he is doing while +working with NeL. + +The game data is produced using a set of tools, notably 3D Studio's Max for all +3D environment and models, painting programs for textures, spreadsheets for +datas, and so on. When possible, conversion tools for these software are +provided to allow people to produce painlessly their own environment and game +experience. + +\section contribs Community + +Beside the working core of NeL developpers, everyone may improve the NeL +platform. There is a supported community for the development of NeL hosted by +Nevrax in the nevrax.org domain. Various tools are available there to participate: + +- A CVS server \c (cvs.nevrax.org) which allows anonymous CVS checkout to stay in + sync with the reference platform. +- A WWW site \c (www.nevrax.org) which allows you to browse documentation, check the + CVS tree in a visual manner, and register for participation in the evolution of + NeL. +- A mailing list \c (nel@nevrax.org), dedicated to the communication between all + people interested in the NeL platform, regardless of their involvment or + amount of contributions. This is an unmoderated, open mailing list. You may + subscribe thru the WWW side, or by mailing directly to \c nel-request@nevrax.org + with \c "subscribe" in the subject. +- A WWW bug tracker that allows you to submit bugs, get notified of their state, + and their eventual resolution. All you need is a valid email address to + register in the bug database. +- A submission address \c (code@nevrax.org) for user-contributed code and patches, + where your code is evaluated, and usually integrated directly in the reference + platform. + + */
\ No newline at end of file diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?content-type=text/plain&rev=1.11&sortby=rev b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?content-type=text/plain&rev=1.11&sortby=rev new file mode 100644 index 00000000..4ad3dd08 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?content-type=text/plain&rev=1.11&sortby=rev @@ -0,0 +1,71 @@ +# +# $Id: Makefile.am,v 1.11 2001/03/30 09:12:58 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d/tmp + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/character + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/tools + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/3d/tmp/*.h` $(includedir)/nel/3d/tmp + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/*.h` $(includedir)/nel/ai/ + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/character/*.h` $(includedir)/nel/ai/character + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/ai/fuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + $(INSTALL_DATA) -m a=r `echo nel/ai/tools/*.h` $(includedir)/nel/ai/tools + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/3d/tmp/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/character/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/ai/tools/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..f7027f96 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.2&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,65 @@ +# +# $Id: Makefile.am,v 1.2 2001/01/08 16:20:41 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/link + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/*.h` $(includedir)/nel/ai + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/aifuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/link/*.h` $(includedir)/nel/ai/link + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/link/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..7dd7c3b0 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,64 @@ +# +# $Id: Makefile.am,v 1.3 2001/01/10 09:52:29 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/link + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/aifuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/link/*.h` $(includedir)/nel/ai/link + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/link/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..09f712c6 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,64 @@ +# +# $Id: Makefile.am,v 1.5 2001/02/06 09:27:05 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/link + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/*.h` $(includedir)/nel/ai/ + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/ai/fuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/link/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.7&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.7&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..9b0f839c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.7&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,67 @@ +# +# $Id: Makefile.am,v 1.7 2001/03/05 18:02:13 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d/tmp + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/link + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/3d/tmp/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/*.h` $(includedir)/nel/ai/ + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/ai/fuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/3d/tmp/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/link/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.9&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.9&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..11ce70de --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/include/Makefile.am?rev=1.9&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,65 @@ +# +# $Id: Makefile.am,v 1.9 2001/03/05 18:16:32 valignat Exp $ +# + +install-exec-local: + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d + $(INSTALL_PROGRAM) -d $(includedir)/nel/3d/tmp + $(INSTALL_PROGRAM) -d $(includedir)/nel/misc + $(INSTALL_PROGRAM) -d $(includedir)/nel/net + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/agent + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/c + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/e + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/fuzzy + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/logic + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/nimat + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/pyserver + $(INSTALL_PROGRAM) -d $(includedir)/nel/ai/script + $(INSTALL_PROGRAM) -d $(includedir)/nel/db + $(INSTALL_PROGRAM) -d $(includedir)/nel/python + $(INSTALL_PROGRAM) -d $(includedir)/nel/sys + $(INSTALL_DATA) -m a=r `echo nel/*.h` $(includedir)/nel + $(INSTALL_DATA) -m a=r `echo nel/3d/*.h` $(includedir)/nel/3d + $(INSTALL_DATA) -m a=r `echo nel/3d/tmp/*.h` $(includedir)/nel/3d/tmp + $(INSTALL_DATA) -m a=r `echo nel/misc/*.h` $(includedir)/nel/misc + $(INSTALL_DATA) -m a=r `echo nel/net/*.h` $(includedir)/nel/net + $(INSTALL_DATA) -m a=r `echo nel/ai/*.h` $(includedir)/nel/ai/ + $(INSTALL_DATA) -m a=r `echo nel/ai/agent/*.h` $(includedir)/nel/ai/agent + $(INSTALL_DATA) -m a=r `echo nel/ai/c/*.h` $(includedir)/nel/ai/c + $(INSTALL_DATA) -m a=r `echo nel/ai/e/*.h` $(includedir)/nel/ai/e + $(INSTALL_DATA) -m a=r `echo nel/ai/fuzzy/*.h` $(includedir)/nel/ai/fuzzy + $(INSTALL_DATA) -m a=r `echo nel/ai/logic/*.h` $(includedir)/nel/ai/logic + $(INSTALL_DATA) -m a=r `echo nel/ai/nimat/*.h` $(includedir)/nel/ai/nimat + $(INSTALL_DATA) -m a=r `echo nel/ai/pyserver/*.h` $(includedir)/nel/ai/pyserver + $(INSTALL_DATA) -m a=r `echo nel/ai/script/*.h` $(includedir)/nel/ai/script + + +uninstall-local: + rm -rf $(includedir)/nel + + +dist-hook: + cp -pr $(srcdir)/nel $(distdir) + rm -rf $(distdir)/CVS \ + $(distdir)/nel/CVS \ + $(distdir)/nel/misc/CVS \ + $(distdir)/nel/net/CVS \ + $(distdir)/nel/3d/CVS \ + $(distdir)/nel/3d/tmp/CVS \ + $(distdir)/nel/ai/CVS \ + $(distdir)/nel/ai/agent/CVS \ + $(distdir)/nel/ai/c/CVS \ + $(distdir)/nel/ai/e/CVS \ + $(distdir)/nel/ai/fuzzy/CVS \ + $(distdir)/nel/ai/logic/CVS \ + $(distdir)/nel/ai/nimat/CVS \ + $(distdir)/nel/ai/pyserver/CVS \ + $(distdir)/nel/ai/script/CVS \ + $(distdir)/nel/db/CVS \ + $(distdir)/nel/python/CVS \ + $(distdir)/nel/sys/CVS + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.1&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..b75bcbe0 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.1&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,171 @@ +#!/bin/sh + +# +# $Id: nel-config.in,v 1.1 2001/05/02 17:11:33 valignat Exp $ +# +# nel-config +# +# Script printing NeL's install library/include paths and some other +# informations like NeL's version +# + +prefix=@prefix@ +exec_prefix=@exec_prefix@ + +lib_dir=@libdir@ +include_dir=@includedir@ + +usage() +{ + cat <<EOF +Usage: nel-config [OPTIONS] [LIBRARIES] +Options: + [--prefix[=DIR]] + [--exec-prefix[=DIR]] + [--version] + [--libs] + [--libtool] + [--cflags] + [--without-3d] + [--without-ai] + [--without-network] +EOF + exit $1 +} + +if test $# -eq 0 +then + usage 1 1>&2 +fi + +while test $# -gt 0 +do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + local_prefix=yes + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + local_prefix=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo @VERSION@ + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + --libtool) + echo_libtool=yes + ;; + --without-3d) + without_3d=yes + ;; + --without-ai) + without_ai=yes + ;; + --without-net|--without-network) + without_net=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$local_prefix" = "yes" +then + if test "$exec_prefix_set" != "yes" + then + exec_prefix=$prefix + fi +fi + +if test "$echo_prefix" = "yes" +then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes" +then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes" +then + cflags="-I$include_dir/" + echo $cflags +fi + +if test "$echo_libs" = "yes" +then + lib_misc="-lnelmisc" + lib_3d="-lnel3d" + lib_ai="-lnelai" + lib_net="-lnelnet" + + libs="$lib_misc" + + if test "$without_3d" != "yes" + then + libs="$libs $lib_3d" + fi + + if test "$without_ai" != "yes" + then + libs="$libs $lib_ai" + fi + + if test "$without_net" != "yes" + then + libs="$libs $lib_net" + fi + + echo -L@libdir@ $libs +fi + +if test "$echo_libtool" = "yes" +then + libtool_misc="$lib_dir/libnelmisc.la" + libtool_3d="$lib_dir/libnel3d.la" + libtool_ai="$lib_dir/libnelai.la" + libtool_net="$lib_dir/libnelnet.la" + + libtool="$libtool_misc" + + if test "$without_3d" != "yes" + then + libtool="$libtool $libtool_3d" + fi + + if test "$without_ai" != "yes" + then + libtool="$libtool $libtool_ai" + fi + + if test "$without_net" != "yes" + then + libtool="$libtool $libtool_net" + fi + + echo $libtool +fi + +# EOF diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..e8a3b2a7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,210 @@ +#!/bin/sh + +# +# $Id: nel-config.in,v 1.2 2001/11/07 16:25:13 valignat Exp $ +# +# nel-config +# +# Script printing NeL's install library/include paths and some other +# informations like NeL's version +# + +prefix=@prefix@ +exec_prefix=@exec_prefix@ + +lib_dir=@libdir@ +include_dir=@includedir@ + +enable_net=@enable_net@ +enable_3d=@enable_3d@ +enable_pacs=@enable_pacs@ +enable_sound=@enable_sound@ +enable_ai=@enable_ai@ + +usage() +{ + cat <<EOF +Usage: nel-config [OPTIONS] [LIBRARIES] +Options: + [--prefix[=DIR]] + [--exec-prefix[=DIR]] + [--version] + [--libs] + [--libtool] + [--cflags] + [--without-network] + [--without-3d] + [--without-pacs] + [--without-sound] + [--without-ai] +EOF + exit $1 +} + +if test $# -eq 0 +then + usage 1 1>&2 +fi + +while test $# -gt 0 +do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + local_prefix=yes + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + local_prefix=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo @VERSION@ + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + --libtool) + echo_libtool=yes + ;; + --without-net|--without-network) + without_net=yes + ;; + --without-3d) + without_3d=yes + ;; + --without-pacs) + without_pacs=yes + ;; + --without-ai) + without_ai=yes + ;; + --without-snd|--without-sound) + without_sound=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$local_prefix" = "yes" +then + if test "$exec_prefix_set" != "yes" + then + exec_prefix=$prefix + fi +fi + +if test "$echo_prefix" = "yes" +then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes" +then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes" +then + cflags="-I$include_dir/" + echo $cflags +fi + +if test "$echo_libs" = "yes" +then + lib_misc="-lnelmisc" + lib_net="-lnelnet" + lib_3d="-lnel3d" + lib_pacs="-lnelpacs" + lib_sound="-lnelsnd" + lib_ai="-lnelai" + + libs="$lib_misc" + + if test "$without_net" != "yes" -a "$enable_net" = "yes" + then + libs="$libs $lib_net" + fi + + if test "$without_3d" != "yes" -a "$enable_3d" = "yes" + then + libs="$libs $lib_3d" + fi + + if test "$without_pacs" != "yes" -a "$enable_pacs" = "yes" + then + libs="$libs $lib_pacs" + fi + + if test "$without_sound" != "yes" -a "$enable_sound" = "yes" + then + libs="$libs $lib_sound" + fi + + if test "$without_ai" != "yes" -a "$enable_ai" = "yes" + then + libs="$libs $lib_ai" + fi + + echo -L@libdir@ $libs +fi + +if test "$echo_libtool" = "yes" +then + libtool_misc="$lib_dir/libnelmisc.la" + libtool_net="$lib_dir/libnelnet.la" + libtool_3d="$lib_dir/libnel3d.la" + libtool_pacs="$lib_dir/libnelpacs.la" + libtool_sound="$lib_dir/libnelsnd.la" + libtool_ai="$lib_dir/libnelai.la" + + libtool="$libtool_misc" + + if test "$without_net" != "yes" + then + libtool="$libtool $libtool_net" + fi + + if test "$without_3d" != "yes" + then + libtool="$libtool $libtool_3d" + fi + + if test "$without_pacs" != "yes" + then + libtool="$libtool $libtool_pacs" + fi + + if test "$without_sound" != "yes" + then + libtool="$libtool $libtool_sound" + fi + + if test "$without_ai" != "yes" + then + libtool="$libtool $libtool_ai" + fi + + echo $libtool +fi + +# EOF + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html new file mode 100644 index 00000000..68cd1e5a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author&only_with_tag=georges_v2/index.html @@ -0,0 +1,220 @@ +#!/bin/sh + +# +# $Id: nel-config.in,v 1.3 2002/03/19 17:42:48 valignat Exp $ +# +# nel-config +# +# Script printing NeL's install library/include paths and some other +# informations like NeL's version +# + +prefix=@prefix@ +exec_prefix=@exec_prefix@ + +lib_dir=@libdir@ +include_dir=@includedir@ + +enable_net=@enable_net@ +enable_3d=@enable_3d@ +enable_pacs=@enable_pacs@ +enable_sound=@enable_sound@ +enable_ai=@enable_ai@ + +usage() +{ + cat <<EOF +Usage: nel-config [OPTIONS] [LIBRARIES] +Options: + [--prefix[=DIR]] + [--exec-prefix[=DIR]] + [--version] + [--libs] + [--libtool] + [--ldflags] + [--cflags] + [--without-network] + [--without-3d] + [--without-pacs] + [--without-sound] + [--without-ai] +EOF + exit $1 +} + +if test $# -eq 0 +then + usage 1 1>&2 +fi + +while test $# -gt 0 +do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + local_prefix=yes + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + local_prefix=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo @VERSION@ + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --ldflags) + echo_ldflags=yes + ;; + --libs) + echo_libs=yes + ;; + --libtool) + echo_libtool=yes + ;; + --without-net|--without-network) + without_net=yes + ;; + --without-3d) + without_3d=yes + ;; + --without-pacs) + without_pacs=yes + ;; + --without-ai) + without_ai=yes + ;; + --without-snd|--without-sound) + without_sound=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$local_prefix" = "yes" +then + if test "$exec_prefix_set" != "yes" + then + exec_prefix=$prefix + fi +fi + +if test "$echo_prefix" = "yes" +then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes" +then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes" +then + cflags="-I$include_dir/" + echo $cflags +fi + +if test "$echo_ldflags" = "yes" +then + ldflags="-L$lib_dir" + echo $ldflags +fi + +if test "$echo_libs" = "yes" +then + lib_misc="-lnelmisc" + lib_net="-lnelnet" + lib_3d="-lnel3d" + lib_pacs="-lnelpacs" + lib_sound="-lnelsnd" + lib_ai="-lnelai" + + libs="$lib_misc" + + if test "$without_net" != "yes" -a "$enable_net" = "yes" + then + libs="$libs $lib_net" + fi + + if test "$without_3d" != "yes" -a "$enable_3d" = "yes" + then + libs="$libs $lib_3d" + fi + + if test "$without_pacs" != "yes" -a "$enable_pacs" = "yes" + then + libs="$libs $lib_pacs" + fi + + if test "$without_sound" != "yes" -a "$enable_sound" = "yes" + then + libs="$libs $lib_sound" + fi + + if test "$without_ai" != "yes" -a "$enable_ai" = "yes" + then + libs="$libs $lib_ai" + fi + + echo -L@libdir@ $libs +fi + +if test "$echo_libtool" = "yes" +then + libtool_misc="$lib_dir/libnelmisc.la" + libtool_net="$lib_dir/libnelnet.la" + libtool_3d="$lib_dir/libnel3d.la" + libtool_pacs="$lib_dir/libnelpacs.la" + libtool_sound="$lib_dir/libnelsnd.la" + libtool_ai="$lib_dir/libnelai.la" + + libtool="$libtool_misc" + + if test "$without_net" != "yes" + then + libtool="$libtool $libtool_net" + fi + + if test "$without_3d" != "yes" + then + libtool="$libtool $libtool_3d" + fi + + if test "$without_pacs" != "yes" + then + libtool="$libtool $libtool_pacs" + fi + + if test "$without_sound" != "yes" + then + libtool="$libtool $libtool_sound" + fi + + if test "$without_ai" != "yes" + then + libtool="$libtool $libtool_ai" + fi + + echo $libtool +fi + +# EOF + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..68cd1e5a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel-config.in?rev=1.3&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,220 @@ +#!/bin/sh + +# +# $Id: nel-config.in,v 1.3 2002/03/19 17:42:48 valignat Exp $ +# +# nel-config +# +# Script printing NeL's install library/include paths and some other +# informations like NeL's version +# + +prefix=@prefix@ +exec_prefix=@exec_prefix@ + +lib_dir=@libdir@ +include_dir=@includedir@ + +enable_net=@enable_net@ +enable_3d=@enable_3d@ +enable_pacs=@enable_pacs@ +enable_sound=@enable_sound@ +enable_ai=@enable_ai@ + +usage() +{ + cat <<EOF +Usage: nel-config [OPTIONS] [LIBRARIES] +Options: + [--prefix[=DIR]] + [--exec-prefix[=DIR]] + [--version] + [--libs] + [--libtool] + [--ldflags] + [--cflags] + [--without-network] + [--without-3d] + [--without-pacs] + [--without-sound] + [--without-ai] +EOF + exit $1 +} + +if test $# -eq 0 +then + usage 1 1>&2 +fi + +while test $# -gt 0 +do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + local_prefix=yes + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + local_prefix=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo @VERSION@ + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --ldflags) + echo_ldflags=yes + ;; + --libs) + echo_libs=yes + ;; + --libtool) + echo_libtool=yes + ;; + --without-net|--without-network) + without_net=yes + ;; + --without-3d) + without_3d=yes + ;; + --without-pacs) + without_pacs=yes + ;; + --without-ai) + without_ai=yes + ;; + --without-snd|--without-sound) + without_sound=yes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$local_prefix" = "yes" +then + if test "$exec_prefix_set" != "yes" + then + exec_prefix=$prefix + fi +fi + +if test "$echo_prefix" = "yes" +then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes" +then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes" +then + cflags="-I$include_dir/" + echo $cflags +fi + +if test "$echo_ldflags" = "yes" +then + ldflags="-L$lib_dir" + echo $ldflags +fi + +if test "$echo_libs" = "yes" +then + lib_misc="-lnelmisc" + lib_net="-lnelnet" + lib_3d="-lnel3d" + lib_pacs="-lnelpacs" + lib_sound="-lnelsnd" + lib_ai="-lnelai" + + libs="$lib_misc" + + if test "$without_net" != "yes" -a "$enable_net" = "yes" + then + libs="$libs $lib_net" + fi + + if test "$without_3d" != "yes" -a "$enable_3d" = "yes" + then + libs="$libs $lib_3d" + fi + + if test "$without_pacs" != "yes" -a "$enable_pacs" = "yes" + then + libs="$libs $lib_pacs" + fi + + if test "$without_sound" != "yes" -a "$enable_sound" = "yes" + then + libs="$libs $lib_sound" + fi + + if test "$without_ai" != "yes" -a "$enable_ai" = "yes" + then + libs="$libs $lib_ai" + fi + + echo -L@libdir@ $libs +fi + +if test "$echo_libtool" = "yes" +then + libtool_misc="$lib_dir/libnelmisc.la" + libtool_net="$lib_dir/libnelnet.la" + libtool_3d="$lib_dir/libnel3d.la" + libtool_pacs="$lib_dir/libnelpacs.la" + libtool_sound="$lib_dir/libnelsnd.la" + libtool_ai="$lib_dir/libnelai.la" + + libtool="$libtool_misc" + + if test "$without_net" != "yes" + then + libtool="$libtool $libtool_net" + fi + + if test "$without_3d" != "yes" + then + libtool="$libtool $libtool_3d" + fi + + if test "$without_pacs" != "yes" + then + libtool="$libtool $libtool_pacs" + fi + + if test "$without_sound" != "yes" + then + libtool="$libtool $libtool_sound" + fi + + if test "$without_ai" != "yes" + then + libtool="$libtool $libtool_ai" + fi + + echo $libtool +fi + +# EOF + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.10&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.10&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..edbfe574 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.10&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,86 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "ia"=.\src\ai.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.11&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.11&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..af7be176 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.11&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,98 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "ia"=.\src\ai.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.12&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.12&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..faed2dba --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.12&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,86 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.13&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.13&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..cad63767 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.13&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,128 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.14&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.14&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..a69ba467 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.14&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,134 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.15&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.15&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..ad6ec46f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.15&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,170 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "nel"=.\SRC\nel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_openal + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_opengl + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency + Begin Project Dependency + Project_Dep_Name net + End Project Dependency + Begin Project Dependency + Project_Dep_Name pacs + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.16&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.16&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..f4a4ee29 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.16&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,182 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "georges"=.\src\georges.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "nel"=.\SRC\nel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_openal + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_opengl + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency + Begin Project Dependency + Project_Dep_Name net + End Project Dependency + Begin Project Dependency + Project_Dep_Name pacs + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.17&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.17&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..d2fbfea2 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.17&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,200 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "georges"=.\src\georges.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ligo"=.\src\ligo.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "nel"=.\SRC\nel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_openal + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_opengl + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency + Begin Project Dependency + Project_Dep_Name net + End Project Dependency + Begin Project Dependency + Project_Dep_Name pacs + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name georges + End Project Dependency + Begin Project Dependency + Project_Dep_Name ligo + End Project Dependency +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..36f04d6c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,212 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "georges"=.\src\georges.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "logic"=.\src\logic.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ligo"=.\src\ligo.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "nel"=.\SRC\nel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_openal + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_opengl + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency + Begin Project Dependency + Project_Dep_Name net + End Project Dependency + Begin Project Dependency + Project_Dep_Name pacs + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name georges + End Project Dependency + Begin Project Dependency + Project_Dep_Name ligo + End Project Dependency +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&sortby=date new file mode 100644 index 00000000..36f04d6c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.18&sortby=date @@ -0,0 +1,212 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_openal"=.\src\sound\driver\openal\driver_openal.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "georges"=.\src\georges.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "logic"=.\src\logic.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ligo"=.\src\ligo.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "nel"=.\SRC\nel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_openal + End Project Dependency + Begin Project Dependency + Project_Dep_Name driver_opengl + End Project Dependency + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency + Begin Project Dependency + Project_Dep_Name net + End Project Dependency + Begin Project Dependency + Project_Dep_Name pacs + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound + End Project Dependency + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency + Begin Project Dependency + Project_Dep_Name georges + End Project Dependency + Begin Project Dependency + Project_Dep_Name ligo + End Project Dependency +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "pacs"=.\src\pacs.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "sound"=.\src\sound.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name sound_lowlevel + End Project Dependency +}}} + +############################################################################### + +Project: "sound_lowlevel"=.\src\sound\driver\sound_lowlevel.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.2&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.2&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..157ecbc4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.2&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,41 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.3&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.3&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..cdb328e3 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.3&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,53 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.4&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.4&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..14f9c52f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.4&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,59 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.5&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.5&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..b8f68814 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.5&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,71 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\driver_opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.6&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.6&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..2a67f3ce --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.6&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,74 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\driver_opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.7&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.7&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..f8493707 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.7&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,74 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.8&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.8&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..7aeb8016 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.8&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,86 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "ai"=.\SRC\ai\ai.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.9&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.9&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..119df8a5 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.dsw?rev=1.9&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,86 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "3d"=.\src\3d.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Project: "driver_opengl"=.\src\3d\driver\opengl\driver_opengl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name 3d + End Project Dependency +}}} + +############################################################################### + +Project: "ia"=.\src\ia.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "misc"=.\src\misc.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "net"=.\src\net.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name misc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..a70ffb60 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,60 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "misc", "src\misc.vcproj", "{9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "src\net.vcproj", "{36E1FA08-D98D-451A-BBD9-F84313B8F902}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "naming_service", "..\nelns\naming_service\naming_service.vcproj", "{049F2F16-66F6-4247-96B6-477E1EB946A0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "src\sound.vcproj", "{81DDC7ED-AD35-4127-AC4B-A267DB17820A}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = DebugFast + ConfigName.2 = Release + ConfigName.3 = ReleaseDebug + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.0 = {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D} + {049F2F16-66F6-4247-96B6-477E1EB946A0}.0 = {36E1FA08-D98D-451A-BBD9-F84313B8F902} + {049F2F16-66F6-4247-96B6-477E1EB946A0}.1 = {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D} + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Debug.ActiveCfg = Debug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Debug.Build.0 = Debug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.DebugFast.ActiveCfg = DebugFast|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.DebugFast.Build.0 = DebugFast|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Release.ActiveCfg = Release|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Release.Build.0 = Release|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Debug.ActiveCfg = Debug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Debug.Build.0 = Debug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.DebugFast.ActiveCfg = DebugFast|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.DebugFast.Build.0 = DebugFast|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Release.ActiveCfg = Release|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Release.Build.0 = Release|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Debug.ActiveCfg = Debug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Debug.Build.0 = Debug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.DebugFast.ActiveCfg = DebugFast|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.DebugFast.Build.0 = DebugFast|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Release.ActiveCfg = Release|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Release.Build.0 = Release|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Debug.ActiveCfg = Debug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Debug.Build.0 = Debug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.DebugFast.ActiveCfg = DebugFast|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.DebugFast.Build.0 = DebugFast|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Release.ActiveCfg = Release|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Release.Build.0 = Release|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&sortby=author b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&sortby=author new file mode 100644 index 00000000..a70ffb60 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.1&sortby=author @@ -0,0 +1,60 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "misc", "src\misc.vcproj", "{9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "src\net.vcproj", "{36E1FA08-D98D-451A-BBD9-F84313B8F902}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "naming_service", "..\nelns\naming_service\naming_service.vcproj", "{049F2F16-66F6-4247-96B6-477E1EB946A0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "src\sound.vcproj", "{81DDC7ED-AD35-4127-AC4B-A267DB17820A}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = DebugFast + ConfigName.2 = Release + ConfigName.3 = ReleaseDebug + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.0 = {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D} + {049F2F16-66F6-4247-96B6-477E1EB946A0}.0 = {36E1FA08-D98D-451A-BBD9-F84313B8F902} + {049F2F16-66F6-4247-96B6-477E1EB946A0}.1 = {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D} + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Debug.ActiveCfg = Debug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Debug.Build.0 = Debug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.DebugFast.ActiveCfg = DebugFast|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.DebugFast.Build.0 = DebugFast|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Release.ActiveCfg = Release|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.Release.Build.0 = Release|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {9CD565BB-DABD-43A8-BBC5-BC2C0AE9609D}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Debug.ActiveCfg = Debug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Debug.Build.0 = Debug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.DebugFast.ActiveCfg = DebugFast|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.DebugFast.Build.0 = DebugFast|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Release.ActiveCfg = Release|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.Release.Build.0 = Release|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {36E1FA08-D98D-451A-BBD9-F84313B8F902}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Debug.ActiveCfg = Debug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Debug.Build.0 = Debug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.DebugFast.ActiveCfg = DebugFast|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.DebugFast.Build.0 = DebugFast|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Release.ActiveCfg = Release|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.Release.Build.0 = Release|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {049F2F16-66F6-4247-96B6-477E1EB946A0}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Debug.ActiveCfg = Debug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Debug.Build.0 = Debug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.DebugFast.ActiveCfg = DebugFast|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.DebugFast.Build.0 = DebugFast|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Release.ActiveCfg = Release|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.Release.Build.0 = Release|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {81DDC7ED-AD35-4127-AC4B-A267DB17820A}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..9e26b15a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,129 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3d", "src\3d.vcproj", "{A76FD71B-4345-4D93-B3B9-30F960E6829F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "driver_openal", "src\sound\driver\openal\driver_openal.vcproj", "{F247F6C8-3391-4754-9BAA-371D6BE5A0C0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "driver_opengl", "src\3d\driver\opengl\driver_opengl.vcproj", "{4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "georges", "src\georges.vcproj", "{19502567-F402-4742-9539-A534898A7849}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logic", "src\logic.vcproj", "{2A913EEE-9244-4894-AB5A-881287F43F05}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ligo", "src\ligo.vcproj", "{D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "misc", "src\misc.vcproj", "{EF44EC28-8705-445E-B7FA-326F78207A85}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "src\net.vcproj", "{CAE6602C-A566-42AC-ADA3-2A8F120D572D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pacs", "src\pacs.vcproj", "{B921D2BA-A92E-454C-8364-4042D5DC53E6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "src\sound.vcproj", "{1AB13008-778E-49C6-9DCB-E5606FBF0A12}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound_lowlevel", "src\sound\driver\sound_lowlevel.vcproj", "{FA063B9D-69A3-48CD-8E36-91841DC12BE5}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = DebugFast + ConfigName.2 = Release + ConfigName.3 = ReleaseDebug + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.0 = {A76FD71B-4345-4D93-B3B9-30F960E6829F} + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.1 = {EF44EC28-8705-445E-B7FA-326F78207A85} + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Debug.ActiveCfg = Debug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Debug.Build.0 = Debug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.DebugFast.ActiveCfg = DebugFast|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.DebugFast.Build.0 = DebugFast|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Release.ActiveCfg = Release|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Release.Build.0 = Release|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Debug.ActiveCfg = Debug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Debug.Build.0 = Debug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.DebugFast.ActiveCfg = DebugFast|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.DebugFast.Build.0 = DebugFast|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Release.ActiveCfg = Release|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Release.Build.0 = Release|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Debug.ActiveCfg = Debug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Debug.Build.0 = Debug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.DebugFast.ActiveCfg = DebugFast|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.DebugFast.Build.0 = DebugFast|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Release.ActiveCfg = Release|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Release.Build.0 = Release|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {19502567-F402-4742-9539-A534898A7849}.Debug.ActiveCfg = Debug|Win32 + {19502567-F402-4742-9539-A534898A7849}.Debug.Build.0 = Debug|Win32 + {19502567-F402-4742-9539-A534898A7849}.DebugFast.ActiveCfg = DebugFast|Win32 + {19502567-F402-4742-9539-A534898A7849}.DebugFast.Build.0 = DebugFast|Win32 + {19502567-F402-4742-9539-A534898A7849}.Release.ActiveCfg = Release|Win32 + {19502567-F402-4742-9539-A534898A7849}.Release.Build.0 = Release|Win32 + {19502567-F402-4742-9539-A534898A7849}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {19502567-F402-4742-9539-A534898A7849}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Debug.ActiveCfg = Debug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Debug.Build.0 = Debug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.DebugFast.ActiveCfg = DebugFast|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.DebugFast.Build.0 = DebugFast|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Release.ActiveCfg = Release|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Release.Build.0 = Release|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Debug.ActiveCfg = Debug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Debug.Build.0 = Debug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.DebugFast.ActiveCfg = DebugFast|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.DebugFast.Build.0 = DebugFast|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Release.ActiveCfg = Release|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Release.Build.0 = Release|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Debug.ActiveCfg = Debug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Debug.Build.0 = Debug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.DebugFast.ActiveCfg = DebugFast|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.DebugFast.Build.0 = DebugFast|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Release.ActiveCfg = Release|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Release.Build.0 = Release|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Debug.ActiveCfg = Debug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Debug.Build.0 = Debug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.DebugFast.ActiveCfg = DebugFast|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.DebugFast.Build.0 = DebugFast|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Release.ActiveCfg = Release|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Release.Build.0 = Release|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Debug.ActiveCfg = Debug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Debug.Build.0 = Debug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.DebugFast.ActiveCfg = DebugFast|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.DebugFast.Build.0 = DebugFast|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Release.ActiveCfg = Release|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Release.Build.0 = Release|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Debug.ActiveCfg = Debug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Debug.Build.0 = Debug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.DebugFast.ActiveCfg = DebugFast|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.DebugFast.Build.0 = DebugFast|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Release.ActiveCfg = Release|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Release.Build.0 = Release|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Debug.ActiveCfg = Debug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Debug.Build.0 = Debug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.DebugFast.ActiveCfg = DebugFast|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.DebugFast.Build.0 = DebugFast|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Release.ActiveCfg = Release|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Release.Build.0 = Release|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&sortby=date b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&sortby=date new file mode 100644 index 00000000..9e26b15a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/nel.sln?rev=1.2&sortby=date @@ -0,0 +1,129 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3d", "src\3d.vcproj", "{A76FD71B-4345-4D93-B3B9-30F960E6829F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "driver_openal", "src\sound\driver\openal\driver_openal.vcproj", "{F247F6C8-3391-4754-9BAA-371D6BE5A0C0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "driver_opengl", "src\3d\driver\opengl\driver_opengl.vcproj", "{4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "georges", "src\georges.vcproj", "{19502567-F402-4742-9539-A534898A7849}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logic", "src\logic.vcproj", "{2A913EEE-9244-4894-AB5A-881287F43F05}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ligo", "src\ligo.vcproj", "{D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "misc", "src\misc.vcproj", "{EF44EC28-8705-445E-B7FA-326F78207A85}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "src\net.vcproj", "{CAE6602C-A566-42AC-ADA3-2A8F120D572D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pacs", "src\pacs.vcproj", "{B921D2BA-A92E-454C-8364-4042D5DC53E6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "src\sound.vcproj", "{1AB13008-778E-49C6-9DCB-E5606FBF0A12}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound_lowlevel", "src\sound\driver\sound_lowlevel.vcproj", "{FA063B9D-69A3-48CD-8E36-91841DC12BE5}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = DebugFast + ConfigName.2 = Release + ConfigName.3 = ReleaseDebug + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.0 = {A76FD71B-4345-4D93-B3B9-30F960E6829F} + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.1 = {EF44EC28-8705-445E-B7FA-326F78207A85} + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Debug.ActiveCfg = Debug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Debug.Build.0 = Debug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.DebugFast.ActiveCfg = DebugFast|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.DebugFast.Build.0 = DebugFast|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Release.ActiveCfg = Release|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.Release.Build.0 = Release|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {A76FD71B-4345-4D93-B3B9-30F960E6829F}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Debug.ActiveCfg = Debug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Debug.Build.0 = Debug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.DebugFast.ActiveCfg = DebugFast|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.DebugFast.Build.0 = DebugFast|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Release.ActiveCfg = Release|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.Release.Build.0 = Release|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {F247F6C8-3391-4754-9BAA-371D6BE5A0C0}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Debug.ActiveCfg = Debug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Debug.Build.0 = Debug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.DebugFast.ActiveCfg = DebugFast|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.DebugFast.Build.0 = DebugFast|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Release.ActiveCfg = Release|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.Release.Build.0 = Release|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {4B74AEC8-2C6D-468C-B14D-34CA8FD46DB1}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {19502567-F402-4742-9539-A534898A7849}.Debug.ActiveCfg = Debug|Win32 + {19502567-F402-4742-9539-A534898A7849}.Debug.Build.0 = Debug|Win32 + {19502567-F402-4742-9539-A534898A7849}.DebugFast.ActiveCfg = DebugFast|Win32 + {19502567-F402-4742-9539-A534898A7849}.DebugFast.Build.0 = DebugFast|Win32 + {19502567-F402-4742-9539-A534898A7849}.Release.ActiveCfg = Release|Win32 + {19502567-F402-4742-9539-A534898A7849}.Release.Build.0 = Release|Win32 + {19502567-F402-4742-9539-A534898A7849}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {19502567-F402-4742-9539-A534898A7849}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Debug.ActiveCfg = Debug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Debug.Build.0 = Debug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.DebugFast.ActiveCfg = DebugFast|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.DebugFast.Build.0 = DebugFast|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Release.ActiveCfg = Release|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.Release.Build.0 = Release|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {2A913EEE-9244-4894-AB5A-881287F43F05}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Debug.ActiveCfg = Debug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Debug.Build.0 = Debug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.DebugFast.ActiveCfg = DebugFast|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.DebugFast.Build.0 = DebugFast|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Release.ActiveCfg = Release|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.Release.Build.0 = Release|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {D4DC4271-DE09-4E54-BDF8-BA9E617F53A3}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Debug.ActiveCfg = Debug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Debug.Build.0 = Debug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.DebugFast.ActiveCfg = DebugFast|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.DebugFast.Build.0 = DebugFast|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Release.ActiveCfg = Release|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.Release.Build.0 = Release|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {EF44EC28-8705-445E-B7FA-326F78207A85}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Debug.ActiveCfg = Debug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Debug.Build.0 = Debug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.DebugFast.ActiveCfg = DebugFast|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.DebugFast.Build.0 = DebugFast|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Release.ActiveCfg = Release|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.Release.Build.0 = Release|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {CAE6602C-A566-42AC-ADA3-2A8F120D572D}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Debug.ActiveCfg = Debug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Debug.Build.0 = Debug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.DebugFast.ActiveCfg = DebugFast|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.DebugFast.Build.0 = DebugFast|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Release.ActiveCfg = Release|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.Release.Build.0 = Release|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {B921D2BA-A92E-454C-8364-4042D5DC53E6}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Debug.ActiveCfg = Debug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Debug.Build.0 = Debug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.DebugFast.ActiveCfg = DebugFast|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.DebugFast.Build.0 = DebugFast|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Release.ActiveCfg = Release|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.Release.Build.0 = Release|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {1AB13008-778E-49C6-9DCB-E5606FBF0A12}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Debug.ActiveCfg = Debug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Debug.Build.0 = Debug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.DebugFast.ActiveCfg = DebugFast|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.DebugFast.Build.0 = DebugFast|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Release.ActiveCfg = Release|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.Release.Build.0 = Release|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.ReleaseDebug.ActiveCfg = ReleaseDebug|Win32 + {FA063B9D-69A3-48CD-8E36-91841DC12BE5}.ReleaseDebug.Build.0 = ReleaseDebug|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/samples/Jamfile?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/samples/Jamfile?rev=1.1&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..4b2c7d9a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/samples/Jamfile?rev=1.1&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,8 @@ +# FreeType 2 src Jamfile (c) 2001 David Turner +# + +SubDir NEL_TOP samples ; + +SubInclude NEL_TOP samples service ; + +# end of src Jamfile diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/3d.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/3d.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..01186064 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/3d.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,2000 @@ +<?xml version="1.0" encoding = "Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.00" + Name="3d" + SccProjectName="" + SccLocalPath=""> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Release|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/Zm200 " + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="DebugFast|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/Zm200 " + Optimization="0" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,_DEBUG,NL_DEBUG_FAST" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="Debug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/Zm200 " + Optimization="0" + PreprocessorDefinitions="_LIB,__STL_DEBUG,WIN32,_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="ReleaseDebug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/Zm200 " + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG,NL_RELEASE_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + </Configurations> + <Files> + <Filter + Name="Traversals" + Filter=""> + <File + RelativePath=".\3d\anim_detail_trav.cpp"> + </File> + <File + RelativePath=".\3d\anim_detail_trav.h"> + </File> + <File + RelativePath=".\3d\clip_trav.cpp"> + </File> + <File + RelativePath=".\3d\clip_trav.h"> + </File> + <File + RelativePath=".\3d\hrc_trav.cpp"> + </File> + <File + RelativePath=".\3d\hrc_trav.h"> + </File> + <File + RelativePath=".\3d\light_trav.cpp"> + </File> + <File + RelativePath=".\3d\light_trav.h"> + </File> + <File + RelativePath=".\3d\load_balancing_trav.cpp"> + </File> + <File + RelativePath=".\3d\load_balancing_trav.h"> + </File> + <File + RelativePath=".\3d\render_trav.cpp"> + </File> + <File + RelativePath=".\3d\render_trav.h"> + </File> + <File + RelativePath=".\3d\trav_scene.h"> + </File> + </Filter> + <Filter + Name="Models" + Filter=""> + <File + RelativePath=".\3d\camera.cpp"> + </File> + <File + RelativePath=".\3d\camera.h"> + </File> + <File + RelativePath=".\3d\coarse_mesh_manager.cpp"> + </File> + <File + RelativePath=".\3d\coarse_mesh_manager.h"> + </File> + <File + RelativePath=".\3d\flare_model.cpp"> + </File> + <File + RelativePath=".\3d\flare_model.h"> + </File> + <File + RelativePath=".\3d\landscape_model.cpp"> + </File> + <File + RelativePath=".\3d\landscape_model.h"> + </File> + <File + RelativePath=".\3d\mesh_base_instance.cpp"> + </File> + <File + RelativePath=".\3d\mesh_base_instance.h"> + </File> + <File + RelativePath=".\3d\mesh_instance.cpp"> + </File> + <File + RelativePath=".\3d\mesh_instance.h"> + </File> + <File + RelativePath=".\3d\mesh_mrm_instance.cpp"> + </File> + <File + RelativePath=".\3d\mesh_mrm_instance.h"> + </File> + <File + RelativePath=".\3d\mesh_multi_lod_instance.cpp"> + </File> + <File + RelativePath=".\3d\mesh_multi_lod_instance.h"> + </File> + <File + RelativePath=".\3d\particle_system_model.cpp"> + </File> + <File + RelativePath=".\3d\particle_system_model.h"> + </File> + <File + RelativePath=".\3d\point_light_model.cpp"> + </File> + <File + RelativePath=".\3d\point_light_model.h"> + </File> + <File + RelativePath=".\3d\root_model.cpp"> + </File> + <File + RelativePath=".\3d\root_model.h"> + </File> + <File + RelativePath=".\3d\skeleton_model.cpp"> + </File> + <File + RelativePath=".\3d\skeleton_model.h"> + </File> + <File + RelativePath=".\3d\skip_model.cpp"> + </File> + <File + RelativePath=".\3d\skip_model.h"> + </File> + <File + RelativePath=".\3d\transform.cpp"> + </File> + <File + RelativePath=".\3d\transform.h"> + </File> + <File + RelativePath=".\3d\transform_shape.cpp"> + </File> + <File + RelativePath=".\3d\transform_shape.h"> + </File> + <File + RelativePath=".\3d\water_model.cpp"> + </File> + <File + RelativePath=".\3d\water_model.h"> + </File> + </Filter> + <Filter + Name="Landscape" + Filter=""> + <File + RelativePath=".\3d\bezier_patch.cpp"> + </File> + <File + RelativePath=".\3d\bezier_patch.h"> + </File> + <File + RelativePath=".\3d\landscape.cpp"> + </File> + <File + RelativePath=".\3d\landscape.h"> + </File> + <File + RelativePath=".\3d\landscape_def.cpp"> + </File> + <File + RelativePath=".\3d\landscape_def.h"> + </File> + <File + RelativePath=".\3d\landscape_face_vector_manager.cpp"> + </File> + <File + RelativePath=".\3d\landscape_face_vector_manager.h"> + </File> + <File + RelativePath=".\3d\landscape_profile.cpp"> + </File> + <File + RelativePath=".\3d\landscape_profile.h"> + </File> + <File + RelativePath=".\3d\landscape_vegetable_block.cpp"> + </File> + <File + RelativePath=".\3d\landscape_vegetable_block.h"> + </File> + <File + RelativePath=".\3d\landscapevb_allocator.cpp"> + </File> + <File + RelativePath=".\3d\landscapevb_allocator.h"> + </File> + <File + RelativePath=".\3d\landscapevb_info.cpp"> + </File> + <File + RelativePath=".\3d\landscapevb_info.h"> + </File> + <File + RelativePath=".\3d\patch.cpp"> + </File> + <File + RelativePath=".\3d\patch.h"> + </File> + <File + RelativePath=".\3d\patch_lightmap.cpp"> + </File> + <File + RelativePath=".\3d\patch_noise.cpp"> + </File> + <File + RelativePath=".\3d\patch_rdr_pass.cpp"> + </File> + <File + RelativePath=".\3d\patch_rdr_pass.h"> + </File> + <File + RelativePath=".\3d\patch_render.cpp"> + </File> + <File + RelativePath=".\3d\patch_vegetable.cpp"> + </File> + <File + RelativePath=".\3d\patchuv_locator.cpp"> + </File> + <File + RelativePath=".\3d\patchuv_locator.h"> + </File> + <File + RelativePath=".\3d\tess_block.cpp"> + </File> + <File + RelativePath=".\3d\tess_block.h"> + </File> + <File + RelativePath=".\3d\tess_face_priority_list.cpp"> + </File> + <File + RelativePath=".\3d\tess_face_priority_list.h"> + </File> + <File + RelativePath=".\3d\tess_list.cpp"> + </File> + <File + RelativePath=".\3d\tess_list.h"> + </File> + <File + RelativePath=".\3d\tessellation.cpp"> + </File> + <File + RelativePath=".\3d\tessellation.h"> + </File> + <File + RelativePath=".\3d\texture_far.cpp"> + </File> + <File + RelativePath=".\3d\texture_far.h"> + </File> + <File + RelativePath=".\3d\texture_near.cpp"> + </File> + <File + RelativePath=".\3d\texture_near.h"> + </File> + <File + RelativePath=".\3d\tile_color.cpp"> + </File> + <File + RelativePath=".\3d\tile_color.h"> + </File> + <File + RelativePath=".\3d\tile_element.cpp"> + </File> + <File + RelativePath=".\3d\tile_element.h"> + </File> + <File + RelativePath=".\3d\tile_light_influence.cpp"> + </File> + <File + RelativePath=".\3d\tile_light_influence.h"> + </File> + <File + RelativePath=".\3d\tile_lumel.cpp"> + </File> + <File + RelativePath=".\3d\tile_lumel.h"> + </File> + <File + RelativePath=".\3d\zone.cpp"> + </File> + <File + RelativePath=".\3d\zone.h"> + </File> + <Filter + Name="ZoneManager" + Filter=""> + <File + RelativePath=".\3d\zone_manager.cpp"> + </File> + <File + RelativePath=".\3d\zone_manager.h"> + </File> + <File + RelativePath=".\3d\zone_search.cpp"> + </File> + <File + RelativePath=".\3d\zone_search.h"> + </File> + </Filter> + <Filter + Name="Tools" + Filter=""> + <File + RelativePath=".\3d\instance_lighter.cpp"> + </File> + <File + RelativePath=".\3d\instance_lighter.h"> + </File> + <File + RelativePath=".\3d\zone_corner_smoother.cpp"> + </File> + <File + RelativePath=".\3d\zone_corner_smoother.h"> + </File> + <File + RelativePath=".\3d\zone_lighter.cpp"> + </File> + <File + RelativePath=".\3d\zone_lighter.h"> + </File> + <File + RelativePath=".\3d\zone_smoother.cpp"> + </File> + <File + RelativePath=".\3d\zone_smoother.h"> + </File> + <File + RelativePath=".\3d\zone_tgt_smoother.cpp"> + </File> + <File + RelativePath=".\3d\zone_tgt_smoother.h"> + </File> + </Filter> + </Filter> + <Filter + Name="Driver" + Filter=""> + <File + RelativePath=".\3d\driver.cpp"> + </File> + <File + RelativePath=".\3d\driver.h"> + </File> + <File + RelativePath=".\3d\driver_material_inline.h"> + </File> + <File + RelativePath=".\3d\dru.cpp"> + </File> + <File + RelativePath=".\3d\dru.h"> + </File> + <File + RelativePath=".\3d\light.cpp"> + </File> + <File + RelativePath=".\3d\light.h"> + </File> + <File + RelativePath=".\3d\material.cpp"> + </File> + <File + RelativePath=".\3d\material.h"> + </File> + <File + RelativePath=".\3d\primitive_block.cpp"> + </File> + <File + RelativePath=".\3d\primitive_block.h"> + </File> + <File + RelativePath=".\3d\shader.cpp"> + </File> + <File + RelativePath=".\3d\shader.h"> + </File> + <File + RelativePath=".\3d\texture.cpp"> + </File> + <File + RelativePath=".\3d\texture.h"> + </File> + <File + RelativePath=".\3d\vertex_buffer.cpp"> + </File> + <File + RelativePath=".\3d\vertex_buffer.h"> + </File> + <File + RelativePath=".\3d\vertex_buffer_hard.cpp"> + </File> + <File + RelativePath=".\3d\vertex_buffer_hard.h"> + </File> + <File + RelativePath=".\3d\vertex_program.cpp"> + </File> + <File + RelativePath=".\3d\vertex_program.h"> + </File> + </Filter> + <Filter + Name="Font" + Filter=""> + <File + RelativePath=".\3d\computed_string.cpp"> + </File> + <File + RelativePath=".\3d\computed_string.h"> + </File> + <File + RelativePath=".\3d\font_generator.cpp"> + </File> + <File + RelativePath=".\3d\font_generator.h"> + </File> + <File + RelativePath=".\3d\font_manager.cpp"> + </File> + <File + RelativePath=".\3d\font_manager.h"> + </File> + <File + RelativePath=".\3d\text_context.cpp"> + </File> + <File + RelativePath=".\3d\text_context.h"> + </File> + </Filter> + <Filter + Name="Container" + Filter=""> + <File + RelativePath=".\3d\bsp_tree.h"> + </File> + <File + RelativePath=".\3d\cube_grid.cpp"> + </File> + <File + RelativePath=".\3d\cube_grid.h"> + </File> + <File + RelativePath=".\3d\layered_ordering_table.h"> + </File> + <File + RelativePath=".\3d\ordering_table.h"> + </File> + <File + RelativePath=".\3d\ptr_set.cpp"> + </File> + <File + RelativePath=".\3d\ptr_set.h"> + </File> + <File + RelativePath=".\3d\quad_grid.h"> + </File> + <File + RelativePath=".\3d\static_quad_grid.cpp"> + </File> + <File + RelativePath=".\3d\static_quad_grid.h"> + </File> + </Filter> + <Filter + Name="Tiles" + Filter=""> + <File + RelativePath=".\3d\tile_bank.cpp"> + </File> + <File + RelativePath=".\3d\tile_bank.h"> + </File> + <File + RelativePath=".\3d\tile_far_bank.cpp"> + </File> + <File + RelativePath=".\3d\tile_far_bank.h"> + </File> + <File + RelativePath=".\3d\tile_noise_map.cpp"> + </File> + <File + RelativePath=".\3d\tile_noise_map.h"> + </File> + <File + RelativePath=".\3d\tile_vegetable_desc.cpp"> + </File> + <File + RelativePath=".\3d\tile_vegetable_desc.h"> + </File> + </Filter> + <Filter + Name="Shapes" + Filter=""> + <File + RelativePath=".\3d\flare_shape.cpp"> + </File> + <File + RelativePath=".\3d\flare_shape.h"> + </File> + <File + RelativePath=".\3d\mesh.cpp"> + </File> + <File + RelativePath=".\3d\mesh.h"> + </File> + <File + RelativePath=".\3d\mesh_base.cpp"> + </File> + <File + RelativePath=".\3d\mesh_base.h"> + </File> + <File + RelativePath=".\3d\mesh_geom.cpp"> + </File> + <File + RelativePath=".\3d\mesh_geom.h"> + </File> + <File + RelativePath=".\3d\mesh_morpher.cpp"> + </File> + <File + RelativePath=".\3d\mesh_morpher.h"> + </File> + <File + RelativePath=".\3d\mesh_mrm.cpp"> + </File> + <File + RelativePath=".\3d\mesh_mrm.h"> + </File> + <File + RelativePath=".\3d\mesh_mrm_skin.cpp"> + </File> + <File + RelativePath=".\3d\mesh_mrm_skin_template.cpp"> + <FileConfiguration + Name="Release|Win32" + ExcludedFromBuild="TRUE"> + <Tool + Name="VCCLCompilerTool"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32" + ExcludedFromBuild="TRUE"> + <Tool + Name="VCCLCompilerTool"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32" + ExcludedFromBuild="TRUE"> + <Tool + Name="VCCLCompilerTool"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32" + ExcludedFromBuild="TRUE"> + <Tool + Name="VCCLCompilerTool"/> + </FileConfiguration> + </File> + <File + RelativePath=".\3d\mesh_multi_lod.cpp"> + </File> + <File + RelativePath=".\3d\mesh_multi_lod.h"> + </File> + <File + RelativePath=".\3d\mesh_vertex_program.cpp"> + </File> + <File + RelativePath=".\3d\mesh_vertex_program.h"> + </File> + <File + RelativePath=".\3d\meshvp_per_pixel_light.cpp"> + </File> + <File + RelativePath=".\3d\meshvp_per_pixel_light.h"> + </File> + <File + RelativePath=".\3d\meshvp_wind_tree.cpp"> + </File> + <File + RelativePath=".\3d\meshvp_wind_tree.h"> + </File> + <File + RelativePath=".\3d\particle_system_shape.cpp"> + </File> + <File + RelativePath=".\3d\particle_system_shape.h"> + </File> + <File + RelativePath=".\3d\shape.cpp"> + </File> + <File + RelativePath=".\3d\shape.h"> + </File> + <File + RelativePath=".\3d\shape_bank.cpp"> + </File> + <File + RelativePath=".\3d\shape_bank.h"> + </File> + <File + RelativePath=".\3d\skeleton_shape.cpp"> + </File> + <File + RelativePath=".\3d\skeleton_shape.h"> + </File> + <File + RelativePath=".\3d\tangent_space_build.cpp"> + </File> + <File + RelativePath=".\3d\tangent_space_build.h"> + </File> + <File + RelativePath=".\3d\water_shape.cpp"> + </File> + <File + RelativePath=".\3d\water_shape.h"> + </File> + </Filter> + <Filter + Name="Textures" + Filter=""> + <File + RelativePath=".\3d\cube_map_builder.cpp"> + </File> + <File + RelativePath=".\3d\cube_map_builder.h"> + </File> + <File + RelativePath=".\3d\texture_blank.cpp"> + </File> + <File + RelativePath=".\3d\texture_blank.h"> + </File> + <File + RelativePath=".\3d\texture_blend.cpp"> + </File> + <File + RelativePath=".\3d\texture_blend.h"> + </File> + <File + RelativePath=".\3d\texture_bump.cpp"> + </File> + <File + RelativePath=".\3d\texture_bump.h"> + </File> + <File + RelativePath=".\3d\texture_cube.cpp"> + </File> + <File + RelativePath=".\3d\texture_cube.h"> + </File> + <File + RelativePath=".\3d\texture_file.cpp"> + </File> + <File + RelativePath=".\3d\texture_file.h"> + </File> + <File + RelativePath=".\3d\texture_font.cpp"> + </File> + <File + RelativePath=".\3d\texture_font.h"> + </File> + <File + RelativePath=".\3d\texture_grouped.cpp"> + </File> + <File + RelativePath=".\3d\texture_grouped.h"> + </File> + <File + RelativePath=".\3d\texture_mem.cpp"> + </File> + <File + RelativePath=".\3d\texture_mem.h"> + </File> + <File + RelativePath=".\3d\texture_multi_file.cpp"> + </File> + <File + RelativePath=".\3d\texture_multi_file.h"> + </File> + </Filter> + <Filter + Name="Mrm" + Filter=""> + <File + RelativePath=".\3d\mrm_builder.cpp"> + </File> + <File + RelativePath=".\3d\mrm_builder.h"> + </File> + <File + RelativePath=".\3d\mrm_internal.cpp"> + </File> + <File + RelativePath=".\3d\mrm_internal.h"> + </File> + <File + RelativePath=".\3d\mrm_mesh.cpp"> + </File> + <File + RelativePath=".\3d\mrm_mesh.h"> + </File> + <File + RelativePath=".\3d\mrm_parameters.cpp"> + </File> + <File + RelativePath=".\3d\mrm_parameters.h"> + </File> + </Filter> + <Filter + Name="Animation" + Filter=""> + <File + RelativePath=".\3d\animatable.cpp"> + </File> + <File + RelativePath=".\3d\animatable.h"> + </File> + <File + RelativePath=".\3d\animated_lightmap.cpp"> + </File> + <File + RelativePath=".\3d\animated_lightmap.h"> + </File> + <File + RelativePath=".\3d\animated_material.cpp"> + </File> + <File + RelativePath=".\3d\animated_material.h"> + </File> + <File + RelativePath=".\3d\animated_morph.cpp"> + </File> + <File + RelativePath=".\3d\animated_morph.h"> + </File> + <File + RelativePath=".\3d\animated_value.cpp"> + </File> + <File + RelativePath=".\3d\animated_value.h"> + </File> + <File + RelativePath=".\3d\animation.cpp"> + </File> + <File + RelativePath=".\3d\animation.h"> + </File> + <File + RelativePath=".\3d\animation_playlist.cpp"> + </File> + <File + RelativePath=".\3d\animation_playlist.h"> + </File> + <File + RelativePath=".\3d\animation_set.cpp"> + </File> + <File + RelativePath=".\3d\animation_set.h"> + </File> + <File + RelativePath=".\3d\animation_time.cpp"> + </File> + <File + RelativePath=".\3d\bone.cpp"> + </File> + <File + RelativePath=".\3d\bone.h"> + </File> + <File + RelativePath=".\3d\channel_mixer.cpp"> + </File> + <File + RelativePath=".\3d\channel_mixer.h"> + </File> + <File + RelativePath=".\3d\key.cpp"> + </File> + <File + RelativePath=".\3d\key.h"> + </File> + <File + RelativePath=".\3d\play_list_manager.cpp"> + </File> + <File + RelativePath=".\3d\play_list_manager.h"> + </File> + <File + RelativePath=".\3d\skeleton_weight.cpp"> + </File> + <File + RelativePath=".\3d\skeleton_weight.h"> + </File> + <File + RelativePath=".\3d\track.cpp"> + </File> + <File + RelativePath=".\3d\track.h"> + </File> + <File + RelativePath=".\3d\track_bezier.h"> + </File> + <File + RelativePath=".\3d\track_keyframer.cpp"> + </File> + <File + RelativePath=".\3d\track_keyframer.h"> + </File> + <File + RelativePath=".\3d\track_tcb.h"> + </File> + <File + RelativePath=".\3d\transformable.cpp"> + </File> + <File + RelativePath=".\3d\transformable.h"> + </File> + </Filter> + <Filter + Name="UserImp" + Filter=""> + <File + RelativePath=".\3d\animation_set_user.cpp"> + </File> + <File + RelativePath=".\3d\animation_set_user.h"> + </File> + <File + RelativePath=".\3d\bone_user.cpp"> + </File> + <File + RelativePath=".\3d\bone_user.h"> + </File> + <File + RelativePath=".\3d\camera_user.cpp"> + </File> + <File + RelativePath=".\3d\camera_user.h"> + </File> + <File + RelativePath=".\3d\driver_user.cpp"> + </File> + <File + RelativePath=".\3d\driver_user.h"> + </File> + <File + RelativePath=".\3d\driver_user2.cpp"> + </File> + <File + RelativePath=".\3d\frustum.cpp"> + </File> + <File + RelativePath=".\3d\height_map.cpp"> + </File> + <File + RelativePath=".\3d\instance_group_user.cpp"> + </File> + <File + RelativePath=".\3d\instance_group_user.h"> + </File> + <File + RelativePath=".\3d\instance_material_user.cpp"> + </File> + <File + RelativePath=".\3d\instance_material_user.h"> + </File> + <File + RelativePath=".\3d\instance_user.cpp"> + </File> + <File + RelativePath=".\3d\instance_user.h"> + </File> + <File + RelativePath=".\3d\landscape_user.cpp"> + </File> + <File + RelativePath=".\3d\landscape_user.h"> + </File> + <File + RelativePath=".\3d\landscapeig_manager.cpp"> + </File> + <File + RelativePath=".\3d\light_user.cpp"> + </File> + <File + RelativePath=".\3d\light_user.h"> + </File> + <File + RelativePath=".\3d\logic_info.cpp"> + </File> + <File + RelativePath=".\3d\material_user.cpp"> + </File> + <File + RelativePath=".\3d\material_user.h"> + </File> + <File + RelativePath=".\3d\particle_system_instance_user.cpp"> + </File> + <File + RelativePath=".\3d\particle_system_instance_user.h"> + </File> + <File + RelativePath=".\3d\particle_system_sound_user.cpp"> + </File> + <File + RelativePath=".\3d\play_list_manager_user.cpp"> + </File> + <File + RelativePath=".\3d\play_list_manager_user.h"> + </File> + <File + RelativePath=".\3d\play_list_user.cpp"> + </File> + <File + RelativePath=".\3d\play_list_user.h"> + </File> + <File + RelativePath=".\3d\point_light_user.cpp"> + </File> + <File + RelativePath=".\3d\point_light_user.h"> + </File> + <File + RelativePath=".\3d\primitive_profile.cpp"> + </File> + <File + RelativePath=".\3d\scene_user.cpp"> + </File> + <File + RelativePath=".\3d\scene_user.h"> + </File> + <File + RelativePath=".\3d\scissor.cpp"> + </File> + <File + RelativePath=".\3d\shape_bank_user.cpp"> + </File> + <File + RelativePath=".\3d\shape_bank_user.h"> + </File> + <File + RelativePath=".\3d\skeleton_user.cpp"> + </File> + <File + RelativePath=".\3d\skeleton_user.h"> + </File> + <File + RelativePath=".\3d\text_context_user.cpp"> + </File> + <File + RelativePath=".\3d\text_context_user.h"> + </File> + <File + RelativePath=".\3d\texture_user.cpp"> + </File> + <File + RelativePath=".\3d\texture_user.h"> + </File> + <File + RelativePath=".\3d\transform_user.cpp"> + </File> + <File + RelativePath=".\3d\transform_user.h"> + </File> + <File + RelativePath=".\3d\transformable_user.cpp"> + </File> + <File + RelativePath=".\3d\transformable_user.h"> + </File> + <File + RelativePath=".\3d\viewport.cpp"> + </File> + <File + RelativePath=".\3d\visual_collision_entity_user.cpp"> + </File> + <File + RelativePath=".\3d\visual_collision_entity_user.h"> + </File> + <File + RelativePath=".\3d\visual_collision_manager_user.cpp"> + </File> + <File + RelativePath=".\3d\visual_collision_manager_user.h"> + </File> + <File + RelativePath=".\3d\water_user.cpp"> + </File> + <File + RelativePath=".\3d\water_user.h"> + </File> + </Filter> + <Filter + Name="User" + Filter=""> + <File + RelativePath="..\include\nel\3d\animation_time.h"> + </File> + <File + RelativePath="..\include\nel\3d\frustum.h"> + </File> + <File + RelativePath="..\include\nel\3d\height_map.h"> + </File> + <File + RelativePath="..\include\nel\3d\landscapeig_manager.h"> + </File> + <File + RelativePath="..\include\nel\3d\logic_info.h"> + </File> + <File + RelativePath="..\include\nel\3d\point_light_influence.h"> + </File> + <File + RelativePath="..\include\nel\3d\primitive_profile.h"> + </File> + <File + RelativePath="..\include\nel\3d\scissor.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_3d_mouse_listener.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_animation.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_animation_set.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_bone.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_camera.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_driver.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_instance.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_instance_group.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_instance_material.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_landscape.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_light.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_material.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_particle_system_instance.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_particle_system_sound.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_play_list.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_play_list_manager.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_point_light.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_ps_sound_impl.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_ps_sound_interface.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_scene.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_shape_bank.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_skeleton.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_text_context.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_texture.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_track.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_transform.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_transformable.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_visual_collision_entity.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_visual_collision_manager.h"> + </File> + <File + RelativePath="..\include\nel\3d\u_water.h"> + </File> + <File + RelativePath="..\include\nel\3d\viewport.h"> + </File> + </Filter> + <Filter + Name="Makefile" + Filter=""> + <File + RelativePath=".\3d\Makefile.am"> + </File> + </Filter> + <Filter + Name="Fx" + Filter=""> + <Filter + Name="particles" + Filter=""> + <File + RelativePath=".\3d\particle_system.cpp"> + </File> + <File + RelativePath=".\3d\particle_system.h"> + </File> + <File + RelativePath=".\3d\particle_system_manager.cpp"> + </File> + <File + RelativePath=".\3d\particle_system_manager.h"> + </File> + <File + RelativePath=".\3d\particle_system_process.cpp"> + </File> + <File + RelativePath=".\3d\particle_system_process.h"> + </File> + <File + RelativePath=".\3d\ps_edit.h"> + </File> + <File + RelativePath=".\3d\ps_iterator.h"> + </File> + <File + RelativePath=".\3d\ps_located.cpp"> + </File> + <File + RelativePath=".\3d\ps_located.h"> + </File> + <File + RelativePath=".\3d\ps_lod.h"> + </File> + <File + RelativePath=".\3d\ps_misc.h"> + </File> + <File + RelativePath=".\3d\ps_util.cpp"> + </File> + <File + RelativePath=".\3d\ps_util.h"> + </File> + <Filter + Name="particles render" + Filter=""> + <File + RelativePath=".\3d\ps_dot.cpp"> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + AssemblerOutput="4"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + AssemblerOutput="4"/> + </FileConfiguration> + </File> + <File + RelativePath=".\3d\ps_dot.h"> + </File> + <File + RelativePath=".\3d\ps_face.cpp"> + </File> + <File + RelativePath=".\3d\ps_face.h"> + </File> + <File + RelativePath=".\3d\ps_face_look_at.cpp"> + </File> + <File + RelativePath=".\3d\ps_face_look_at.h"> + </File> + <File + RelativePath=".\3d\ps_fan_light.cpp"> + </File> + <File + RelativePath=".\3d\ps_fan_light.h"> + </File> + <File + RelativePath=".\3d\ps_macro.h"> + </File> + <File + RelativePath=".\3d\ps_mesh.cpp"> + </File> + <File + RelativePath=".\3d\ps_mesh.h"> + </File> + <File + RelativePath=".\3d\ps_particle.cpp"> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + AssemblerOutput="2"/> + </FileConfiguration> + </File> + <File + RelativePath=".\3d\ps_particle.h"> + </File> + <File + RelativePath=".\3d\ps_particle2.cpp"> + </File> + <File + RelativePath=".\3d\ps_particle2.h"> + </File> + <File + RelativePath=".\3d\ps_particle_basic.cpp"> + </File> + <File + RelativePath=".\3d\ps_particle_basic.h"> + </File> + <File + RelativePath=".\3d\ps_quad.cpp"> + </File> + <File + RelativePath=".\3d\ps_quad.h"> + </File> + <File + RelativePath=".\3d\ps_register_particles.cpp"> + </File> + <File + RelativePath=".\3d\ps_ribbon.cpp"> + </File> + <File + RelativePath=".\3d\ps_ribbon.h"> + </File> + <File + RelativePath=".\3d\ps_ribbon_base.cpp"> + </File> + <File + RelativePath=".\3d\ps_ribbon_base.h"> + </File> + <File + RelativePath=".\3d\ps_ribbon_look_at.cpp"> + </File> + <File + RelativePath=".\3d\ps_ribbon_look_at.h"> + </File> + <File + RelativePath=".\3d\ps_shockwave.cpp"> + </File> + <File + RelativePath=".\3d\ps_shockwave.h"> + </File> + <File + RelativePath=".\3d\ps_tail_dot.cpp"> + </File> + <File + RelativePath=".\3d\ps_tail_dot.h"> + </File> + </Filter> + <Filter + Name="attribs" + Filter=""> + <File + RelativePath=".\3d\ps_attrib.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_bin_op.cpp"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_bin_op.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_bin_op_inline.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_helper.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_iterators.h"> + </File> + <File + RelativePath=".\3d\ps_attrib_maker_template.h"> + </File> + <File + RelativePath=".\3d\ps_color.cpp"> + </File> + <File + RelativePath=".\3d\ps_color.h"> + </File> + <File + RelativePath=".\3d\ps_direction.h"> + </File> + <File + RelativePath=".\3d\ps_float.cpp"> + </File> + <File + RelativePath=".\3d\ps_float.h"> + </File> + <File + RelativePath=".\3d\ps_int.cpp"> + </File> + <File + RelativePath=".\3d\ps_int.h"> + </File> + <File + RelativePath=".\3d\ps_plane_basis.h"> + </File> + <File + RelativePath=".\3d\ps_plane_basis_maker.cpp"> + </File> + <File + RelativePath=".\3d\ps_plane_basis_maker.h"> + </File> + <File + RelativePath=".\3d\ps_register_attribs.cpp"> + </File> + <File + RelativePath=".\3d\ps_register_color_attribs.h"> + </File> + <File + RelativePath=".\3d\ps_register_float_attribs.h"> + </File> + <File + RelativePath=".\3d\ps_register_int_attribs.h"> + </File> + <File + RelativePath=".\3d\ps_register_plane_basis_attribs.h"> + </File> + </Filter> + <Filter + Name="forces" + Filter=""> + <File + RelativePath=".\3d\ps_force.cpp"> + </File> + <File + RelativePath=".\3d\ps_force.h"> + </File> + <File + RelativePath=".\3d\ps_register_forces.cpp"> + </File> + </Filter> + <Filter + Name="zones" + Filter=""> + <File + RelativePath=".\3d\ps_register_zones.cpp"> + </File> + <File + RelativePath=".\3d\ps_zone.cpp"> + </File> + <File + RelativePath=".\3d\ps_zone.h"> + </File> + </Filter> + <Filter + Name="emitters" + Filter=""> + <File + RelativePath=".\3d\ps_emitter.cpp"> + </File> + <File + RelativePath=".\3d\ps_emitter.h"> + </File> + <File + RelativePath=".\3d\ps_register_emitters.cpp"> + </File> + </Filter> + <Filter + Name="sound" + Filter=""> + <File + RelativePath=".\3d\ps_sound.cpp"> + </File> + <File + RelativePath=".\3d\ps_sound.h"> + </File> + </Filter> + </Filter> + <Filter + Name="2d" + Filter=""> + <File + RelativePath=".\3d\deform_2d.cpp"> + </File> + <File + RelativePath=".\3d\deform_2d.h"> + </File> + <File + RelativePath=".\3d\heat_haze.cpp"> + </File> + <File + RelativePath=".\3d\heat_haze.h"> + </File> + <File + RelativePath=".\3d\motion_blur.cpp"> + </File> + <File + RelativePath=".\3d\motion_blur.h"> + </File> + <File + RelativePath=".\3d\quad_effect.cpp"> + </File> + <File + RelativePath=".\3d\quad_effect.h"> + </File> + </Filter> + </Filter> + <Filter + Name="Collisions" + Filter=""> + <File + RelativePath=".\3d\landscape_collision_grid.cpp"> + </File> + <File + RelativePath=".\3d\landscape_collision_grid.h"> + </File> + <File + RelativePath=".\3d\visual_collision_entity.cpp"> + </File> + <File + RelativePath=".\3d\visual_collision_entity.h"> + </File> + <File + RelativePath=".\3d\visual_collision_manager.cpp"> + </File> + <File + RelativePath=".\3d\visual_collision_manager.h"> + </File> + </Filter> + <Filter + Name="ClipAccelerator" + Filter=""> + <File + RelativePath=".\3d\cluster.cpp"> + </File> + <File + RelativePath=".\3d\cluster.h"> + </File> + <File + RelativePath=".\3d\portal.cpp"> + </File> + <File + RelativePath=".\3d\portal.h"> + </File> + <File + RelativePath=".\3d\quad_grid_clip_cluster.cpp"> + </File> + <File + RelativePath=".\3d\quad_grid_clip_cluster.h"> + </File> + <File + RelativePath=".\3d\quad_grid_clip_manager.cpp"> + </File> + <File + RelativePath=".\3d\quad_grid_clip_manager.h"> + </File> + </Filter> + <Filter + Name="Water" + Filter=""> + <File + RelativePath=".\3d\water_height_map.cpp"> + </File> + <File + RelativePath=".\3d\water_height_map.h"> + </File> + <File + RelativePath=".\3d\water_pool_manager.cpp"> + </File> + <File + RelativePath=".\3d\water_pool_manager.h"> + </File> + </Filter> + <Filter + Name="Stripifier" + Filter=""> + <File + RelativePath=".\3d\stripifier.cpp"> + </File> + <File + RelativePath=".\3d\stripifier.h"> + </File> + </Filter> + <Filter + Name="vegetable" + Filter=""> + <File + RelativePath=".\3d\noise_value.cpp"> + </File> + <File + RelativePath=".\3d\noise_value.h"> + </File> + <File + RelativePath=".\3d\vegetable.cpp"> + </File> + <File + RelativePath=".\3d\vegetable.h"> + </File> + <File + RelativePath=".\3d\vegetable_blend_layer_model.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_blend_layer_model.h"> + </File> + <File + RelativePath=".\3d\vegetable_clip_block.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_clip_block.h"> + </File> + <File + RelativePath=".\3d\vegetable_def.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_def.h"> + </File> + <File + RelativePath=".\3d\vegetable_instance_group.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_instance_group.h"> + </File> + <File + RelativePath=".\3d\vegetable_light_ex.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_light_ex.h"> + </File> + <File + RelativePath=".\3d\vegetable_manager.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_manager.h"> + </File> + <File + RelativePath=".\3d\vegetable_quadrant.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_quadrant.h"> + </File> + <File + RelativePath=".\3d\vegetable_shape.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_shape.h"> + </File> + <File + RelativePath=".\3d\vegetable_sort_block.cpp"> + </File> + <File + RelativePath=".\3d\vegetable_sort_block.h"> + </File> + <File + RelativePath=".\3d\vegetablevb_allocator.cpp"> + </File> + <File + RelativePath=".\3d\vegetablevb_allocator.h"> + </File> + </Filter> + <Filter + Name="Util" + Filter=""> + <File + RelativePath=".\3d\fast_floor.cpp"> + </File> + <File + RelativePath=".\3d\fast_floor.h"> + </File> + <File + RelativePath=".\3d\fast_mem.cpp"> + </File> + <File + RelativePath=".\3d\fast_mem.h"> + </File> + <File + RelativePath=".\3d\radix_sort.cpp"> + </File> + <File + RelativePath=".\3d\radix_sort.h"> + </File> + </Filter> + <Filter + Name="Lighting" + Filter=""> + <File + RelativePath=".\3d\ig_surface_light.cpp"> + </File> + <File + RelativePath=".\3d\ig_surface_light.h"> + </File> + <File + RelativePath=".\3d\ig_surface_light_build.cpp"> + </File> + <File + RelativePath=".\3d\ig_surface_light_build.h"> + </File> + <File + RelativePath=".\3d\light_contribution.cpp"> + </File> + <File + RelativePath=".\3d\light_contribution.h"> + </File> + <File + RelativePath=".\3d\light_influence_interpolator.cpp"> + </File> + <File + RelativePath=".\3d\light_influence_interpolator.h"> + </File> + <File + RelativePath=".\3d\lighting_manager.cpp"> + </File> + <File + RelativePath=".\3d\lighting_manager.h"> + </File> + <File + RelativePath=".\3d\point_light.cpp"> + </File> + <File + RelativePath=".\3d\point_light.h"> + </File> + <File + RelativePath=".\3d\point_light_named.cpp"> + </File> + <File + RelativePath=".\3d\point_light_named.h"> + </File> + <File + RelativePath=".\3d\point_light_named_array.cpp"> + </File> + <File + RelativePath=".\3d\point_light_named_array.h"> + </File> + <File + RelativePath=".\3d\surface_light_grid.cpp"> + </File> + <File + RelativePath=".\3d\surface_light_grid.h"> + </File> + </Filter> + <File + RelativePath=".\3d\async_file_manager.cpp"> + </File> + <File + RelativePath=".\3d\async_file_manager.h"> + </File> + <File + RelativePath=".\3d\coarse_mesh_build.cpp"> + </File> + <File + RelativePath=".\3d\coarse_mesh_build.h"> + </File> + <File + RelativePath=".\3d\event_mouse_listener.cpp"> + </File> + <File + RelativePath=".\3d\event_mouse_listener.h"> + </File> + <File + RelativePath=".\3d\init_3d.cpp"> + </File> + <File + RelativePath=".\3d\init_3d.h"> + </File> + <File + RelativePath=".\3d\mini_col.cpp"> + </File> + <File + RelativePath=".\3d\mini_col.h"> + </File> + <File + RelativePath=".\3d\mot.cpp"> + </File> + <File + RelativePath=".\3d\mot.h"> + </File> + <File + RelativePath=".\3d\nelu.cpp"> + </File> + <File + RelativePath=".\3d\nelu.h"> + </File> + <File + RelativePath=".\3d\register_3d.cpp"> + </File> + <File + RelativePath=".\3d\register_3d.h"> + </File> + <File + RelativePath=".\3d\scene.cpp"> + </File> + <File + RelativePath=".\3d\scene.h"> + </File> + <File + RelativePath=".\3d\scene_group.cpp"> + </File> + <File + RelativePath=".\3d\scene_group.h"> + </File> + <File + RelativePath=".\3d\std3d.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + </File> + <File + RelativePath=".\3d\std3d.h"> + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Jamfile?rev=1.1&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Jamfile?rev=1.1&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..869258fa --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Jamfile?rev=1.1&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,9 @@ +# FreeType 2 src Jamfile (c) 2001 David Turner +# + +SubDir NEL_TOP src ; + +SubInclude NEL_TOP src misc ; +SubInclude NEL_TOP src net ; + +# end of src Jamfile diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..66d8f978 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.1&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,10 @@ +# +# $Id: Makefile.am,v 1.1 2000/10/06 14:17:35 valignat Exp $ +# + +SUBDIRS= net 3d ai db misc sys python + +MAINTAINERCLEANFILES= Makefile.in + +# EOF + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..90ff68a7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,11 @@ +# +# $Id: Makefile.am,v 1.2 2000/11/23 11:51:35 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = misc net 3d + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..24f6be21 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.3&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,13 @@ +# +# $Id: Makefile.am,v 1.3 2000/11/24 14:13:35 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = misc net 3d + +EXTRA_DIST = misc.dsp net.dsp 3d.dsp + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.4&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.4&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..0b25674f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.4&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,13 @@ +# +# $Id: Makefile.am,v 1.4 2001/01/08 16:20:40 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = misc net 3d ai + +EXTRA_DIST = misc.dsp net.dsp 3d.dsp + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..24cd50bf --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.5&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,13 @@ +# +# $Id: Makefile.am,v 1.5 2001/01/12 09:31:47 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = misc net 3d ai + +EXTRA_DIST = misc.dsp net.dsp 3d.dsp ai.dsp + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.6&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.6&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..e931715d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.6&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,13 @@ +# +# $Id: Makefile.am,v 1.6 2001/06/13 18:05:00 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +SUBDIRS = @NEL_SUBDIRS@ + +EXTRA_DIST = misc.dsp net.dsp 3d.dsp ai.dsp + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.7&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.7&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..45cafade --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/Makefile.am?rev=1.7&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,15 @@ +# +# $Id: Makefile.am,v 1.7 2002/03/19 17:42:48 valignat Exp $ +# + +MAINTAINERCLEANFILES = Makefile.in + +DIST_SUBDIRS = net 3d pacs sound ai misc + +SUBDIRS = @NEL_SUBDIRS@ + +EXTRA_DIST = misc.dsp net.dsp 3d.dsp ai.dsp + + +# End of Makefile.am + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.12&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.12&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..fc948448 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.12&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,956 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\messagerie.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.16&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.16&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..1c30bf0a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.16&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,964 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.18&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.18&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..eff00230 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.18&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1015 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# SUBTRACT CPP /Z<none> +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ia___Win32_ReleaseDebug" +# PROP Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# SUBTRACT CPP /FA<none> +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Name "ia - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "n_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "n_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.21&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.21&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..9df0a944 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.21&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1045 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ia___Win32_ReleaseDebug" +# PROP Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Name "ia - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.24&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.24&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..cc153697 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.24&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1117 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ia___Win32_ReleaseDebug" +# PROP Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Name "ia - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.26&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.26&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..662b5ea4 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.26&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1189 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ia___Win32_ReleaseDebug" +# PROP Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Name "ia - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.27&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.27&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..57c54225 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.27&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1189 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ia___Win32_ReleaseDebug" +# PROP Intermediate_Dir "ia___Win32_ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Name "ia - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.35&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.35&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..1dbfafce --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.35&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1222 @@ +# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ai - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ai - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fd"../lib/nlai" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fd"../lib/nlnet_debug" /FD /GZ /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai_debug.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDebug" +# PROP BASE Intermediate_Dir "ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fd"../lib/nlai_rd" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai_rd.lib" + +!ENDIF + +# Begin Target + +# Name "ai - Win32 Release" +# Name "ai - Win32 Debug" +# Name "ai - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_timer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\volatil_memory.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_timer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\volatil_memory.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var_mem.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\action_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var_mem.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\init.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.36&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.36&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..cdab87cf --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.36&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1222 @@ +# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ai - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ai - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /FD /GZ /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai_debug.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDebug" +# PROP BASE Intermediate_Dir "ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlai_rd.lib" + +!ENDIF + +# Begin Target + +# Name "ai - Win32 Release" +# Name "ai - Win32 Debug" +# Name "ai - Win32 ReleaseDebug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_timer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\gd_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\volatil_memory.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_timer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\gd_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\volatil_memory.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var_mem.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\action_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var_mem.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\gd_agent_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\gd_agent_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\init.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.40&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.40&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..b75cc6cc --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.40&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1279 @@ +# Microsoft Developer Studio Project File - Name="ai_lib" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ai_lib - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ai_lib - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ai_lib - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ai_lib - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai_lib - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai_lib - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE "ai_lib - Win32 ReleaseProfile" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ai_lib - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai.lib" + +!ELSEIF "$(CFG)" == "ai_lib - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai_debug.lib" + +!ELSEIF "$(CFG)" == "ai_lib - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDebug" +# PROP BASE Intermediate_Dir "ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDebug" +# PROP Intermediate_Dir "ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai_rd.lib" + +!ELSEIF "$(CFG)" == "ai_lib - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ai_lib___Win32_DebugFast" +# PROP BASE Intermediate_Dir "ai_lib___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugFast" +# PROP Intermediate_Dir "DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\lib\nlai_lib_debug.lib" +# ADD LIB32 /nologo /out:"..\lib\nlai_debug_fast.lib" + +!ELSEIF "$(CFG)" == "ai_lib - Win32 ReleaseProfile" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ai_lib___Win32_ReleaseProfile" +# PROP BASE Intermediate_Dir "ai_lib___Win32_ReleaseProfile" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseProfile" +# PROP Intermediate_Dir "ReleaseProfile" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\lib\nlai_lib.lib" +# ADD LIB32 /nologo /out:"..\lib\nlai_profile.lib" + +!ENDIF + +# Begin Target + +# Name "ai_lib - Win32 Release" +# Name "ai_lib - Win32 Debug" +# Name "ai_lib - Win32 ReleaseDebug" +# Name "ai_lib - Win32 DebugFast" +# Name "ai_lib - Win32 ReleaseProfile" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_timer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_getvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_stream.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\volatil_memory.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_timer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\goal_stack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_stream.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\volatil_memory.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\goal_stack.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var_mem.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\action_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\goal_stack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var_mem.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_getvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\init.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.42&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.42&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..c7b7a53a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.42&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,1323 @@ +# Microsoft Developer Studio Project File - Name="ai" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ai - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ai - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ai - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE "ai - Win32 ReleaseProfile" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ai - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai_debug.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ReleaseDebug" +# PROP BASE Intermediate_Dir "ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDebug" +# PROP Intermediate_Dir "ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"..\lib\nlai_rd.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ai___Win32_DebugFast" +# PROP BASE Intermediate_Dir "ai___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "DebugFast" +# PROP Intermediate_Dir "DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\lib\nlai_debug.lib" +# ADD LIB32 /nologo /out:"..\lib\nlai_debug_fast.lib" + +!ELSEIF "$(CFG)" == "ai - Win32 ReleaseProfile" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ai___Win32_ReleaseProfile" +# PROP BASE Intermediate_Dir "ai___Win32_ReleaseProfile" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseProfile" +# PROP Intermediate_Dir "ReleaseProfile" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\lib\nlai.lib" +# ADD LIB32 /nologo /out:"..\lib\nlai_profile.lib" + +!ENDIF + +# Begin Target + +# Name "ai - Win32 Release" +# Name "ai - Win32 Debug" +# Name "ai - Win32 ReleaseDebug" +# Name "ai - Win32 DebugFast" +# Name "ai - Win32 ReleaseProfile" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_3dvector.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_input.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_local_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_proxy_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_string.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_timer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\list_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_connect.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_getvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_notify.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_on_change.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_setvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_stream.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\volatil_memory.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_3dvector.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_input.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_local_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_proxy_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_timer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\goal_stack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\identtype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\key_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\list_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_connect.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_getvalue.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_notify.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_setvalue.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_stream.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\volatil_memory.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent_init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\static_init.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fsm_seq_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\goal.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\goal_stack.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var_mem.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\action_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fsm_seq_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\goal_stack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_fsm.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var_mem.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\init.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_fsm.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_action.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_connect.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_getvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_message_setvalue.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\param_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\init.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_action.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_connect.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_getvalue.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_message_setvalue.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\param_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# Begin Group "nimat" + +# PROP Default_Filter "" +# Begin Group "nimat_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\nimat\classifier.cpp +# End Source File +# End Group +# Begin Group "nimat_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\black_box.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\nimat\classifier.h +# End Source File +# End Group +# Begin Group "character" + +# PROP Default_Filter "" +# Begin Group "character_cpp" + +# PROP Default_Filter "*.cpp" +# Begin Source File + +SOURCE=.\ai\character\character.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\character\zone.cpp +# End Source File +# End Group +# Begin Group "character_h" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=..\include\nel\ai\character\character.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\character\zone.h +# End Source File +# End Group +# End Group +# End Group +# Begin Group "tools" + +# PROP Default_Filter "" +# Begin Group "tolls_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\tools\automata_desc.cpp +# End Source File +# End Group +# Begin Group "tools_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\tools\automata_desc.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.5&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.5&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..25892355 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.5&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,916 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\messagerie.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.7&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.7&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..f97a706b --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.7&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,928 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\messagerie.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.9&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.9&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..8888deb1 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsp?rev=1.9&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,936 @@ +# Microsoft Developer Studio Project File - Name="ia" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=ia - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ai.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ai.mak" CFG="ia - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ia - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "ia - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ia - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "ia - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "ia - Win32 Release" +# Name "ia - Win32 Debug" +# Begin Group "agent" + +# PROP Default_Filter "" +# Begin Group "ag_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\agent\actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\actor_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_mailer.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_nombre.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\agents.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\baseai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\basic_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\digital.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\group_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\ident.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\init_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\mailbox.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\main_agent_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\message_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\msg_group.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\agent\paire_type.cpp +# End Source File +# End Group +# Begin Group "ag_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\actor_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_digital.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_mailer.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_method_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_nombre.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agent_string.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentexport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\agentpack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\baseai.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\ident.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\mailbox.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\main_agent_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\message_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\messagerie.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\msg_group.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\object_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\agent\performative.h +# End Source File +# End Group +# End Group +# Begin Group "common" + +# PROP Default_Filter "" +# Begin Group "c_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\c\ident_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_class.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\c\registry_type.cpp +# End Source File +# End Group +# Begin Group "c_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\c\abstract_interface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\python_export.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_class.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\c\registry_type.h +# End Source File +# End Group +# End Group +# Begin Group "fuzzy" + +# PROP Default_Filter "" +# Begin Group "f_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzy_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzycond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyfact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyrule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyruleset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzytype.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\fuzzyvar.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\fuzzy\interpret_fuzzy_controler.cpp +# End Source File +# End Group +# Begin Group "f_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzy_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzycond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyfact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyrule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyruleset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzytype.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\fuzzyvar.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\fuzzy\interpret_fuzzy_controler.h +# End Source File +# End Group +# End Group +# Begin Group "link" + +# PROP Default_Filter "" +# Begin Group "link_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\ai.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\static_def_init.cpp +# End Source File +# End Group +# Begin Group "link_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\nl_ai.h +# End Source File +# End Group +# End Group +# Begin Group "logic" + +# PROP Default_Filter "" +# Begin Group "l_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\logic\ai_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_cond.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\bool_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\boolval.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\clause.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fact.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\factbase.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_assert.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\fo_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\interpret_object_operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\operator_script.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\rule.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\valueset.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\var.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\logic\varset.cpp +# End Source File +# End Group +# Begin Group "l_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_cond.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\bool_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\boolval.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\clause.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fact.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\factbase.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\fo_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\goal.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\ia_assert.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\interpret_object_operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\logic.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\operator_script.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\rule.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\valueset.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\var.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\logic\varset.h +# End Source File +# End Group +# End Group +# Begin Group "pyserver" + +# PROP Default_Filter "" +# Begin Group "py_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\pyserver\pylib.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\pyserver\pythonmethode.cpp +# End Source File +# End Group +# Begin Group "py_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pylib.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\pyserver\pythonsupport.h +# End Source File +# End Group +# End Group +# Begin Group "script" + +# PROP Default_Filter "" +# Begin Group "scrp_cpp" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\codage.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\code_branche_run_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\compilateur.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_find_run.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_stack_component.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\constraint_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\context_debug.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\factor_type.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\hierarchy.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_actor.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_methodes.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_agent.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_manager.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\interpret_object_message.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexlang.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lexsupport.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\libcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\module.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\objects_load.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_lib_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_call_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_ldb.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_lpt.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\opcode_register.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\script_debug_source.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\test_method.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\type_def.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\var_control.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\yacc.cpp +# End Source File +# Begin Source File + +SOURCE=.\ai\script\ytable.cpp +# End Source File +# End Group +# Begin Group "scrp_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\script\codage.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\code_branche_run_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\compilateur.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_find_run.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_stack_component.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\constraint_type.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\context_debug.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_actor.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_methodes.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_agent.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_list.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_manager.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\interpret_object_message.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lex.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\lexsupport.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\libcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\module.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_load.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\object_unknown.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_lib_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_call_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_ldb.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\opcode_lpt.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\script_debug_source.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\test_method.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\type_def.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\unistd.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\varstack.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\virtual_op_code.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\script\ytable.h +# End Source File +# End Group +# Begin Group "lex&yacc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\grammar.yacc +# End Source File +# Begin Source File + +SOURCE=.\ai\script\lex_yacc\lexicon.lex +# End Source File +# End Group +# End Group +# Begin Group "exception" + +# PROP Default_Filter "" +# Begin Group "e_cpp" + +# PROP Default_Filter "" +# End Group +# Begin Group "e_h" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\ai\e\ai_exception.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\ai\e\nel_exception_def.h +# End Source File +# End Group +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsw?rev=1.1&content-type=text/plain&sortby=log/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsw?rev=1.1&content-type=text/plain&sortby=log/index.html new file mode 100644 index 00000000..3314b03a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/ai.dsw?rev=1.1&content-type=text/plain&sortby=log/index.html @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "ai_lib"=.\ai_lib.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.1&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.1&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..c018cf7c --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.1&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,843 @@ +<?xml version="1.0" encoding = "Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.00" + Name="misc" + SccProjectName="" + SccLocalPath=""> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Release|Win32" + OutputDirectory=".\../obj/Release" + IntermediateDirectory=".\../obj/Release" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG" + StringPooling="TRUE" + RuntimeLibrary="2" + EnableFunctionLevelLinking="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="stdmisc.h" + PrecompiledHeaderFile=".\../obj/Release/misc.pch" + AssemblerListingLocation=".\../obj/Release/" + ObjectFile=".\../obj/Release/" + ProgramDataBaseFileName=".\../obj/Release/" + WarningLevel="3" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="../lib/nlmisc.lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="ReleaseDebug|Win32" + OutputDirectory=".\../obj/ReleaseDebug" + IntermediateDirectory=".\../obj/ReleaseDebug" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG,NL_RELEASE_DEBUG" + StringPooling="TRUE" + RuntimeLibrary="2" + EnableFunctionLevelLinking="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="stdmisc.h" + PrecompiledHeaderFile=".\../obj/ReleaseDebug/misc.pch" + AssemblerListingLocation=".\../obj/ReleaseDebug/" + ObjectFile=".\../obj/ReleaseDebug/" + ProgramDataBaseFileName=".\../obj/ReleaseDebug/" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="../lib/nlmisc_rd.lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="Debug|Win32" + OutputDirectory=".\../obj/Debug" + IntermediateDirectory=".\../obj/Debug" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="_LIB,__STL_DEBUG,WIN32,_DEBUG" + StringPooling="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="stdmisc.h" + PrecompiledHeaderFile=".\../obj/Debug/misc.pch" + AssemblerListingLocation=".\../obj/Debug/" + ObjectFile=".\../obj/Debug/" + ProgramDataBaseFileName=".\../obj/Debug/" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="../lib/nlmisc_debug.lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="DebugFast|Win32" + OutputDirectory=".\../obj/DebugFast" + IntermediateDirectory=".\../obj/DebugFast" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,_DEBUG,NL_DEBUG_FAST" + StringPooling="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="stdmisc.h" + PrecompiledHeaderFile=".\../obj/DebugFast/misc.pch" + AssemblerListingLocation=".\../obj/DebugFast/" + ObjectFile=".\../obj/DebugFast/" + ProgramDataBaseFileName=".\../obj/DebugFast/" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="../lib/nlmisc_debug_fast.lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + </Configurations> + <Files> + <Filter + Name="Stream" + Filter=""> + <File + RelativePath=".\misc\bit_mem_stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bit_mem_stream.h"> + </File> + <File + RelativePath=".\misc\class_registry.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\class_registry.h"> + </File> + <File + RelativePath=".\misc\file.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\file.h"> + </File> + <File + RelativePath=".\misc\i_xml.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\i_xml.h"> + </File> + <File + RelativePath=".\misc\mem_stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mem_stream.h"> + </File> + <File + RelativePath=".\misc\o_xml.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\o_xml.h"> + </File> + <File + RelativePath=".\misc\stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stream.h"> + </File> + <File + RelativePath="..\include\nel\misc\stream_inline.h"> + </File> + </Filter> + <Filter + Name="Math" + Filter=""> + <File + RelativePath=".\misc\aabbox.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\aabbox.h"> + </File> + <File + RelativePath=".\misc\bsphere.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bsphere.h"> + </File> + <File + RelativePath=".\misc\geom_ext.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\geom_ext.h"> + </File> + <File + RelativePath=".\misc\line.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\line.h"> + </File> + <File + RelativePath=".\misc\matrix.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\matrix.h"> + </File> + <File + RelativePath=".\misc\plane.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\plane.h"> + </File> + <File + RelativePath="..\include\nel\misc\plane_inline.h"> + </File> + <File + RelativePath=".\misc\polygon.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\polygon.h"> + </File> + <File + RelativePath=".\misc\quat.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\quat.h"> + </File> + <File + RelativePath=".\misc\rect.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\rect.h"> + </File> + <File + RelativePath=".\misc\triangle.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\triangle.h"> + </File> + <File + RelativePath=".\misc\uv.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\uv.h"> + </File> + <File + RelativePath=".\misc\vector.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector.h"> + </File> + <File + RelativePath=".\misc\vector_2d.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_2d.h"> + </File> + <File + RelativePath=".\misc\vector_2f.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_2f.h"> + </File> + <File + RelativePath=".\misc\vector_h.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_h.h"> + </File> + <File + RelativePath="..\include\nel\misc\vector_inline.h"> + </File> + <File + RelativePath=".\misc\vectord.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vectord.h"> + </File> + <File + RelativePath="..\include\nel\misc\vectord_inline.h"> + </File> + </Filter> + <Filter + Name="ConfigFile" + Filter=""> + <File + RelativePath=".\misc\config_file\config_file.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + </File> + <File + RelativePath="..\include\nel\misc\config_file.h"> + </File> + <File + RelativePath=".\misc\config_file\config_file.lex"> + </File> + <File + RelativePath=".\misc\config_file\config_file.lex.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc"> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc.cpp.h"> + </File> + </Filter> + <Filter + Name="Events" + Filter=""> + <File + RelativePath=".\misc\event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_emitter.h"> + </File> + <File + RelativePath=".\misc\event_emitter_multi.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_emitter_multi.h"> + </File> + <File + RelativePath=".\misc\event_listener.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_listener.h"> + </File> + <File + RelativePath=".\misc\event_server.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_server.h"> + </File> + <File + RelativePath=".\misc\events.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\events.h"> + </File> + <File + RelativePath=".\misc\game_device_events.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\game_device_events.h"> + </File> + <Filter + Name="direct input" + Filter=""> + <File + RelativePath=".\misc\di_event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\di_event_emitter.h"> + </File> + <Filter + Name="direct input devices" + Filter=""> + <File + RelativePath=".\misc\di_game_device.cpp"> + </File> + <File + RelativePath=".\misc\di_game_device.h"> + </File> + <File + RelativePath=".\misc\di_keyboard_device.cpp"> + </File> + <File + RelativePath=".\misc\di_keyboard_device.h"> + </File> + <File + RelativePath=".\misc\di_mouse_device.cpp"> + </File> + <File + RelativePath=".\misc\di_mouse_device.h"> + </File> + </Filter> + </Filter> + <Filter + Name="win32" + Filter=""> + <File + RelativePath=".\misc\win_event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_event_emitter.h"> + </File> + </Filter> + <Filter + Name="devices" + Filter=""> + <File + RelativePath="..\include\nel\misc\game_device.h"> + </File> + <File + RelativePath=".\misc\input_device.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\input_device.h"> + </File> + <File + RelativePath="..\include\nel\misc\input_device_manager.h"> + </File> + <File + RelativePath=".\misc\input_device_server.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\input_device_server.h"> + </File> + <File + RelativePath="..\include\nel\misc\keyboard_device.h"> + </File> + <File + RelativePath="..\include\nel\misc\mouse_device.h"> + </File> + </Filter> + </Filter> + <Filter + Name="Memory" + Filter=""> + <File + RelativePath=".\misc\block_memory.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\block_memory.h"> + </File> + <File + RelativePath=".\misc\heap_memory.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\heap_memory.h"> + </File> + <File + RelativePath=".\misc\object_vector.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\object_vector.h"> + </File> + <File + RelativePath="..\include\nel\misc\pool_memory.h"> + </File> + <File + RelativePath=".\misc\stl_block_allocator.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stl_block_allocator.h"> + </File> + <File + RelativePath=".\misc\stl_block_list.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stl_block_list.h"> + </File> + </Filter> + <Filter + Name="Makefile" + Filter=""> + <File + RelativePath=".\misc\Makefile.am"> + </File> + </Filter> + <Filter + Name="Displayer" + Filter=""> + <File + RelativePath=".\misc\displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\displayer.h"> + </File> + <File + RelativePath=".\misc\gtk_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\gtk_displayer.h"> + </File> + <File + RelativePath=".\misc\log.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\log.h"> + </File> + <File + RelativePath=".\misc\mem_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mem_displayer.h"> + </File> + <File + RelativePath=".\misc\win_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_displayer.h"> + </File> + <File + RelativePath=".\misc\window_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\window_displayer.h"> + </File> + </Filter> + <File + RelativePath=".\misc\bit_set.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bit_set.h"> + </File> + <File + RelativePath=".\misc\bitmap.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bitmap.h"> + </File> + <File + RelativePath=".\misc\buf_fifo.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\buf_fifo.h"> + </File> + <File + RelativePath=".\misc\class_id.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\class_id.h"> + </File> + <File + RelativePath=".\misc\command.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\command.h"> + </File> + <File + RelativePath=".\misc\common.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\common.h"> + </File> + <File + RelativePath=".\misc\cpu_info.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\cpu_info.h"> + </File> + <File + RelativePath=".\misc\debug.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\debug.h"> + </File> + <File + RelativePath=".\misc\entity_id.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\entity_id.h"> + </File> + <File + RelativePath=".\misc\hierarchical_timer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\hierarchical_timer.h"> + </File> + <File + RelativePath=".\misc\i18n.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\i18n.h"> + </File> + <File + RelativePath=".\misc\mutex.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mutex.h"> + </File> + <File + RelativePath=".\misc\p_thread.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\p_thread.h"> + </File> + <File + RelativePath=".\misc\path.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\path.h"> + </File> + <File + RelativePath=".\misc\quad.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\quad.h"> + </File> + <File + RelativePath=".\misc\reader_writer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\reader_writer.h"> + </File> + <File + RelativePath=".\misc\rgba.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\rgba.h"> + </File> + <File + RelativePath=".\misc\smart_ptr.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\smart_ptr.h"> + </File> + <File + RelativePath="..\include\nel\misc\smart_ptr_inline.h"> + </File> + <File + RelativePath=".\misc\stdmisc.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\stdmisc.h"> + </File> + <File + RelativePath=".\misc\stop_watch.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stop_watch.h"> + </File> + <File + RelativePath=".\misc\string_id_array.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\string_id_array.h"> + </File> + <File + RelativePath=".\misc\system_info.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\system_info.h"> + </File> + <File + RelativePath=".\misc\task_manager.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\task_manager.h"> + </File> + <File + RelativePath="..\include\nel\misc\thread.h"> + </File> + <File + RelativePath=".\misc\time_nl.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\time_nl.h"> + </File> + <File + RelativePath="..\include\nel\misc\types_nl.h"> + </File> + <File + RelativePath="..\include\nel\misc\ucstring.h"> + </File> + <File + RelativePath=".\misc\value_smoother.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\value_smoother.h"> + </File> + <File + RelativePath=".\misc\win_thread.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_thread.h"> + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.2&content-type=text/plain&sortby=date/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.2&content-type=text/plain&sortby=date/index.html new file mode 100644 index 00000000..50b1d90e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/misc.vcproj?rev=1.2&content-type=text/plain&sortby=date/index.html @@ -0,0 +1,868 @@ +<?xml version="1.0" encoding = "Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.00" + Name="misc" + SccProjectName="" + SccLocalPath=""> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Release|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="ReleaseDebug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2" + DeleteExtensionsOnClean="*.obj;*.ilk;*.pdb;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.bat;$(TargetPath)"> + <Tool + Name="VCCLCompilerTool" + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="_LIB,WIN32,NDEBUG,NL_RELEASE_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="Debug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="_LIB,__STL_DEBUG,WIN32,_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="DebugFast|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,_DEBUG,NL_DEBUG_FAST" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + </Configurations> + <Files> + <Filter + Name="Stream" + Filter=""> + <File + RelativePath=".\misc\bit_mem_stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bit_mem_stream.h"> + </File> + <File + RelativePath=".\misc\class_registry.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\class_registry.h"> + </File> + <File + RelativePath=".\misc\file.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\file.h"> + </File> + <File + RelativePath=".\misc\i_xml.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\i_xml.h"> + </File> + <File + RelativePath=".\misc\mem_stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mem_stream.h"> + </File> + <File + RelativePath=".\misc\o_xml.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\o_xml.h"> + </File> + <File + RelativePath=".\misc\stream.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stream.h"> + </File> + <File + RelativePath="..\include\nel\misc\stream_inline.h"> + </File> + </Filter> + <Filter + Name="Math" + Filter=""> + <File + RelativePath=".\misc\aabbox.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\aabbox.h"> + </File> + <File + RelativePath=".\misc\bsphere.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bsphere.h"> + </File> + <File + RelativePath=".\misc\geom_ext.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\geom_ext.h"> + </File> + <File + RelativePath=".\misc\line.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\line.h"> + </File> + <File + RelativePath=".\misc\matrix.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\matrix.h"> + </File> + <File + RelativePath=".\misc\plane.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\plane.h"> + </File> + <File + RelativePath="..\include\nel\misc\plane_inline.h"> + </File> + <File + RelativePath=".\misc\polygon.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\polygon.h"> + </File> + <File + RelativePath=".\misc\quat.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\quat.h"> + </File> + <File + RelativePath=".\misc\rect.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\rect.h"> + </File> + <File + RelativePath=".\misc\triangle.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\triangle.h"> + </File> + <File + RelativePath=".\misc\uv.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\uv.h"> + </File> + <File + RelativePath=".\misc\vector.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector.h"> + </File> + <File + RelativePath=".\misc\vector_2d.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_2d.h"> + </File> + <File + RelativePath=".\misc\vector_2f.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_2f.h"> + </File> + <File + RelativePath=".\misc\vector_h.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vector_h.h"> + </File> + <File + RelativePath="..\include\nel\misc\vector_inline.h"> + </File> + <File + RelativePath=".\misc\vectord.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\vectord.h"> + </File> + <File + RelativePath="..\include\nel\misc\vectord_inline.h"> + </File> + </Filter> + <Filter + Name="ConfigFile" + Filter=""> + <File + RelativePath=".\misc\config_file\config_file.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + PrecompiledHeaderThrough="../stdmisc.h"/> + </FileConfiguration> + </File> + <File + RelativePath="..\include\nel\misc\config_file.h"> + </File> + <File + RelativePath=".\misc\config_file\config_file.lex"> + </File> + <File + RelativePath=".\misc\config_file\config_file.lex.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc"> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="0"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\config_file\config_file.yacc.cpp.h"> + </File> + </Filter> + <Filter + Name="Events" + Filter=""> + <File + RelativePath=".\misc\event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_emitter.h"> + </File> + <File + RelativePath=".\misc\event_emitter_multi.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_emitter_multi.h"> + </File> + <File + RelativePath=".\misc\event_listener.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_listener.h"> + </File> + <File + RelativePath=".\misc\event_server.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\event_server.h"> + </File> + <File + RelativePath=".\misc\events.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\events.h"> + </File> + <File + RelativePath=".\misc\game_device_events.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\game_device_events.h"> + </File> + <Filter + Name="direct input" + Filter=""> + <File + RelativePath=".\misc\di_event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\di_event_emitter.h"> + </File> + <Filter + Name="direct input devices" + Filter=""> + <File + RelativePath=".\misc\di_game_device.cpp"> + </File> + <File + RelativePath=".\misc\di_game_device.h"> + </File> + <File + RelativePath=".\misc\di_keyboard_device.cpp"> + </File> + <File + RelativePath=".\misc\di_keyboard_device.h"> + </File> + <File + RelativePath=".\misc\di_mouse_device.cpp"> + </File> + <File + RelativePath=".\misc\di_mouse_device.h"> + </File> + </Filter> + </Filter> + <Filter + Name="win32" + Filter=""> + <File + RelativePath=".\misc\win_event_emitter.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_event_emitter.h"> + </File> + </Filter> + <Filter + Name="devices" + Filter=""> + <File + RelativePath="..\include\nel\misc\game_device.h"> + </File> + <File + RelativePath=".\misc\input_device.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\input_device.h"> + </File> + <File + RelativePath="..\include\nel\misc\input_device_manager.h"> + </File> + <File + RelativePath=".\misc\input_device_server.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\input_device_server.h"> + </File> + <File + RelativePath="..\include\nel\misc\keyboard_device.h"> + </File> + <File + RelativePath="..\include\nel\misc\mouse_device.h"> + </File> + </Filter> + </Filter> + <Filter + Name="Memory" + Filter=""> + <File + RelativePath=".\misc\block_memory.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\block_memory.h"> + </File> + <File + RelativePath=".\misc\heap_memory.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\heap_memory.h"> + </File> + <File + RelativePath=".\misc\object_vector.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\object_vector.h"> + </File> + <File + RelativePath="..\include\nel\misc\pool_memory.h"> + </File> + <File + RelativePath=".\misc\stl_block_allocator.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stl_block_allocator.h"> + </File> + <File + RelativePath=".\misc\stl_block_list.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stl_block_list.h"> + </File> + </Filter> + <Filter + Name="Makefile" + Filter=""> + <File + RelativePath=".\misc\Makefile.am"> + </File> + </Filter> + <Filter + Name="Displayer" + Filter=""> + <File + RelativePath=".\misc\displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\displayer.h"> + </File> + <File + RelativePath=".\misc\gtk_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\gtk_displayer.h"> + </File> + <File + RelativePath=".\misc\log.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\log.h"> + </File> + <File + RelativePath=".\misc\mem_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mem_displayer.h"> + </File> + <File + RelativePath=".\misc\win_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_displayer.h"> + </File> + <File + RelativePath=".\misc\window_displayer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\window_displayer.h"> + </File> + </Filter> + <File + RelativePath=".\misc\bit_set.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bit_set.h"> + </File> + <File + RelativePath=".\misc\bitmap.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\bitmap.h"> + </File> + <File + RelativePath=".\misc\buf_fifo.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\buf_fifo.h"> + </File> + <File + RelativePath=".\misc\class_id.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\class_id.h"> + </File> + <File + RelativePath=".\misc\command.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\command.h"> + </File> + <File + RelativePath=".\misc\common.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\common.h"> + </File> + <File + RelativePath=".\misc\cpu_info.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\cpu_info.h"> + </File> + <File + RelativePath=".\misc\debug.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\debug.h"> + </File> + <File + RelativePath=".\misc\entity_id.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\entity_id.h"> + </File> + <File + RelativePath=".\misc\hierarchical_timer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\hierarchical_timer.h"> + </File> + <File + RelativePath=".\misc\i18n.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\i18n.h"> + </File> + <File + RelativePath=".\misc\mutex.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\mutex.h"> + </File> + <File + RelativePath=".\misc\p_thread.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\p_thread.h"> + </File> + <File + RelativePath=".\misc\path.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\path.h"> + </File> + <File + RelativePath=".\misc\quad.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\quad.h"> + </File> + <File + RelativePath=".\misc\reader_writer.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\reader_writer.h"> + </File> + <File + RelativePath=".\misc\rgba.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\rgba.h"> + </File> + <File + RelativePath=".\misc\smart_ptr.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\smart_ptr.h"> + </File> + <File + RelativePath="..\include\nel\misc\smart_ptr_inline.h"> + </File> + <File + RelativePath=".\misc\stdmisc.cpp"> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + </File> + <File + RelativePath=".\misc\stdmisc.h"> + </File> + <File + RelativePath=".\misc\stop_watch.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\stop_watch.h"> + </File> + <File + RelativePath=".\misc\string_id_array.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\string_id_array.h"> + </File> + <File + RelativePath=".\misc\system_info.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\system_info.h"> + </File> + <File + RelativePath=".\misc\task_manager.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\task_manager.h"> + </File> + <File + RelativePath="..\include\nel\misc\thread.h"> + </File> + <File + RelativePath=".\misc\time_nl.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\time_nl.h"> + </File> + <File + RelativePath="..\include\nel\misc\types_nl.h"> + </File> + <File + RelativePath="..\include\nel\misc\ucstring.h"> + </File> + <File + RelativePath=".\misc\value_smoother.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\value_smoother.h"> + </File> + <File + RelativePath=".\misc\win_thread.cpp"> + </File> + <File + RelativePath="..\include\nel\misc\win_thread.h"> + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/nel.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/nel.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..bb983fd8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/nel.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,93 @@ +# Microsoft Developer Studio Project File - Name="nel" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=nel - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "nel.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "nel.mak" CFG="nel - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "nel - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "nel - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE "nel - Win32 ReleaseDebug" (based on "Win32 (x86) Generic Project") +!MESSAGE "nel - Win32 DebugFast" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "nel - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "nel - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "nel - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "nel___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "nel___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "nel___Win32_ReleaseDebug" +# PROP Intermediate_Dir "nel___Win32_ReleaseDebug" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "nel - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "nel___Win32_DebugFast" +# PROP BASE Intermediate_Dir "nel___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "nel___Win32_DebugFast" +# PROP Intermediate_Dir "nel___Win32_DebugFast" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "nel - Win32 Release" +# Name "nel - Win32 Debug" +# Name "nel - Win32 ReleaseDebug" +# Name "nel - Win32 DebugFast" +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..fa41c439 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.1&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,92 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "pacs___Win32_Debug" +# PROP Intermediate_Dir "pacs___Win32_Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.10&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.10&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..2296126a --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.10&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,192 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /FR /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_primitive.h +# End Source File +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.14&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.14&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..7cc0d6db --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.14&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,269 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /FR /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ReleaseDebug" +# PROP Intermediate_Dir "ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "TEST_CELL" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\edge_collide.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_primitive.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=..\include_private\nel\pacs\vector_2s.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.18&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.18&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..3b80b956 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.18&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,278 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fd"../lib/nlpacs" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /FR /Fd"../lib/nlpacs_debug" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fd"../lib/nlpacs_rd" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\edge_collide.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\move_primitive.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=..\include_private\nel\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.2&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.2&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..7080dce3 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.2&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,108 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "pacs___Win32_Debug" +# PROP Intermediate_Dir "pacs___Win32_Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_primitive.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.21&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.21&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..475a951f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.21&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,310 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /FR /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.23&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.23&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..980c37f7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.23&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,322 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /FR /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_retriever_bank.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.26&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.26&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..5f06c2ae --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.26&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,371 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT CPP /Gy /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_DebugFast" +# PROP BASE Intermediate_Dir "pacs___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/DebugFast" +# PROP Intermediate_Dir "../obj/DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT BASE CPP /Gy /YX +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Ob1 /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /Fr /FD /GZ /c +# SUBTRACT CPP /Gy /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"../lib/nlpacs_debug.lib" +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Name "pacs - Win32 DebugFast" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_mesh_build.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\face_grid.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_retriever_bank.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=.\pacs\quad_grid.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.27&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.27&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..71e5361e --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.27&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,371 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT CPP /Gy /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_DebugFast" +# PROP BASE Intermediate_Dir "pacs___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/DebugFast" +# PROP Intermediate_Dir "../obj/DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT BASE CPP /Gy /YX +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Ob1 /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /Fr /FD /GZ /c +# SUBTRACT CPP /Gy /YX +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"../lib/nlpacs_debug.lib" +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug_fast.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Name "pacs - Win32 DebugFast" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_mesh_build.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\face_grid.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_retriever_bank.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=.\pacs\quad_grid.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.3&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.3&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..6d6197c8 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.3&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,148 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "pacs___Win32_Debug" +# PROP Intermediate_Dir "pacs___Win32_Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\surface_quad.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.30&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.30&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..46397bbd --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.30&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,380 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Yu"stdpacs.h" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /Fr /Yu"stdpacs.h" /FD /GZ /c +# SUBTRACT CPP /Gy +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "NL_RELEASE_DEBUG" /Yu"stdpacs.h" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_DebugFast" +# PROP BASE Intermediate_Dir "pacs___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/DebugFast" +# PROP Intermediate_Dir "../obj/DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT BASE CPP /Gy /YX +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Ob1 /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "NL_DEBUG_FAST" /Fr /Yu"stdpacs.h" /FD /GZ /c +# SUBTRACT CPP /Gy +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"../lib/nlpacs_debug.lib" +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug_fast.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Name "pacs - Win32 DebugFast" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_mesh_build.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\face_grid.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_retriever_bank.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Source File + +SOURCE=.\pacs\quad_grid.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\stdpacs.cpp +# ADD CPP /Yc"stdpacs.h" +# End Source File +# Begin Source File + +SOURCE=.\pacs\stdpacs.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.33&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.33&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..c5906fb0 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.33&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,404 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 DebugFast +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 DebugFast" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 ReleaseDebug" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 DebugFast" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/Release" +# PROP Intermediate_Dir "../obj/Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Yu"stdpacs.h" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/Debug" +# PROP Intermediate_Dir "../obj/Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "__STL_DEBUG" /D "_MBCS" /D "WIN32" /D "_DEBUG" /Fr /Yu"stdpacs.h" /FD /GZ /c +# SUBTRACT CPP /Gy +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 ReleaseDebug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Intermediate_Dir "pacs___Win32_ReleaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../obj/ReleaseDebug" +# PROP Intermediate_Dir "../obj/ReleaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "NL_RELEASE_DEBUG" /Yu"stdpacs.h" /FD /c +# SUBTRACT CPP /Fr +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"../lib/nlpacs_rd.lib" + +!ELSEIF "$(CFG)" == "pacs - Win32 DebugFast" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_DebugFast" +# PROP BASE Intermediate_Dir "pacs___Win32_DebugFast" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../obj/DebugFast" +# PROP Intermediate_Dir "../obj/DebugFast" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "__STL_DEBUG" /Fr /FD /GZ /c +# SUBTRACT BASE CPP /Gy /YX +# ADD CPP /nologo /MDd /W3 /Gm /Gi /GR /GX /Zi /Od /Ob1 /Gf /D "_LIB" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "NL_DEBUG_FAST" /Fr /Yu"stdpacs.h" /FD /GZ /c +# SUBTRACT CPP /Gy +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"../lib/nlpacs_debug.lib" +# ADD LIB32 /nologo /out:"../lib/nlpacs_debug_fast.lib" + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Name "pacs - Win32 ReleaseDebug" +# Name "pacs - Win32 DebugFast" +# Begin Group "Static Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_mesh_build.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_surface_temp.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_quad.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\exterior_mesh.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\face_grid.h +# End Source File +# End Group +# Begin Group "Dynamic Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_callback.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_callback.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_ot.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_cell.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_element_inline.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_block.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_block_pacs.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\primitive_world_image.h +# End Source File +# End Group +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\global_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_bank.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "User" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\include\nel\pacs\u_collision_desc.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_position.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_global_retriever.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_container.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_move_primitive.h +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\u_retriever_bank.h +# End Source File +# End Group +# Begin Group "UserImp" + +# PROP Default_Filter "" +# End Group +# Begin Group "Build" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\build_indoor.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\build_indoor.h +# End Source File +# End Group +# Begin Source File + +SOURCE=.\pacs\Makefile.am +# End Source File +# Begin Source File + +SOURCE=.\pacs\quad_grid.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\stdpacs.cpp +# ADD CPP /Yc"stdpacs.h" +# End Source File +# Begin Source File + +SOURCE=.\pacs\stdpacs.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.cpp +# End Source File +# Begin Source File + +SOURCE=.\pacs\vector_2s.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.4&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.4&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..5695eff7 --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.4&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,140 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "pacs___Win32_Debug" +# PROP Intermediate_Dir "pacs___Win32_Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\surface_quad.h +# End Source File +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.6&content-type=text/plain&sortby=author/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.6&content-type=text/plain&sortby=author/index.html new file mode 100644 index 00000000..eb656e4d --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.dsp?rev=1.6&content-type=text/plain&sortby=author/index.html @@ -0,0 +1,164 @@ +# Microsoft Developer Studio Project File - Name="pacs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=pacs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pacs.mak" CFG="pacs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pacs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "pacs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "pacs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "pacs___Win32_Release" +# PROP BASE Intermediate_Dir "pacs___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pacs___Win32_Release" +# PROP Intermediate_Dir "pacs___Win32_Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "pacs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "pacs___Win32_Debug" +# PROP BASE Intermediate_Dir "pacs___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "__STL_DEBUG" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "pacs - Win32 Release" +# Name "pacs - Win32 Debug" +# Begin Group "Pathfinding" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\chain.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\chain.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\local_retriever.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\local_retriever.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retrievable_surface.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retrievable_surface.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\retriever_instance.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\retriever_instance.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\surface_quad.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\surface_quad.h +# End Source File +# End Group +# Begin Group "Collisions" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\pacs\collision_desc.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\collision_desc.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\edge_collide.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\edge_collide.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_container.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_container.h +# End Source File +# Begin Source File + +SOURCE=.\pacs\move_primitive.cpp +# End Source File +# Begin Source File + +SOURCE=..\include\nel\pacs\move_primitive.h +# End Source File +# End Group +# End Target +# End Project diff --git a/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html new file mode 100644 index 00000000..d55a9a1f --- /dev/null +++ b/cvs/cvsweb.cgi/~checkout~/code/nel/src/pacs.vcproj?rev=1.2&content-type=text/plain&sortby=rev/index.html @@ -0,0 +1,458 @@ +<?xml version="1.0" encoding = "Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.00" + Name="pacs" + SccProjectName="" + SccLocalPath=""> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="ReleaseDebug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="WIN32,NDEBUG,_LIB,NL_RELEASE_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + GlobalOptimizations="TRUE" + InlineFunctionExpansion="2" + EnableIntrinsicFunctions="TRUE" + ImproveFloatingPointConsistency="TRUE" + FavorSizeOrSpeed="1" + OmitFramePointers="TRUE" + PreprocessorDefinitions="WIN32,NDEBUG,_LIB" + StringPooling="TRUE" + MinimalRebuild="TRUE" + RuntimeLibrary="2" + BufferSecurityCheck="FALSE" + EnableFunctionLevelLinking="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="DebugFast|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + InlineFunctionExpansion="1" + PreprocessorDefinitions="_LIB,WIN32,_DEBUG,NL_DEBUG_FAST" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + <Configuration + Name="Debug|Win32" + OutputDirectory="..\lib7\" + IntermediateDirectory="..\obj7\$(ConfigurationName)\$(ProjectName)\" + ConfigurationType="4" + UseOfMFC="0" + ATLMinimizesCRunTimeLibraryUsage="FALSE" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + PreprocessorDefinitions="_LIB,__STL_DEBUG,WIN32,_DEBUG" + StringPooling="TRUE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + SmallerTypeCheck="TRUE" + RuntimeLibrary="3" + BufferSecurityCheck="TRUE" + ForceConformanceInForLoopScope="TRUE" + RuntimeTypeInfo="TRUE" + UsePrecompiledHeader="3" + PrecompiledHeaderThrough="std$(ProjectName).h" + PrecompiledHeaderFile="$(IntDir)$(ProjectName).pch" + AssemblerListingLocation="$(IntDir)" + ObjectFile="$(IntDir)" + ProgramDataBaseFileName="$(OutDir)nl$(ProjectName)_$(ConfigurationName)" + BrowseInformation="0" + WarningLevel="3" + SuppressStartupBanner="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLibrarianTool" + OutputFile="$(OutDir)nl$(ProjectName)_$(ConfigurationName).lib" + SuppressStartupBanner="TRUE"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG" + Culture="1036"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + </Configuration> + </Configurations> + <Files> + <Filter + Name="Static Collisions" + Filter=""> + <File + RelativePath=".\pacs\chain_quad.cpp"> + </File> + <File + RelativePath=".\pacs\chain_quad.h"> + </File> + <File + RelativePath=".\pacs\collision_mesh_build.h"> + </File> + <File + RelativePath=".\pacs\collision_surface_temp.cpp"> + </File> + <File + RelativePath=".\pacs\collision_surface_temp.h"> + </File> + <File + RelativePath=".\pacs\edge_collide.cpp"> + </File> + <File + RelativePath=".\pacs\edge_collide.h"> + </File> + <File + RelativePath=".\pacs\edge_quad.cpp"> + </File> + <File + RelativePath=".\pacs\edge_quad.h"> + </File> + <File + RelativePath=".\pacs\exterior_mesh.cpp"> + </File> + <File + RelativePath=".\pacs\exterior_mesh.h"> + </File> + <File + RelativePath=".\pacs\face_grid.h"> + </File> + </Filter> + <Filter + Name="Dynamic Collisions" + Filter=""> + <File + RelativePath=".\pacs\collision_callback.cpp"> + </File> + <File + RelativePath=".\pacs\collision_callback.h"> + </File> + <File + RelativePath=".\pacs\collision_desc.cpp"> + </File> + <File + RelativePath=".\pacs\collision_desc.h"> + </File> + <File + RelativePath=".\pacs\collision_ot.cpp"> + </File> + <File + RelativePath=".\pacs\collision_ot.h"> + </File> + <File + RelativePath=".\pacs\move_cell.cpp"> + </File> + <File + RelativePath=".\pacs\move_cell.h"> + </File> + <File + RelativePath=".\pacs\move_container.cpp"> + </File> + <File + RelativePath=".\pacs\move_container.h"> + </File> + <File + RelativePath=".\pacs\move_container_inline.h"> + </File> + <File + RelativePath=".\pacs\move_element.cpp"> + </File> + <File + RelativePath=".\pacs\move_element.h"> + </File> + <File + RelativePath=".\pacs\move_element_inline.h"> + </File> + <File + RelativePath=".\pacs\move_primitive.cpp"> + </File> + <File + RelativePath=".\pacs\move_primitive.h"> + </File> + <File + RelativePath=".\pacs\primitive_block.h"> + </File> + <File + RelativePath=".\pacs\primitive_block_pacs.cpp"> + </File> + <File + RelativePath=".\pacs\primitive_world_image.cpp"> + </File> + <File + RelativePath=".\pacs\primitive_world_image.h"> + </File> + </Filter> + <Filter + Name="Pathfinding" + Filter=""> + <File + RelativePath=".\pacs\chain.cpp"> + </File> + <File + RelativePath=".\pacs\chain.h"> + </File> + <File + RelativePath=".\pacs\global_retriever.cpp"> + </File> + <File + RelativePath=".\pacs\global_retriever.h"> + </File> + <File + RelativePath=".\pacs\local_retriever.cpp"> + </File> + <File + RelativePath=".\pacs\local_retriever.h"> + </File> + <File + RelativePath=".\pacs\retrievable_surface.cpp"> + </File> + <File + RelativePath=".\pacs\retrievable_surface.h"> + </File> + <File + RelativePath=".\pacs\retriever_bank.cpp"> + </File> + <File + RelativePath=".\pacs\retriever_bank.h"> + </File> + <File + RelativePath=".\pacs\retriever_instance.cpp"> + </File> + <File + RelativePath=".\pacs\retriever_instance.h"> + </File> + <File + RelativePath=".\pacs\surface_quad.cpp"> + </File> + <File + RelativePath=".\pacs\surface_quad.h"> + </File> + </Filter> + <Filter + Name="User" + Filter=""> + <File + RelativePath="..\include\nel\pacs\u_collision_desc.h"> + </File> + <File + RelativePath="..\include\nel\pacs\u_global_position.h"> + </File> + <File + RelativePath="..\include\nel\pacs\u_global_retriever.h"> + </File> + <File + RelativePath="..\include\nel\pacs\u_move_container.h"> + </File> + <File + RelativePath="..\include\nel\pacs\u_move_primitive.h"> + </File> + <File + RelativePath="..\include\nel\pacs\u_retriever_bank.h"> + </File> + </Filter> + <Filter + Name="Build" + Filter=""> + <File + RelativePath=".\pacs\build_indoor.cpp"> + </File> + <File + RelativePath=".\pacs\build_indoor.h"> + </File> + </Filter> + <Filter + Name="UserImp" + Filter=""> + </Filter> + <File + RelativePath=".\pacs\Makefile.am"> + </File> + <File + RelativePath=".\pacs\quad_grid.h"> + </File> + <File + RelativePath=".\pacs\stdpacs.cpp"> + <FileConfiguration + Name="ReleaseDebug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="Release|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="DebugFast|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + <FileConfiguration + Name="Debug|Win32"> + <Tool + Name="VCCLCompilerTool" + UsePrecompiledHeader="1"/> + </FileConfiguration> + </File> + <File + RelativePath=".\pacs\stdpacs.h"> + </File> + <File + RelativePath=".\pacs\vector_2s.cpp"> + </File> + <File + RelativePath=".\pacs\vector_2s.h"> + </File> + </Files> + <Globals> + </Globals> +</VisualStudioProject> |