actually use zlib

github
Sean Middleditch 14 years ago
parent 048b3b2d42
commit bcfd3b8063
  1. 5
      NEWS
  2. 11
      configure.ac

@ -1,3 +1,8 @@
Version 0.11
============
* fix autoconf rules to find and use zlib
Version 0.10
============

@ -1,9 +1,18 @@
AC_INIT([libtelnet], [0.10], [http://github.com/elanthis/libtelnet/tree/master])
AC_INIT([libtelnet], [0.11], [http://github.com/elanthis/libtelnet/tree/master])
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_PROG_LIBTOOL
# zlib support
AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no)
if test "x$ZLIB" = "xyes" ; then
LIBS="$LIBS -lz"
AC_DEFINE(HAVE_ZLIB, 1, [We have zlib])
LIBTELNET_HAVE_ZLIB="-DHAVE_ZLIB"
AC_SUBST(LIBTELNET_HAVE_ZLIB)
fi
AC_CONFIG_FILES(Makefile)
AC_OUTPUT

Loading…
Cancel
Save