AM_CONDITIONAL(ENABLE_NETWORK_OLK, test "x$with_network_olk" != "xno" -a "x$with_multiplayer" = "xno")
AM_CONDITIONAL(ENABLE_MPLAYER_AS, test "x$with_multiplayer" != "xno")
-AC_ARG_WITH(multiserver, [ --with-multiserver Include multiplayer client/server support])
-
-if test "x$with_multiserver" = "xno"; then
- echo "Building without multiplayer client/server support"
-else
- echo "Building with multiplayer client/server support"
- AC_DEFINE([FG_MSERVER_AS], 1, [Define to build with multiplayer client/server support])
-fi
-
-AM_CONDITIONAL(ENABLE_MSERVER_AS, test "x$with_multiserver" != "xno")
# Specify if we want to use WeatherCM instead of FGEnvironment.
# default to with_weathercm=no
src/Replay/Makefile \
src/Scenery/Makefile \
src/Scripting/Makefile \
- src/Server/Makefile \
src/Sound/Makefile \
src/Systems/Makefile \
src/Time/Makefile \
echo "Using Oliver's multi-pilot network support"
fi
-if test "x$with_multiserver" != "xno"; then
- echo "Using multiplayer client/server support"
-fi
-
if test "x$with_threads" = "xyes"; then
echo "threads: yes"
else
MPLAYER_LIBS =
endif
-if ENABLE_MSERVER_AS
-MSERVER_LIBS = $(top_builddir)/src/Server/libServer.a
-else
-MSERVER_LIBS =
-endif
-
if ENABLE_NETWORK_OLK
NETWORK_LIBS = $(top_builddir)/src/NetworkOLK/libNetworkOLK.a
else
$(top_builddir)/src/Sound/libSound.a \
$(top_builddir)/src/Airports/libAirports.a \
$(MPLAYER_LIBS) \
- $(MSERVER_LIBS) \
$(NETWORK_LIBS) \
$(top_builddir)/src/Objects/libObjects.a \
$(top_builddir)/src/Replay/libReplay.a \