Only compile SSHv1 files if enabled.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@472 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-14 14:33:04 +00:00
parent 7f06a999e3
commit c847e13c47

View File

@@ -62,11 +62,9 @@ endif (GCRYPT_LIBRARY)
set(libssh_SRCS set(libssh_SRCS
agent.c agent.c
auth1.c
auth.c auth.c
base64.c base64.c
buffer.c buffer.c
channels1.c
channels.c channels.c
client.c client.c
connect.c connect.c
@@ -94,6 +92,14 @@ set(libssh_SRCS
wrapper.c wrapper.c
) )
if (WITH_SSH1)
set(libssh_SRCS
${libssh_SRCS}
auth1.c
channels1.c
)
endif (WITH_SERVER)
if (WITH_SERVER) if (WITH_SERVER)
set(libssh_SRCS set(libssh_SRCS
${libssh_SRCS} ${libssh_SRCS}