pkgconfig support
diff --git a/configure.ac b/configure.ac
index 1eda608..3285f95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([libtelnet], [0.11], [http://github.com/elanthis/libtelnet/tree/master])
+AC_INIT([libtelnet], [0.12], [http://github.com/elanthis/libtelnet/tree/master])
AM_INIT_AUTOMAKE
@@ -10,9 +10,7 @@
if test "x$ZLIB" = "xyes" ; then
LIBS="$LIBS -lz"
AC_DEFINE(HAVE_ZLIB, 1, [We have zlib])
- LIBTELNET_HAVE_ZLIB="-DHAVE_ZLIB"
- AC_SUBST(LIBTELNET_HAVE_ZLIB)
fi
-AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES([Makefile libtelnet.pc])
AC_OUTPUT