From: ehofman Date: Fri, 21 Mar 2003 18:47:24 +0000 (+0000) Subject: Fix a small problem where multiplayer support was added to network support unconditio... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e6bbc81971544b8c70b25183277a96e86fe3019;p=flightgear.git Fix a small problem where multiplayer support was added to network support unconditionally --- 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 \