added new networking subsystem (early stage - files are not compiled yet during normal build!)

Note
	The files i added / modifications i did, are not affecting a normal build
	nothing gets changed yet!

	Linux 2.5+ only yet.

	


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16271 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
blacksirius
2012-06-12 00:59:55 +00:00
parent b3b21e6e8c
commit 7332a89352
8 changed files with 2016 additions and 1 deletions

View File

@@ -188,6 +188,34 @@ AC_ARG_ENABLE(
)
#
# Optionally set the max number of network conenctions
# the core will be support
#
AC_ARG_WITH(
[maxconn],
AC_HELP_STRING(
[--with-maxconn@<:@=ARG@:>@],
[optionally set the maximum connections the core can handle (default: 16384) NOT USED YET - EXPERIMENTAL]
),
[
if test "$withval" == "no"; then
CFLAGS="$CFLAGS -DMAXCONN=16384"
else
if ! test "$withval" -ge 0 -o "$withval" -lt 0 2>&- ; then
AC_MSG_ERROR([Invalid argument --with-maxconn=$withval ... stopping])
else
CFLAGS="$CFLAGS -DMAXCONN=$withval"
fi
fi
],
[
CFLAGS="$CFLAGS -DMAXCONN=16384"
]
)
#
# Optionally specify the path to mysql_config
#