patches to configure.in and Makefile.am by brandon rioja

This commit is contained in:
Arvid Norberg 2007-02-25 10:18:14 +00:00
parent 10068634f8
commit e051892c21
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,4 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include @ZLIBDIR@ src @EXAMPLESDIR@ test
EXTRA_DIST = docs/manual.html docs/manual.rst docs/extension_protocol.rst \
docs/extension_protocol.html docs/udp_tracker_protocol.rst \

View File

@ -25,6 +25,11 @@ AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
# AC_PROG_RANLIB is obsolete by AC_PROC_LIBTOOL
dnl Make sure that the asio header files are added.
ASIO_DIR=include/libtorrent/asio
AC_CHECK_FILES([$ASIO_DIR/../asio.hpp $ASIO_DIR/ssl/stream.hpp $ASIO_DIR/ip/tcp.hpp ],,AC_MSG_ERROR([ ASIO header files not found. Get them from asio.sourceforge.net and include or simlink them. Example: ln -s -t include/libtorrent/ ../../../asio/include/asio.hpp && ln -s -t include/libtorrent/ ../../../asio/include/asio ]) )
dnl check asio version
dnl Check for pthreads and boost libraries.
ACX_PTHREAD