diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-04-06 18:07:49 +0300 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-06 17:45:04 +0200 |
commit | 4acf155fb2ced327495fe95e64bf62117f5d307a (patch) | |
tree | a0b37ece70ca6f9114dca4f58615baa5d3d1153c /server/Makefile.am | |
parent | 88aa56045a57e760beb35e659731741dc15f3aac (diff) |
server configuration: make network redirection support optional
By default it is disabled. To enable: configure --enable-tunnel.
When active, requires libslirp.
Diffstat (limited to 'server/Makefile.am')
-rw-r--r-- | server/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/server/Makefile.am b/server/Makefile.am index 0fe1c0e..d09e2d2 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -50,6 +50,15 @@ libspice_server_la_LIBADD = \ $(LIBRT) \ $(NULL) +if SUPPORT_TUNNEL + TUNNEL_SRCS = \ + red_tunnel_worker.c \ + red_tunnel_worker.h \ + $(NULL) +else + TUNNEL_SRCS = +endif + libspice_server_la_SOURCES = \ glz_encoder.c \ glz_encoder_config.h \ @@ -73,10 +82,9 @@ libspice_server_la_SOURCES = \ snd_worker.h \ red_channel.h \ red_channel.c \ - red_tunnel_worker.c \ - red_tunnel_worker.h \ spice.h \ vd_interface.h \ + $(TUNNEL_SRCS) \ $(COMMON_SRCS) \ $(NULL) |