blob: 1eda608b2ed405f16b2b83bce56f2cc829bcfe5c [file] [log] [blame]
Sean Middleditchbcfd3b82009-08-31 14:52:23 -07001AC_INIT([libtelnet], [0.11], [http://github.com/elanthis/libtelnet/tree/master])
Sean Middleditch56f3c5c2009-07-31 02:02:09 -04002
3AM_INIT_AUTOMAKE
4
5AC_PROG_CC
6AC_PROG_LIBTOOL
7
Sean Middleditchbcfd3b82009-08-31 14:52:23 -07008# zlib support
9AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no)
10if test "x$ZLIB" = "xyes" ; then
11 LIBS="$LIBS -lz"
12 AC_DEFINE(HAVE_ZLIB, 1, [We have zlib])
13 LIBTELNET_HAVE_ZLIB="-DHAVE_ZLIB"
14 AC_SUBST(LIBTELNET_HAVE_ZLIB)
15fi
16
Sean Middleditch56f3c5c2009-07-31 02:02:09 -040017AC_CONFIG_FILES(Makefile)
18AC_OUTPUT