From e051892c217be8425f3435aa2e4d92daef653aaa Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 25 Feb 2007 10:18:14 +0000 Subject: [PATCH] patches to configure.in and Makefile.am by brandon rioja --- Makefile.am | 1 + configure.in | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 1e5c40944..bcfcc4eb2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/configure.in b/configure.in index 878f4edd1..212a53763 100644 --- a/configure.in +++ b/configure.in @@ -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