From 6e6bbc81971544b8c70b25183277a96e86fe3019 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 21 Mar 2003 18:47:24 +0000 Subject: [PATCH] Fix a small problem where multiplayer support was added to network support unconditionally --- src/Network/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Network/Makefile.am b/src/Network/Makefile.am index 245bc4eef..e4af55a6f 100644 --- a/src/Network/Makefile.am +++ b/src/Network/Makefile.am @@ -6,6 +6,12 @@ else JPEG_SERVER = endif +if ENABLE_MPLAYER_AS +MPLAYER_AS = multiplay.cxx multiplay.hxx +else +MPLAYER_AS = +endif + libNetwork_a_SOURCES = \ protocol.cxx protocol.hxx \ atc610x.cxx atc610x.hxx \ @@ -21,7 +27,7 @@ libNetwork_a_SOURCES = \ net_ctrls.hxx net_fdm.hxx net_fdm_mini.hxx \ nmea.cxx nmea.hxx \ opengc.cxx opengc.hxx opengc_data.hxx \ - multiplay.cxx multiplay.hxx \ + $(MPLAYER_AS) \ props.cxx props.hxx \ pve.cxx pve.hxx \ ray.cxx ray.hxx \