Sean Middleditch | eccc4a4 | 2009-10-24 14:53:12 -0700 | [diff] [blame] | 1 | AC_INIT([libtelnet], [0.13], [http://github.com/elanthis/libtelnet/tree/master]) |
Sean Middleditch | 56f3c5c | 2009-07-31 02:02:09 -0400 | [diff] [blame] | 2 | |
| 3 | AM_INIT_AUTOMAKE |
| 4 | |
| 5 | AC_PROG_CC |
| 6 | AC_PROG_LIBTOOL |
| 7 | |
Martin Hauke | e855f0c | 2018-03-08 16:34:25 +0100 | [diff] [blame] | 8 | PKG_CHECK_MODULES(LIBCRYPTO, libcrypto) |
| 9 | PKG_CHECK_MODULES(LIBSSL, libssl) |
| 10 | |
| 11 | |
Sean Middleditch | bcfd3b8 | 2009-08-31 14:52:23 -0700 | [diff] [blame] | 12 | # zlib support |
| 13 | AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no) |
| 14 | if test "x$ZLIB" = "xyes" ; then |
| 15 | LIBS="$LIBS -lz" |
| 16 | AC_DEFINE(HAVE_ZLIB, 1, [We have zlib]) |
Sean Middleditch | bcfd3b8 | 2009-08-31 14:52:23 -0700 | [diff] [blame] | 17 | fi |
| 18 | |
Sean Middleditch | 4b3c7fd | 2010-01-06 21:05:26 -0800 | [diff] [blame] | 19 | AC_CONFIG_FILES([Makefile util/Makefile man/Makefile libtelnet.pc]) |
Sean Middleditch | 56f3c5c | 2009-07-31 02:02:09 -0400 | [diff] [blame] | 20 | AC_OUTPUT |