Attempt at the --enable-raw-sockets option Soliton wanted.

This commit is contained in:
Eric S. Raymond 2007-11-19 02:36:46 +00:00
parent 076b114019
commit 1066f2d047

View file

@ -268,6 +268,16 @@ then
AC_MSG_WARN([*** Python support disabled, suppressing installation of Python tools.])
fi
AC_ARG_ENABLE([raw-sockets],
AS_HELP_STRING([--enable-raw-sockets], [use raw receiving sockets in the multiplayer network layer rather than the SDL_net facilities]),
[raw-sockets=$enableval],
[raw-sockets=no])
if test "x$raw-sockets" = "xyes"
then
CPPFLAGS="$CPPFLAGS -DNETWORK_USE_RAW_SOCKETS"
fi
AM_CONDITIONAL([STATIC], [test x$static = xyes])
AM_CONDITIONAL([PYTHON_INSTALL], [test x$python_install = xyes])
AM_CONDITIONAL([GAME], [test x$game = xyes])