aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&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/nelns/configure.in?rev=1.7&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/nelns/configure.in?rev=1.7&content-type=text')
-rw-r--r--cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup&sortby=date/index.html272
-rw-r--r--cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup/index.html272
2 files changed, 544 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup&sortby=date/index.html b/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup&sortby=date/index.html
new file mode 100644
index 00000000..be173961
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup&sortby=date/index.html
@@ -0,0 +1,272 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/nelns/configure.in - view - 1.7</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=date"><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=date">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=date">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=date">code</a> / <a href="/cvs/cvsweb.cgi/code/nelns/?sortby=date">nelns</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/?sortby=date">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=date">code</a> / <a href="/cvs/cvsweb.cgi/code/nelns/?sortby=date">nelns</a> / <a href="/cvs/cvsweb.cgi/code/nelns/configure.in?sortby=date">configure.in</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nelns/configure.in?rev=1.7&amp;sortby=date" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nelns/configure.in?rev=1.7','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.7</B>, <i>Thu Aug 16 12:42:26 2001 UTC</i> (11 months, 1 week ago) by <i>valignat</i>
+<BR>Branch: <b>MAIN</b>
+<BR>Changes since <b>1.6: +5 -5
+ lines</b><PRE>
+# FIXED a studid syntax error in NeL's STLPort checking.
+</PRE>
+</td></tr></table><HR noshade><PRE>dnl
+dnl Configuration script for NeLNS
+dnl
+dnl $Id: configure.in,v 1.7 2001/08/16 12:42:26 valignat Exp $
+dnl
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(log_service/log_service.h)
+
+MAJOR_VERSION=0
+MINOR_VERSION=3
+PICO_VERSION=0
+
+AM_INIT_AUTOMAKE(netns, $MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION)
+
+AM_CONFIG_HEADER(config.h)
+
+
+dnl The following hack should ensure that configure doesn't add optimizing
+dnl or debugging flags to CFLAGS or CXXFLAGS
+CFLAGS=&quot;$CFLAGS &quot;
+CXXFLAGS=&quot;$CXXFLAGS &quot;
+
+
+dnl ====================================================================
+dnl Checks for programs.
+
+AC_PROG_MAKE_SET
+
+AC_PROG_CC
+AC_PROG_CXX
+
+AM_PROG_LIBTOOL
+
+AM_SANITY_CHECK
+
+AC_PROG_INSTALL
+
+
+dnl ====================================================================
+dnl Configure Settings
+
+AC_LANG_CPLUSPLUS
+
+
+dnl ====================================================================
+dnl Checks for typedefs, structures, and compiler characteristics.
+
+AC_C_CONST
+
+dnl Add the define _REENTRANT for a correct use of the threads
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &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 STLPort
+dnl ==========
+
+dnl Ask user for path to the STLport files location
+AC_ARG_WITH( stlport,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport=&lt;path&gt; &nbsp; path to the STLPort install directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport]
+)
+
+AC_ARG_WITH( stlport-include,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport-include=&lt;path&gt;
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path to the STLPort header files directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport/stlport]
+)
+
+AC_ARG_WITH( stlport-lib,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport-lib=&lt;path&gt;
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path to the STLPort library files directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport/lib]
+)
+
+if test &quot;$with_stlport&quot; != &quot;no&quot;
+then
+ &nbsp; &nbsp;if test -z &quot;$with_stlport&quot; &amp;&amp; test -z &quot;$with_stlport_lib&quot; -o -z &quot;$with_stlpo
+rt_include&quot;
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;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.])
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test $with_stlport
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;AC_MSG_RESULT(using STLPort files located in $with_stlport)
+
+ &nbsp; &nbsp; &nbsp; &nbsp;STLPORT_CFLAGS=&quot;-I$with_stlport/stlport&quot;
+ &nbsp; &nbsp; &nbsp; &nbsp;STLPORT_LIB=&quot;-L$with_stlport/lib&quot;
+ &nbsp; &nbsp;fi
+else
+ &nbsp; &nbsp;no_stlport=&quot;no&quot;
+ &nbsp; &nbsp;AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***)
+fi
+
+if test -z &quot;$no_stlport&quot; -a &quot;$with_stlport_include&quot;
+then
+ &nbsp; &nbsp;AC_MSG_RESULT(using STLPort header files located in $with_stlport_include)
+ &nbsp; &nbsp;STLPORT_CFLAGS=&quot;-I$with_stlport_include&quot;
+fi
+
+if test -z &quot;$no_stlport&quot; -a &nbsp;&quot;$with_stlport_lib&quot;
+then
+ &nbsp; &nbsp;AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib)
+ &nbsp; &nbsp;STLPORT_LIB=&quot;-L$with_stlport_lib&quot;
+fi
+
+
+dnl ==========
+dnl NeL
+dnl ==========
+
+dnl Ask user for path to the NeL header files
+AC_ARG_WITH( nel,
+ &nbsp; &nbsp;[ &nbsp;--with-nel=&lt;prefix&gt; &nbsp; &nbsp; prefix to the NeL files installation.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local],
+ &nbsp; &nbsp;[ NEL_DIR=$with_nel
+ &nbsp; &nbsp; &nbsp;AC_MSG_RESULT(using NeL files located in $with_nel)]
+)
+
+if test X&quot;$NEL_DIR&quot; != X&quot;&quot;;
+then
+ &nbsp; &nbsp;CXXFLAGS=&quot;-I$NEL_DIR/include $CXXFLAGS&quot;
+ &nbsp; &nbsp;LIBS=&quot;-L$NEL_DIR/lib $LIBS&quot;
+fi
+
+_CPPFLAGS=&quot;$CPPFLAGS&quot;
+CPPFLAGS=&quot;$CXXFLAGS&quot;
+
+AC_MSG_CHECKING(for NeL)
+AC_EGREP_CPP( yo_nel,
+[#include &lt;nel/net.h&gt;
+#ifdef NL_NET_H
+ &nbsp; yo_nel
+#endif],
+[AC_MSG_RESULT(yes)],
+AC_MSG_ERROR([NeL is needed to compile the NeLNS (www.nevrax.org)])
+)
+
+
+dnl ==========
+dnl Debug/optimized compilation mode
+dnl ==========
+
+MAX_C_OPTIMIZE=&quot;-O6&quot;
+
+dnl Build optimized or debug version ?
+dnl First check for gcc and g++
+if test &quot;$ac_cv_prog_gcc&quot; = &quot;yes&quot;
+then
+ &nbsp;DEBUG_CFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CC=&quot;-O&quot;
+ &nbsp;OPTIMIZE_CFLAGS=&quot;$MAX_C_OPTIMIZE&quot;
+else
+ &nbsp;DEBUG_CFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CC=&quot;&quot;
+ &nbsp;OPTIMIZE_CFLAGS=&quot;-O&quot;
+fi
+if test &quot;$ac_cv_prog_cxx_g&quot; = &quot;yes&quot;
+then
+ &nbsp;DEBUG_CXXFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CXX=&quot;-O&quot;
+ &nbsp;OPTIMIZE_CXXFLAGS=&quot;-O3&quot;
+else
+ &nbsp;DEBUG_CXXFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CXX=&quot;&quot;
+ &nbsp;OPTIMIZE_CXXFLAGS=&quot;-O&quot;
+fi
+AC_ARG_WITH(debug,
+ &nbsp; &nbsp;[ &nbsp;--with-debug[=full] &nbsp; &nbsp; Build a debug version (huge libraries)
+ &nbsp;--without-debug &nbsp; &nbsp; &nbsp; &nbsp; Build withoug debugging code (default)],
+ &nbsp; &nbsp;[with_debug=$withval],
+ &nbsp; &nbsp;[with_debug=no])
+if test &quot;$with_debug&quot; = &quot;yes&quot;
+then
+ &nbsp;dnl Medium debug.
+ &nbsp;CFLAGS=&quot;$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS&quot;
+elif test &quot;$with_debug&quot; = &quot;full&quot;
+then
+ &nbsp;dnl Full debug. Very slow in some cases
+ &nbsp;CFLAGS=&quot;$DEBUG_CFLAGS $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$DEBUG_CXXFLAGS $CXXFLAGS&quot;
+else
+ &nbsp;dnl Optimized version. No debug
+ &nbsp;CFLAGS=&quot;$OPTIMIZE_CFLAGS $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$OPTIMIZE_CXXFLAGS $CXXFLAGS&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for libraries.
+
+dnl ==========
+dnl STLPort
+dnl ==========
+
+if test -z &quot;$no_stlport&quot;
+then
+ &nbsp;
+ &nbsp; &nbsp;if test X&quot;$STLPORT_CFLAGS&quot; != X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;CXXFLAGS=&quot;$STLPORT_CFLAGS $CXXFLAGS&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test X&quot;$STLPORT_LIB&quot; != X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;LIBS=&quot;$STLPORT_LIB $LIBS -lstlport_gcc&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;_CPPFLAGS=&quot;$CPPFLAGS&quot;
+ &nbsp; &nbsp;CPPFLAGS=&quot;$CXXFLAGS $STLPORT_CFLAGS&quot;
+
+ &nbsp; &nbsp;AC_MSG_CHECKING(for STLPort)
+ &nbsp; &nbsp;AC_EGREP_CPP( yo_stlport,
+ &nbsp; &nbsp;[#include &lt;algorithm&gt;
+#ifdef __SGI_STL_PORT
+ &nbsp; yo_stlport
+#endif],
+ &nbsp; &nbsp;[ AC_MSG_RESULT(yes)],
+ &nbsp; &nbsp; &nbsp;AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) )
+ &nbsp; &nbsp;
+ &nbsp; &nbsp; &nbsp;CPPFLAGS=&quot;$_CPPFLAGS&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for library functions.
+
+
+dnl ====================================================================
+dnl Output files to generate.
+
+AC_OUTPUT( Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; login_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; naming_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; admin_executor_service/Makefile \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; admin_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; welcome_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp;\
+)
+
+
+dnl End of configure.in
+</PRE> \ No newline at end of file
diff --git a/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup/index.html b/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup/index.html
new file mode 100644
index 00000000..9fc0ca02
--- /dev/null
+++ b/cvs/cvsweb.cgi/code/nelns/configure.in?rev=1.7&content-type=text/x-cvsweb-markup/index.html
@@ -0,0 +1,272 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD><style> A { color:black }</style>
+<!-- hennerik CVSweb $Revision: 1.93 $ -->
+<TITLE>code/nelns/configure.in - view - 1.7</TITLE></HEAD>
+<BODY BGCOLOR="#eeeeee">
+<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="configure.in"><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">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/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/nelns/">nelns</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/nelns/">nelns</a> / <a href="/cvs/cvsweb.cgi/code/nelns/configure.in">configure.in</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nelns/configure.in?rev=1.7" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nelns/configure.in?rev=1.7','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
+Revision <B>1.7</B>, <i>Thu Aug 16 12:42:26 2001 UTC</i> (10 months ago) by <i>valignat</i>
+<BR>Branch: <b>MAIN</b>
+<BR>Changes since <b>1.6: +5 -5
+ lines</b><PRE>
+# FIXED a studid syntax error in NeL's STLPort checking.
+</PRE>
+</td></tr></table><HR noshade><PRE>dnl
+dnl Configuration script for NeLNS
+dnl
+dnl $Id: configure.in,v 1.7 2001/08/16 12:42:26 valignat Exp $
+dnl
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(log_service/log_service.h)
+
+MAJOR_VERSION=0
+MINOR_VERSION=3
+PICO_VERSION=0
+
+AM_INIT_AUTOMAKE(netns, $MAJOR_VERSION.$MINOR_VERSION.$PICO_VERSION)
+
+AM_CONFIG_HEADER(config.h)
+
+
+dnl The following hack should ensure that configure doesn't add optimizing
+dnl or debugging flags to CFLAGS or CXXFLAGS
+CFLAGS=&quot;$CFLAGS &quot;
+CXXFLAGS=&quot;$CXXFLAGS &quot;
+
+
+dnl ====================================================================
+dnl Checks for programs.
+
+AC_PROG_MAKE_SET
+
+AC_PROG_CC
+AC_PROG_CXX
+
+AM_PROG_LIBTOOL
+
+AM_SANITY_CHECK
+
+AC_PROG_INSTALL
+
+
+dnl ====================================================================
+dnl Configure Settings
+
+AC_LANG_CPLUSPLUS
+
+
+dnl ====================================================================
+dnl Checks for typedefs, structures, and compiler characteristics.
+
+AC_C_CONST
+
+dnl Add the define _REENTRANT for a correct use of the threads
+if test &quot;X$CC&quot; = &quot;Xgcc&quot;;
+then
+ &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 STLPort
+dnl ==========
+
+dnl Ask user for path to the STLport files location
+AC_ARG_WITH( stlport,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport=&lt;path&gt; &nbsp; path to the STLPort install directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport]
+)
+
+AC_ARG_WITH( stlport-include,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport-include=&lt;path&gt;
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path to the STLPort header files directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport/stlport]
+)
+
+AC_ARG_WITH( stlport-lib,
+ &nbsp; &nbsp;[ &nbsp;--with-stlport-lib=&lt;path&gt;
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path to the STLPort library files directory.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local/stlport/lib]
+)
+
+if test &quot;$with_stlport&quot; != &quot;no&quot;
+then
+ &nbsp; &nbsp;if test -z &quot;$with_stlport&quot; &amp;&amp; test -z &quot;$with_stlport_lib&quot; -o -z &quot;$with_stlpo
+rt_include&quot;
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;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.])
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test $with_stlport
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;AC_MSG_RESULT(using STLPort files located in $with_stlport)
+
+ &nbsp; &nbsp; &nbsp; &nbsp;STLPORT_CFLAGS=&quot;-I$with_stlport/stlport&quot;
+ &nbsp; &nbsp; &nbsp; &nbsp;STLPORT_LIB=&quot;-L$with_stlport/lib&quot;
+ &nbsp; &nbsp;fi
+else
+ &nbsp; &nbsp;no_stlport=&quot;no&quot;
+ &nbsp; &nbsp;AC_MSG_RESULT(*** Override the use of the STLPorts (EXPERIMENTAL) ***)
+fi
+
+if test -z &quot;$no_stlport&quot; -a &quot;$with_stlport_include&quot;
+then
+ &nbsp; &nbsp;AC_MSG_RESULT(using STLPort header files located in $with_stlport_include)
+ &nbsp; &nbsp;STLPORT_CFLAGS=&quot;-I$with_stlport_include&quot;
+fi
+
+if test -z &quot;$no_stlport&quot; -a &nbsp;&quot;$with_stlport_lib&quot;
+then
+ &nbsp; &nbsp;AC_MSG_RESULT(using STLPort library files located in $with_stlport_lib)
+ &nbsp; &nbsp;STLPORT_LIB=&quot;-L$with_stlport_lib&quot;
+fi
+
+
+dnl ==========
+dnl NeL
+dnl ==========
+
+dnl Ask user for path to the NeL header files
+AC_ARG_WITH( nel,
+ &nbsp; &nbsp;[ &nbsp;--with-nel=&lt;prefix&gt; &nbsp; &nbsp; prefix to the NeL files installation.
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.g. /usr/local],
+ &nbsp; &nbsp;[ NEL_DIR=$with_nel
+ &nbsp; &nbsp; &nbsp;AC_MSG_RESULT(using NeL files located in $with_nel)]
+)
+
+if test X&quot;$NEL_DIR&quot; != X&quot;&quot;;
+then
+ &nbsp; &nbsp;CXXFLAGS=&quot;-I$NEL_DIR/include $CXXFLAGS&quot;
+ &nbsp; &nbsp;LIBS=&quot;-L$NEL_DIR/lib $LIBS&quot;
+fi
+
+_CPPFLAGS=&quot;$CPPFLAGS&quot;
+CPPFLAGS=&quot;$CXXFLAGS&quot;
+
+AC_MSG_CHECKING(for NeL)
+AC_EGREP_CPP( yo_nel,
+[#include &lt;nel/net.h&gt;
+#ifdef NL_NET_H
+ &nbsp; yo_nel
+#endif],
+[AC_MSG_RESULT(yes)],
+AC_MSG_ERROR([NeL is needed to compile the NeLNS (www.nevrax.org)])
+)
+
+
+dnl ==========
+dnl Debug/optimized compilation mode
+dnl ==========
+
+MAX_C_OPTIMIZE=&quot;-O6&quot;
+
+dnl Build optimized or debug version ?
+dnl First check for gcc and g++
+if test &quot;$ac_cv_prog_gcc&quot; = &quot;yes&quot;
+then
+ &nbsp;DEBUG_CFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CC=&quot;-O&quot;
+ &nbsp;OPTIMIZE_CFLAGS=&quot;$MAX_C_OPTIMIZE&quot;
+else
+ &nbsp;DEBUG_CFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CC=&quot;&quot;
+ &nbsp;OPTIMIZE_CFLAGS=&quot;-O&quot;
+fi
+if test &quot;$ac_cv_prog_cxx_g&quot; = &quot;yes&quot;
+then
+ &nbsp;DEBUG_CXXFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CXX=&quot;-O&quot;
+ &nbsp;OPTIMIZE_CXXFLAGS=&quot;-O3&quot;
+else
+ &nbsp;DEBUG_CXXFLAGS=&quot;-g&quot;
+ &nbsp;DEBUG_OPTIMIZE_CXX=&quot;&quot;
+ &nbsp;OPTIMIZE_CXXFLAGS=&quot;-O&quot;
+fi
+AC_ARG_WITH(debug,
+ &nbsp; &nbsp;[ &nbsp;--with-debug[=full] &nbsp; &nbsp; Build a debug version (huge libraries)
+ &nbsp;--without-debug &nbsp; &nbsp; &nbsp; &nbsp; Build withoug debugging code (default)],
+ &nbsp; &nbsp;[with_debug=$withval],
+ &nbsp; &nbsp;[with_debug=no])
+if test &quot;$with_debug&quot; = &quot;yes&quot;
+then
+ &nbsp;dnl Medium debug.
+ &nbsp;CFLAGS=&quot;$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX $CXXFLAGS&quot;
+elif test &quot;$with_debug&quot; = &quot;full&quot;
+then
+ &nbsp;dnl Full debug. Very slow in some cases
+ &nbsp;CFLAGS=&quot;$DEBUG_CFLAGS $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$DEBUG_CXXFLAGS $CXXFLAGS&quot;
+else
+ &nbsp;dnl Optimized version. No debug
+ &nbsp;CFLAGS=&quot;$OPTIMIZE_CFLAGS $CFLAGS&quot;
+ &nbsp;CXXFLAGS=&quot;$OPTIMIZE_CXXFLAGS $CXXFLAGS&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for libraries.
+
+dnl ==========
+dnl STLPort
+dnl ==========
+
+if test -z &quot;$no_stlport&quot;
+then
+ &nbsp;
+ &nbsp; &nbsp;if test X&quot;$STLPORT_CFLAGS&quot; != X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;CXXFLAGS=&quot;$STLPORT_CFLAGS $CXXFLAGS&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;if test X&quot;$STLPORT_LIB&quot; != X
+ &nbsp; &nbsp;then
+ &nbsp; &nbsp; &nbsp; &nbsp;LIBS=&quot;$STLPORT_LIB $LIBS -lstlport_gcc&quot;
+ &nbsp; &nbsp;fi
+
+ &nbsp; &nbsp;_CPPFLAGS=&quot;$CPPFLAGS&quot;
+ &nbsp; &nbsp;CPPFLAGS=&quot;$CXXFLAGS $STLPORT_CFLAGS&quot;
+
+ &nbsp; &nbsp;AC_MSG_CHECKING(for STLPort)
+ &nbsp; &nbsp;AC_EGREP_CPP( yo_stlport,
+ &nbsp; &nbsp;[#include &lt;algorithm&gt;
+#ifdef __SGI_STL_PORT
+ &nbsp; yo_stlport
+#endif],
+ &nbsp; &nbsp;[ AC_MSG_RESULT(yes)],
+ &nbsp; &nbsp; &nbsp;AC_MSG_ERROR([STLPort is needed to compile NeL (www.stlport.org).]) )
+ &nbsp; &nbsp;
+ &nbsp; &nbsp; &nbsp;CPPFLAGS=&quot;$_CPPFLAGS&quot;
+fi
+
+
+dnl ====================================================================
+dnl Checks for library functions.
+
+
+dnl ====================================================================
+dnl Output files to generate.
+
+AC_OUTPUT( Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; login_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; naming_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; admin_executor_service/Makefile \
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; admin_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; welcome_service/Makefile &nbsp; &nbsp; &nbsp; &nbsp;\
+)
+
+
+dnl End of configure.in
+</PRE> \ No newline at end of file