aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 07ea26507f4b43326603531c0c3771789f7e2b41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 util/Makefile man/Makefile libtelnet.pc])
AC_OUTPUT