Index: tntnet-2.2/configure.in
===================================================================
--- tntnet-2.2.orig/configure.in	2013-04-21 23:26:11.000000000 +0300
+++ tntnet-2.2/configure.in	2013-07-12 23:00:04.861694248 +0300
@@ -15,6 +15,7 @@
 
 AC_SEARCH_LIBS(gethostbyname, nsl socket resolv)
 AC_SEARCH_LIBS(dlopen, dl, , AC_MSG_ERROR([dlopen not found]))
+AC_SEARCH_LIBS(compress, z)
 
 AC_PROG_CXX
 AC_PROG_LIBTOOL
