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 | |
Sean Middleditch | bcfd3b8 | 2009-08-31 14:52:23 -0700 | [diff] [blame] | 8 | # zlib support |
| 9 | AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no) |
| 10 | if test "x$ZLIB" = "xyes" ; then |
| 11 | LIBS="$LIBS -lz" |
| 12 | AC_DEFINE(HAVE_ZLIB, 1, [We have zlib]) |
Sean Middleditch | bcfd3b8 | 2009-08-31 14:52:23 -0700 | [diff] [blame] | 13 | fi |
| 14 | |
Sean Middleditch | 4b3c7fd | 2010-01-06 21:05:26 -0800 | [diff] [blame] | 15 | AC_CONFIG_FILES([Makefile util/Makefile man/Makefile libtelnet.pc]) |
Sean Middleditch | 56f3c5c | 2009-07-31 02:02:09 -0400 | [diff] [blame] | 16 | AC_OUTPUT |