aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text
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 /cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text')
-rw-r--r--cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&hideattic=0&sortby=rev/index.html321
-rw-r--r--cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&sortby=log/index.html321
2 files changed, 642 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&hideattic=0&sortby=rev/index.html b/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&hideattic=0&sortby=rev/index.html
new file mode 100644
index 00000000..7d57271b
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&hideattic=0&sortby=rev/index.html
@@ -0,0 +1,321 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/nel/configure.in - view - 1.56</TITLE></HEAD>
+<BODY BGCOLOR="#eeeeee">
+<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="configure.in?hideattic=0&amp;sortby=rev"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="configure.in?hideattic=0&amp;sortby=rev">configure.in</A>
+ CVS log</b> <IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to <a href="/cvs/cvsweb.cgi/?hideattic=0&amp;sortby=rev">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?hideattic=0&amp;sortby=rev">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?hideattic=0&amp;sortby=rev">nel</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/?hideattic=0&amp;sortby=rev">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?hideattic=0&amp;sortby=rev">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?hideattic=0&amp;sortby=rev">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/configure.in?hideattic=0&amp;sortby=rev">configure.in</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&amp;hideattic=0&amp;sortby=rev" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.56</B>, <i>Mon Jan 7 16:09:52 2002 UTC</i> (6 months, 2 weeks ago) by <i>valignat</i>
+<BR>Branch: <b>MAIN</b>
+<BR>Changes since <b>1.55: +18 -342
+ lines</b><PRE>
+Rewrited NeL, NeLNS, and Snowballs configure.in scripts.
+ADDED an 'acinclude.m4' file which contain all M4 macros to check paths of the libraries that we need and macros to check the intalation of NeL. This file is placed in the code directory and there is symbolic links to that file in the 'nel', 'nelns' and 'snowballs2' directories.
+</PRE>
+</td></tr></table><HR noshade><PRE>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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; number.
+dnl PICO_VERSION correspond to the interface AGE, which is the number
+dnl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;of previous additional interfaces supported by this library.
+dnl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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=&quot;$CFLAGS -ftemplate-depth-24&quot;
+CXXFLAGS=&quot;$CXXFLAGS -ftemplate-depth-24&quot;
+
+
+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=&quot;misc&quot;
+
+dnl Network library
+AC_ARG_ENABLE( net,
+ &nbsp; &nbsp;[ &nbsp;--disable-net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disable compilation and install of NeL Network.],
+ &nbsp; &nbsp;, enable_net=yes )
+
+if test $enable_net = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL Network.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS net&quot;
+fi
+
+dnl 3D library
+AC_ARG_ENABLE( 3d,
+ &nbsp; &nbsp;[ &nbsp;--disable-3d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disable compilation and install of NeL 3D.],
+ &nbsp; &nbsp;, enable_3d=yes )
+
+if test $enable_3d = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL 3D.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS 3d&quot;
+fi
+
+dnl PACS library
+AC_ARG_ENABLE( pacs,
+ &nbsp; &nbsp;[ &nbsp;--disable-pacs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disable compilation and install of NeL PACS.],
+ &nbsp; &nbsp;, enable_pacs=yes )
+
+if test $enable_pacs = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL PACS.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS pacs&quot;
+fi
+
+dnl Sound library
+AC_ARG_ENABLE( sound,
+ &nbsp; &nbsp;[ &nbsp;--enable-sound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;enable compilation and install of NeL Sound.],
+ &nbsp; &nbsp;, enable_sound=no )
+
+if test $enable_sound = &quot;yes&quot;;
+then
+ &nbsp; AC_MSG_RESULT(enable NEL Sound.)
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS sound&quot;
+fi
+
+dnl AI library
+AC_ARG_ENABLE( ai,
+ &nbsp; &nbsp;[ &nbsp;--enable-ai &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; enable compilation and install of NeL AI.],
+ &nbsp; &nbsp;, enable_ai=no )
+
+if test $enable_ai = &quot;yes&quot;;
+then
+ &nbsp; AC_MSG_RESULT(enable NEL AI.)
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS ai&quot;
+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 &quot;multi-character character constant&quot; warnings.
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -Wno-multichar&quot;
+fi
+
+dnl Add the define _REENTRANT for a correct use of the threads
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &nbsp; &nbsp;CFLAGS=&quot;$CFLAGS -D_REENTRANT&quot;
+ &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -D_REENTRANT&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for header files.
+
+AC_STDC_HEADERS
+AC_CHECK_HEADERS(fcntl.h unistd.h)
+
+
+dnl ==========
+dnl X11
+dnl ==========
+
+AC_PATH_X
+ &nbsp; &nbsp;
+if test ! &quot;$no_x&quot; = &quot;yes&quot;
+then
+ &nbsp; &nbsp;if test ! X&quot;$x_libraries&quot; = X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;LIBS=&quot;$LIBS -L$x_libraries&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test ! X&quot;$x_includes&quot; = X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -I$x_includes&quot;
+ &nbsp; &nbsp;fi
+else
+ &nbsp; &nbsp;if test &quot;$enable_3d&quot; = &quot;yes&quot;
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;AC_MSG_ERROR(X11 must be installed.)
+ &nbsp; &nbsp;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(
+ &nbsp; &nbsp;[cd include/nel &amp;&amp; ln -sfv ../nelconfig.h .]
+)
+
+AC_OUTPUT( Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/misc/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/net/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/3d/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/pacs/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/sound/Makefile &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/agent/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/c/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/character/Makefile \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/e/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/fuzzy/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/logic/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/nimat/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/pyserver/Makefile &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/script/Makefile &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/tools/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/misc/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/misc/config_file/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/net/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/driver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/driver/opengl/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/pacs/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/driver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/driver/openal/Makefile &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/agent/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/c/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/character/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/fuzzy/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/logic/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/nimat/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/pyserver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/script/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/tools/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nel-config &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+)
+
+
+dnl End of configure.in
+
+</PRE> \ No newline at end of file
diff --git a/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&sortby=log/index.html b/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&sortby=log/index.html
new file mode 100644
index 00000000..918e9108
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/nel/configure.in?rev=1.56&content-type=text/x-cvsweb-markup&sortby=log/index.html
@@ -0,0 +1,321 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/nel/configure.in - view - 1.56</TITLE></HEAD>
+<BODY BGCOLOR="#eeeeee">
+<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="configure.in?sortby=log"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="configure.in?sortby=log">configure.in</A>
+ CVS log</b> <IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to <a href="/cvs/cvsweb.cgi/?sortby=log">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=log">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=log">nel</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/?sortby=log">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=log">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=log">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/configure.in?sortby=log">configure.in</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56&amp;sortby=log" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/configure.in?rev=1.56','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.56</B>, <i>Mon Jan 7 16:09:52 2002 UTC</i> (6 months, 1 week ago) by <i>valignat</i>
+<BR>Branch: <b>MAIN</b>
+<BR>Changes since <b>1.55: +18 -342
+ lines</b><PRE>
+Rewrited NeL, NeLNS, and Snowballs configure.in scripts.
+ADDED an 'acinclude.m4' file which contain all M4 macros to check paths of the libraries that we need and macros to check the intalation of NeL. This file is placed in the code directory and there is symbolic links to that file in the 'nel', 'nelns' and 'snowballs2' directories.
+</PRE>
+</td></tr></table><HR noshade><PRE>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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; number.
+dnl PICO_VERSION correspond to the interface AGE, which is the number
+dnl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;of previous additional interfaces supported by this library.
+dnl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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=&quot;$CFLAGS -ftemplate-depth-24&quot;
+CXXFLAGS=&quot;$CXXFLAGS -ftemplate-depth-24&quot;
+
+
+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=&quot;misc&quot;
+
+dnl Network library
+AC_ARG_ENABLE( net,
+ &nbsp; &nbsp;[ &nbsp;--disable-net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disable compilation and install of NeL Network.],
+ &nbsp; &nbsp;, enable_net=yes )
+
+if test $enable_net = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL Network.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS net&quot;
+fi
+
+dnl 3D library
+AC_ARG_ENABLE( 3d,
+ &nbsp; &nbsp;[ &nbsp;--disable-3d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disable compilation and install of NeL 3D.],
+ &nbsp; &nbsp;, enable_3d=yes )
+
+if test $enable_3d = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL 3D.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS 3d&quot;
+fi
+
+dnl PACS library
+AC_ARG_ENABLE( pacs,
+ &nbsp; &nbsp;[ &nbsp;--disable-pacs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disable compilation and install of NeL PACS.],
+ &nbsp; &nbsp;, enable_pacs=yes )
+
+if test $enable_pacs = &quot;no&quot;;
+then
+ &nbsp; AC_MSG_RESULT(disable NEL PACS.)
+else
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS pacs&quot;
+fi
+
+dnl Sound library
+AC_ARG_ENABLE( sound,
+ &nbsp; &nbsp;[ &nbsp;--enable-sound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;enable compilation and install of NeL Sound.],
+ &nbsp; &nbsp;, enable_sound=no )
+
+if test $enable_sound = &quot;yes&quot;;
+then
+ &nbsp; AC_MSG_RESULT(enable NEL Sound.)
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS sound&quot;
+fi
+
+dnl AI library
+AC_ARG_ENABLE( ai,
+ &nbsp; &nbsp;[ &nbsp;--enable-ai &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; enable compilation and install of NeL AI.],
+ &nbsp; &nbsp;, enable_ai=no )
+
+if test $enable_ai = &quot;yes&quot;;
+then
+ &nbsp; AC_MSG_RESULT(enable NEL AI.)
+ &nbsp; NEL_SUBDIRS=&quot;$NEL_SUBDIRS ai&quot;
+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 &quot;multi-character character constant&quot; warnings.
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -Wno-multichar&quot;
+fi
+
+dnl Add the define _REENTRANT for a correct use of the threads
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &nbsp; &nbsp;CFLAGS=&quot;$CFLAGS -D_REENTRANT&quot;
+ &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -D_REENTRANT&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for header files.
+
+AC_STDC_HEADERS
+AC_CHECK_HEADERS(fcntl.h unistd.h)
+
+
+dnl ==========
+dnl X11
+dnl ==========
+
+AC_PATH_X
+ &nbsp; &nbsp;
+if test ! &quot;$no_x&quot; = &quot;yes&quot;
+then
+ &nbsp; &nbsp;if test ! X&quot;$x_libraries&quot; = X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;LIBS=&quot;$LIBS -L$x_libraries&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test ! X&quot;$x_includes&quot; = X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;CXXFLAGS=&quot;$CXXFLAGS -I$x_includes&quot;
+ &nbsp; &nbsp;fi
+else
+ &nbsp; &nbsp;if test &quot;$enable_3d&quot; = &quot;yes&quot;
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;AC_MSG_ERROR(X11 must be installed.)
+ &nbsp; &nbsp;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(
+ &nbsp; &nbsp;[cd include/nel &amp;&amp; ln -sfv ../nelconfig.h .]
+)
+
+AC_OUTPUT( Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/misc/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/net/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/3d/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/pacs/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/sound/Makefile &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/agent/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/c/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/character/Makefile \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/e/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/fuzzy/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/logic/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/nimat/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/pyserver/Makefile &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/script/Makefile &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include/nel/ai/tools/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/misc/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/misc/config_file/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/net/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/driver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/3d/driver/opengl/Makefile &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/pacs/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/driver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/sound/driver/openal/Makefile &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/agent/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/c/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/character/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/fuzzy/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/logic/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/nimat/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/pyserver/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/script/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src/ai/tools/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nel-config &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+)
+
+
+dnl End of configure.in
+
+</PRE> \ No newline at end of file