mirror of https://gerrit.osmocom.org/libtelnet
actually use zlib
This commit is contained in:
parent
048b3b2d42
commit
bcfd3b8063
5
NEWS
5
NEWS
|
@ -1,3 +1,8 @@
|
||||||
|
Version 0.11
|
||||||
|
============
|
||||||
|
|
||||||
|
* fix autoconf rules to find and use zlib
|
||||||
|
|
||||||
Version 0.10
|
Version 0.10
|
||||||
============
|
============
|
||||||
|
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -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
|
AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_LIBTOOL
|
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_CONFIG_FILES(Makefile)
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
Loading…
Reference in New Issue