blob: 16489f466ee4dd24fb8cc730157a35954f595c33 [file] [log] [blame]
Sean Middleditcheccc4a42009-10-24 14:53:12 -07001AC_INIT([libtelnet], [0.13], [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
Martin Haukee855f0c2018-03-08 16:34:25 +01008PKG_CHECK_MODULES(LIBCRYPTO, libcrypto)
9PKG_CHECK_MODULES(LIBSSL, libssl)
10
11
Sean Middleditchbcfd3b82009-08-31 14:52:23 -070012# zlib support
13AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no)
14if test "x$ZLIB" = "xyes" ; then
15 LIBS="$LIBS -lz"
16 AC_DEFINE(HAVE_ZLIB, 1, [We have zlib])
Sean Middleditchbcfd3b82009-08-31 14:52:23 -070017fi
18
Sean Middleditch4b3c7fd2010-01-06 21:05:26 -080019AC_CONFIG_FILES([Makefile util/Makefile man/Makefile libtelnet.pc])
Sean Middleditch56f3c5c2009-07-31 02:02:09 -040020AC_OUTPUT