configure.ac: Add --enable-{client,server,examples}

These default respectively to yes, yes, no.
This commit is contained in:
Keegan McAllister
2012-03-17 05:36:42 -04:00
parent a151ea15c2
commit 139bcbf9ae
5 changed files with 42 additions and 4 deletions
+9 -1
View File
@@ -9,7 +9,15 @@ else
LDADD += $(STDDJB_LDFLAGS)
endif
bin_PROGRAMS = mosh-client mosh-server
bin_PROGRAMS =
if BUILD_CLIENT
bin_PROGRAMS += mosh-client
endif
if BUILD_SERVER
bin_PROGRAMS += mosh-server
endif
mosh_client_SOURCES = mosh-client.cc stmclient.cc stmclient.h terminaloverlay.cc terminaloverlay.h
mosh_server_SOURCES = mosh-server.cc