blob: a90df35a4c8a0fc67dbfd14e4d75b56bd7dbff27 [file] [log] [blame]
AC_INIT([libtelnet], [0.13], [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])
fi
AC_CONFIG_FILES([Makefile libtelnet.pc])
AC_OUTPUT