aboutsummaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /cgi-bin
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/nel-search.cgi110
-rw-r--r--cgi-bin/viewcvs.cgi/*docroot*/help_rootview.html83
-rw-r--r--cgi-bin/viewcvs.cgi/code/acinclude.m4?rev=1.71054
-rw-r--r--cgi-bin/viewcvs.cgi/code/index.html405
-rw-r--r--cgi-bin/viewcvs.cgi/code/nel/tools/3d/s3tc_compressor_lib/index.html331
-rw-r--r--cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1bin0 -> 8542051 bytes
-rw-r--r--cgi-bin/viewcvs.cgi/index.html70
7 files changed, 2053 insertions, 0 deletions
diff --git a/cgi-bin/nel-search.cgi b/cgi-bin/nel-search.cgi
new file mode 100644
index 00000000..81bdc170
--- /dev/null
+++ b/cgi-bin/nel-search.cgi
@@ -0,0 +1,110 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.2 on Tue May 1 22:30:21 2001 -->
+<center>
+<a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/index.html">Main Page</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/namespaces.html">Namespace List</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/classes.html">Alphabetical List</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/annotated.html">Compound List</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/files.html">File List</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/functions.html">Compound Members</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/globals.html">File Members</a> &nbsp; <a class="qindexRef" doxygen="_doc:http://www.nevrax.org/docs/doxygen/nel/" href="http://www.nevrax.org/docs/doxygen/nel/pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><form name=doxyform method=GET action="http://www.nevrax.org/cgi-bin/nel-search.cgi">
+<center>
+<input type=hidden name=page value=0>
+<table border=0 bgcolor="#ffffcc" cellspacing=0 cellpadding=4>
+ <tr>
+ <td valign=top><font size=-1 face="arial, helvetica"><b> Search for
+ <select name=which>
+ <option value=string selected>strings
+ <option value=word >words
+ </select>
+ in function and class
+ <select name=what>
+ <option value=doc selected>documentation
+ <option value=name >names</select></b></font>
+ </td>
+ <td valign=top align=right>
+ <a href="http://www.nevrax.org/cgi-bin/nel-search.cgi?help=on"><font size=-1>Help</font></a>
+ </td>
+ </tr>
+ <tr>
+ <td><input name=query size=44 wrap=virtual maxlength=1000 value="">
+ </td>
+ <td><input type=image src="http://www.nevrax.org/docs/doxygen/nel//search.gif" height=26 width=120 border=0 name="search">
+ </td>
+ </tr>
+ <tr bgcolor=#ffffff>
+ <td colspan=2><br><h3>Search results</h3>
+ </td>
+ </tr>
+ <tr bgcolor=#ffffff>
+ <td colspan=2>Sorry, no documents matching your query.
+ </td>
+ </tr>
+</table>
+</center>
+</form>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>
diff --git a/cgi-bin/viewcvs.cgi/*docroot*/help_rootview.html b/cgi-bin/viewcvs.cgi/*docroot*/help_rootview.html
new file mode 100644
index 00000000..40e9125d
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/*docroot*/help_rootview.html
@@ -0,0 +1,83 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+ <head>
+ <title>ViewCVS Help: Toplevel Directory View</title>
+ </head>
+
+<body background="images/chalk.jpg">
+ <table width="100&#37;" cellspacing=5>
+ <tr>
+ <td width="1%"><a href=".."><img border=0
+ src="images/logo.png"></a>
+ </td>
+ <td>
+ <h1>ViewCVS Help: Toplevel Directory View</h1>
+ </td>
+ </tr>
+ <tr><td width="1%" valign=top bgcolor="#ffffff">
+ <h3>Help</h3>
+ <b>General</b>
+ <a href="help_dirview.html">Directory&nbsp;View</a><br>
+ <a href="help_log.html">Classic&nbsp;Log&nbsp;View</a><br>
+ <a href="help_logtable.html">Alternative&nbsp;Log&nbsp;View</a><br>
+ <a href="help_query.html">Query&nbsp;Database</a><br>
+
+ <h3>Internet</h3>
+ <a href="http://viewcvs.sf.net/index.html">Home</a><br>
+ <a href="http://viewcvs.sf.net/upgrading.html">Upgrading</a><br>
+ <a href="http://viewcvs.sf.net/contributing.html">Contributing</a><br>
+ <a href="http://viewcvs.sf.net/license-1.html">License</a><br>
+ </td><td colspan=2>
+
+ <p><b>ViewCVS</b> is a WWW interface for CVS Repositories.</b>
+ You can browse the
+ file hierarchy by picking directories (which have slashes after
+ them, <i>e.g.</i>, <b>src/</b>). If you pick a file, you will see
+ the revision history for that file. Selecting a revision number
+ will display that revision of the file. There is a link at each
+ revision to display diffs between that revision and the previous
+ one, and a form at the bottom of the page that allows you to
+ display diffs between arbitrary revisions.
+ </p>
+ <h3>ViewCVS History and Credits</h3>
+ <p>
+ This program
+ (<a href="http://viewcvs.sourceforge.net/">ViewCVS</a>)
+ has been written by Greg Stein
+ &lt;<a href="mailto:gstein@lyra.org">gstein@lyra.org</a>&gt;
+ based on the
+ <a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi">cvsweb</a>
+ script by Henner Zeller
+ &lt;<a href="mailto:zeller@think.de">zeller@think.de</a>&gt;;
+ it is covered by the
+ <a href="http://www.opensource.org/licenses/bsd-license.html">BSD-License</a>.
+ If you would like to use this CGI script on your own web server and
+ CVS tree, see Greg's
+ <a href="http://viewcvs.sourceforge.net/">ViewCVS&nbsp;distribution&nbsp;site</a>.
+ Please send any suggestions, comments, etc. to the
+ <a href="mailto:viewcvs-dev@lyra.org">ViewCVS&nbsp;Developers&nbsp;Mailinglist</a>.
+ </p>
+
+ <h3>Documentation about CVS</h3>
+ <blockquote>
+ <p>
+ <a href="http://cvsbook.red-bean.com/">Karl Fogel's CVS book</a><br>
+ <a href="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">CVS
+ User's Guide</a><br>
+ <a href="http://cellworks.washington.edu/pub/docs/cvs/tutorial/cvs_tutorial_1.html">Another CVS tutorial</a><br>
+ <a href="http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/">Yet another CVS tutorial (a little old, but nice)</a><br>
+ <a href="http://www.cs.utah.edu/dept/old/texinfo/cvs/FAQ.txt">An old but very useful FAQ about CVS</a>
+ </p>
+ </blockquote>
+
+ <!-- insert repository access instructions here -->
+
+ </td></tr></table>
+ <hr>
+ <address><a href="mailto:viewcvs-dev@lyra.org">ViewCVS Group</a></address>
+<!-- Created: Thu Oct 25 22:16:29 CEST 2001 -->
+<!-- hhmts start -->
+Last modified: Tue Nov 13 20:41:02 CEST 2001
+<!-- hhmts end -->
+ </body>
+</html>
diff --git a/cgi-bin/viewcvs.cgi/code/acinclude.m4?rev=1.7 b/cgi-bin/viewcvs.cgi/code/acinclude.m4?rev=1.7
new file mode 100644
index 00000000..a7fcf13f
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/code/acinclude.m4?rev=1.7
@@ -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/cgi-bin/viewcvs.cgi/code/index.html b/cgi-bin/viewcvs.cgi/code/index.html
new file mode 100644
index 00000000..4d67fa43
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/code/index.html
@@ -0,0 +1,405 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html><head>
+<!-- ViewCVS -- http://viewcvs.sourceforge.net/
+by Greg Stein -- mailto:gstein@lyra.org
+-->
+<title>code</title>
+</head>
+<body text="#000000" bgcolor="#ffffff">
+<table width="100%" border=0 cellspacing=0 cellpadding=0>
+<tr>
+<td rowspan=2><h1>code</h1></td>
+<td align=right><img src="/viewcvs/images/logo.png" alt="(logo)" border=0
+width=128 height=48></td>
+</tr>
+<tr>
+<td align=right><h3><b><a target="_blank"
+href="/cgi-bin/viewcvs.cgi/*docroot*/help_dirview.html">ViewCVS and CVS Help</a></b></h3></td>
+</tr>
+</table>
+
+<p><a name="dirlist"></a></p>
+
+<table>
+<tr><td>Current directory:</td><td><b><a href="/cgi-bin/viewcvs.cgi/#dirlist">[NeL]</a> / code</b></td></tr>
+
+
+
+<tr><td>Files shown:</td><td><b>2</b></td></tr>
+
+</table>
+
+<hr noshade>
+
+<table width="100%" border=0 cellspacing=1 cellpadding=2>
+<tr>
+
+
+<th align=left bgcolor="#88ff88"
+
+>File</th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=rev"#dirlist>Rev.</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=date#dirlist">Age</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=author#dirlist">Author</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=log#dirlist">Last log entry</a></th>
+
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+<td >
+<a name="nel" href="nel/">
+<img src="/viewcvs/icons/dir.gif" alt="(dir)" border=0 width=16 height=16>
+nel/
+</a>
+
+</td>
+
+
+<td>&nbsp;</td>
+
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+
+
+
+
+
+</tr>
+
+<tr bgcolor="#ccccee">
+
+
+<td >
+<a name="nelns" href="nelns/">
+<img src="/viewcvs/icons/dir.gif" alt="(dir)" border=0 width=16 height=16>
+nelns/
+</a>
+
+</td>
+
+
+<td>&nbsp;</td>
+
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+
+
+
+
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+<td >
+<a name="snowballs2" href="snowballs2/">
+<img src="/viewcvs/icons/dir.gif" alt="(dir)" border=0 width=16 height=16>
+snowballs2/
+</a>
+
+</td>
+
+
+<td>&nbsp;</td>
+
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+
+
+
+
+
+</tr>
+
+<tr bgcolor="#ccccee">
+
+
+<td >
+<a name="tool" href="tool/">
+<img src="/viewcvs/icons/dir.gif" alt="(dir)" border=0 width=16 height=16>
+tool/
+</a>
+
+</td>
+
+
+<td>&nbsp;</td>
+
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+
+
+
+
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+
+<td><a name=".cvsignore" href=".cvsignore">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+.cvsignore
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href=".cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">
+<b>1.1</b>
+</a>
+
+</td>
+<td>&nbsp;5 months</td>
+
+<td>&nbsp;lecroart</td>
+
+
+<td>&nbsp;ADDED: ignoring non cvs file
+</td>
+
+
+
+
+</tr>
+
+<tr bgcolor="#ccccee">
+
+
+
+<td><a name="acinclude.m4" href="acinclude.m4">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+acinclude.m4
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href="acinclude.m4?rev=1.18&content-type=text/vnd.viewcvs-markup">
+<b>1.18</b>
+</a>
+
+</td>
+<td>&nbsp;7 months</td>
+
+<td>&nbsp;lecroart</td>
+
+
+<td>&nbsp;ADDED: new configure format
+ADDED: misc net 3d ligo logic georges are enable by ...</td>
+
+
+
+
+</tr>
+
+</table>
+
+
+
+
+<hr size=1 noshade>
+
+<table><tr><td>
+<form method=GET action="./">
+
+<table>
+
+<tr>
+<td>Show files using tag:</td>
+<td>
+<select name=only_with_tag onchange="submit()">
+
+<option value="">- Branches -</option>
+
+
+<option>branch_ryzom_1_0_1</option>
+
+
+
+<option>branch_ryzom_1_0_0</option>
+
+
+
+<option>branch_ryzom_0_7_2</option>
+
+
+
+<option>branch_ryzom_0_7_0</option>
+
+
+
+<option>branch_ryzom_0_5_9</option>
+
+
+
+<option>branch_ryzom_0_5_0</option>
+
+
+
+<option>branch_ryzom_0_2_0</option>
+
+
+
+<option>branch_ryzom_0_1_0</option>
+
+
+
+<option value="">- Non-branch tags -</option>
+
+
+<option>ryzom_beta2</option>
+
+
+
+<option>ryzom_1_0_1</option>
+
+
+
+<option>ryzom_1_0_0</option>
+
+
+
+<option>ryzom_0_8_0</option>
+
+
+
+<option>ryzom_0_7_2</option>
+
+
+
+<option>ryzom_0_7_0</option>
+
+
+
+<option>ryzom_0_6_2</option>
+
+
+
+<option>ryzom_0_6_1</option>
+
+
+
+<option>ryzom_0_5_9</option>
+
+
+
+<option>ryzom_0_5_7</option>
+
+
+
+<option>ryzom_0_5_6</option>
+
+
+
+<option>ryzom_0_5_5</option>
+
+
+
+<option>ryzom_0_5_4</option>
+
+
+
+<option>ryzom_0_5_3</option>
+
+
+
+<option>ryzom_0_5_2</option>
+
+
+
+<option>ryzom_0_5_1</option>
+
+
+
+<option>ryzom_0_5_0</option>
+
+
+
+<option>RYZOM_0_4_2</option>
+
+
+
+<option>RYZOM_0_4_0</option>
+
+
+
+<option>ryzom_0_2_0</option>
+
+
+
+<option>ryzom_0_1_0</option>
+
+
+
+<option>patch_dachary_1</option>
+
+
+
+<option>MAIN</option>
+
+
+
+<option>last_stable</option>
+
+
+
+<option>HEAD</option>
+
+
+
+<option>georges_v2</option>
+
+
+
+<option>beta3_6</option>
+
+
+</select></td>
+</tr>
+
+
+<tr><td>&nbsp;</td><td><input type="submit" value="Show"></td></tr>
+</table>
+</form>
+</td>
+
+</tr></table>
+
+
+
+<a href="code.tar.gz?tarball=1">Download tarball</a>
+
+
+<hr noshade>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
+<td align=left><address><a href="mailto:admin@nevrax.com">NeL CVS Admin</a></address></td>
+<td align=right>
+Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS 0.9.2</a>
+</td></tr></table>
+</body></html>
+
diff --git a/cgi-bin/viewcvs.cgi/code/nel/tools/3d/s3tc_compressor_lib/index.html b/cgi-bin/viewcvs.cgi/code/nel/tools/3d/s3tc_compressor_lib/index.html
new file mode 100644
index 00000000..3b697c75
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/code/nel/tools/3d/s3tc_compressor_lib/index.html
@@ -0,0 +1,331 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html><head>
+<!-- ViewCVS -- http://viewcvs.sourceforge.net/
+by Greg Stein -- mailto:gstein@lyra.org
+-->
+<title>code/nel/tools/3d/s3tc_compressor_lib</title>
+</head>
+<body text="#000000" bgcolor="#ffffff">
+<table width="100%" border=0 cellspacing=0 cellpadding=0>
+<tr>
+<td rowspan=2><h1>code/nel/tools/3d/s3tc_compressor_lib</h1></td>
+<td align=right><img src="/viewcvs/images/logo.png" alt="(logo)" border=0
+width=128 height=48></td>
+</tr>
+<tr>
+<td align=right><h3><b><a target="_blank"
+href="/cgi-bin/viewcvs.cgi/*docroot*/help_dirview.html">ViewCVS and CVS Help</a></b></h3></td>
+</tr>
+</table>
+
+<p><a name="dirlist"></a></p>
+
+<table>
+<tr><td>Current directory:</td><td><b><a href="/cgi-bin/viewcvs.cgi/#dirlist">[NeL]</a> / <a href="/cgi-bin/viewcvs.cgi/code/#dirlist">code</a> / <a href="/cgi-bin/viewcvs.cgi/code/nel/#dirlist">nel</a> / <a href="/cgi-bin/viewcvs.cgi/code/nel/tools/#dirlist">tools</a> / <a href="/cgi-bin/viewcvs.cgi/code/nel/tools/3d/#dirlist">3d</a> / s3tc_compressor_lib</b></td></tr>
+
+
+
+<tr><td>Files shown:</td><td><b>4</b></td></tr>
+
+</table>
+
+<hr noshade>
+
+<table width="100%" border=0 cellspacing=1 cellpadding=2>
+<tr>
+
+
+<th align=left bgcolor="#88ff88"
+
+>File</th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=rev"#dirlist>Rev.</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=date#dirlist">Age</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=author#dirlist">Author</a></th>
+
+
+<th align=left bgcolor="#cccccc"
+><a href="./?sortby=log#dirlist">Last log entry</a></th>
+
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+
+<td><a name="s3tc_compressor.cpp" href="s3tc_compressor.cpp">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+s3tc_compressor.cpp
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href="s3tc_compressor.cpp?rev=1.3&content-type=text/vnd.viewcvs-markup">
+<b>1.3</b>
+</a>
+
+</td>
+<td>&nbsp;14 months</td>
+
+<td>&nbsp;berenguier</td>
+
+
+<td>&nbsp;FIXED: Optim: Change TextureFar system.
+FIXED: CBitmap: stores now CObjectVector...</td>
+
+
+
+
+</tr>
+
+<tr bgcolor="#ccccee">
+
+
+
+<td><a name="s3tc_compressor.h" href="s3tc_compressor.h">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+s3tc_compressor.h
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href="s3tc_compressor.h?rev=1.1&content-type=text/vnd.viewcvs-markup">
+<b>1.1</b>
+</a>
+
+</td>
+<td>&nbsp;20 months</td>
+
+<td>&nbsp;berenguier</td>
+
+
+<td>&nbsp;FIXED: split tga2dds with s3tc compressor lib
+</td>
+
+
+
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+
+<td><a name="s3tc_compressor_lib.dsp" href="s3tc_compressor_lib.dsp">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+s3tc_compressor_lib.dsp
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href="s3tc_compressor_lib.dsp?rev=1.2&content-type=text/vnd.viewcvs-markup">
+<b>1.2</b>
+</a>
+
+</td>
+<td>&nbsp;16 months</td>
+
+<td>&nbsp;distrib</td>
+
+
+<td>&nbsp;FIXED : define NL_RELEASE_DEBUG
+</td>
+
+
+
+
+</tr>
+
+<tr bgcolor="#ccccee">
+
+
+
+<td><a name="s3tc_compressor_lib.dsw" href="s3tc_compressor_lib.dsw">
+<img src="/viewcvs/icons/text.gif" alt="(file)" border=0
+width=16 height=16>
+s3tc_compressor_lib.dsw
+</a>
+
+</td>
+
+<td>&nbsp;
+<a href="s3tc_compressor_lib.dsw?rev=1.1&content-type=text/vnd.viewcvs-markup">
+<b>1.1</b>
+</a>
+
+</td>
+<td>&nbsp;20 months</td>
+
+<td>&nbsp;berenguier</td>
+
+
+<td>&nbsp;FIXED: split tga2dds with s3tc compressor lib
+</td>
+
+
+
+
+</tr>
+
+</table>
+
+
+
+
+<hr size=1 noshade>
+
+<table><tr><td>
+<form method=GET action="./">
+
+<table>
+
+<tr>
+<td>Show files using tag:</td>
+<td>
+<select name=only_with_tag onchange="submit()">
+
+<option value="">- Branches -</option>
+
+
+<option>branch_ryzom_0_7_2</option>
+
+
+
+<option>branch_ryzom_0_7_0</option>
+
+
+
+<option>branch_ryzom_0_5_9</option>
+
+
+
+<option>branch_ryzom_0_5_0</option>
+
+
+
+<option value="">- Non-branch tags -</option>
+
+
+<option>ryzom_beta2</option>
+
+
+
+<option>ryzom_0_8_0</option>
+
+
+
+<option>ryzom_0_7_2</option>
+
+
+
+<option>ryzom_0_7_0</option>
+
+
+
+<option>ryzom_0_6_2</option>
+
+
+
+<option>ryzom_0_6_1</option>
+
+
+
+<option>ryzom_0_5_9</option>
+
+
+
+<option>ryzom_0_5_7</option>
+
+
+
+<option>ryzom_0_5_6</option>
+
+
+
+<option>ryzom_0_5_5</option>
+
+
+
+<option>ryzom_0_5_4</option>
+
+
+
+<option>ryzom_0_5_3</option>
+
+
+
+<option>ryzom_0_5_2</option>
+
+
+
+<option>ryzom_0_5_1</option>
+
+
+
+<option>ryzom_0_5_0</option>
+
+
+
+<option>RYZOM_0_4_2</option>
+
+
+
+<option>RYZOM_0_4_0</option>
+
+
+
+<option>MAIN</option>
+
+
+
+<option>last_stable</option>
+
+
+
+<option>HEAD</option>
+
+
+
+<option>beta3_6</option>
+
+
+</select></td>
+</tr>
+
+
+<tr><td>&nbsp;</td><td><input type="submit" value="Show"></td></tr>
+</table>
+</form>
+</td>
+
+</tr></table>
+
+
+
+<a href="s3tc_compressor_lib.tar.gz?tarball=1">Download tarball</a>
+
+
+<hr noshade>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
+<td align=left><address><a href="mailto:admin@nevrax.com">NeL CVS Admin</a></address></td>
+<td align=right>
+Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS 0.9.2</a>
+</td></tr></table>
+</body></html>
+
diff --git a/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1 b/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1
new file mode 100644
index 00000000..f9e7552d
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1
Binary files differ
diff --git a/cgi-bin/viewcvs.cgi/index.html b/cgi-bin/viewcvs.cgi/index.html
new file mode 100644
index 00000000..beb11da2
--- /dev/null
+++ b/cgi-bin/viewcvs.cgi/index.html
@@ -0,0 +1,70 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
+"http://www.w3.org/TR/REC-html40/loose.dtd">
+<html><head>
+<!-- ViewCVS -- http://viewcvs.sourceforge.net/
+by Greg Stein -- mailto:gstein@lyra.org
+-->
+<title>NeL CVS Repository</title>
+</head>
+<body text="#000000" bgcolor="#ffffff">
+<table width="100%" border=0 cellspacing=0 cellpadding=0>
+<tr>
+<td rowspan=2><h1>NeL CVS Repository</h1></td>
+<td align=right><img src="/viewcvs/images/logo.png" alt="(logo)" border=0
+width=128 height=48></td>
+</tr>
+<tr>
+<td align=right><h3><b><a target="_blank"
+href="/cgi-bin/viewcvs.cgi/*docroot*/help_rootview.html">ViewCVS and CVS Help</a></b></h3></td>
+</tr>
+</table>
+
+<!-- you may insert repository access instructions here -->
+
+
+<p><a name="dirlist"></a></p>
+
+<hr noshade>
+
+<table width="100%" border=0 cellspacing=1 cellpadding=2>
+<tr>
+
+<th align=left bgcolor="#cccccc">File</th>
+
+</tr>
+
+<tr bgcolor="#ffffff">
+
+
+<td >
+<a name="code" href="code/">
+<img src="/viewcvs/icons/dir.gif" alt="(dir)" border=0 width=16 height=16>
+code/
+</a>
+
+</td>
+
+
+
+
+
+</tr>
+
+</table>
+
+
+
+
+
+
+<a href="cvs_root.tar.gz?tarball=1">Download tarball</a>
+
+
+<hr noshade>
+<table width="100%" border=0 cellpadding=0 cellspacing=0><tr>
+<td align=left><address><a href="mailto:admin@nevrax.com">NeL CVS Admin</a></address></td>
+<td align=right>
+Powered by<br><a href="http://viewcvs.sourceforge.net/">ViewCVS 0.9.2</a>
+</td></tr></table>
+</body></html>
+