diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-28 21:43:53 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-28 21:43:53 +0000 |
commit | 33b948cab991cb9ef4834ea02b19cf38623bcc3f (patch) | |
tree | abd6df3b0b1df55c6b96da3adf32161b4c26fa5e /libssh/kex.c | |
parent | d3d7f08d6a7c9738856b6b3d55c8f255fe881463 (diff) | |
download | libssh-33b948cab991cb9ef4834ea02b19cf38623bcc3f.tar.gz libssh-33b948cab991cb9ef4834ea02b19cf38623bcc3f.tar.xz libssh-33b948cab991cb9ef4834ea02b19cf38623bcc3f.zip |
Add an option WITH_LIBZ to compile with zlib support.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@289 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/kex.c')
-rw-r--r-- | libssh/kex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c index a2d93403..3e448673 100644 --- a/libssh/kex.c +++ b/libssh/kex.c @@ -22,6 +22,8 @@ MA 02111-1307, USA. */ #include <string.h> #include <stdlib.h> #include <stdio.h> + +#include "config.h" #include "libssh/priv.h" #include "libssh/ssh2.h" #include "libssh/ssh1.h" @@ -44,7 +46,7 @@ MA 02111-1307, USA. */ #define DES "3des-cbc" #endif -#ifdef HAVE_LIBZ +#if defined(HAVE_LIBZ) && defined(WITH_LIBZ) #define ZLIB "none,zlib" #else #define ZLIB "none" |