2
# Process this file with autoconf to produce a configure script.
4
# $Id: configure.ac 3872 2009-09-18 18:47:57Z cristiangreco $
8
AC_INIT([libtorrent-rasterbar],[0.15.0],[arvid@cs.umu.se],
9
[libtorrent-rasterbar],[http://www.libtorrent.org])
10
AC_CONFIG_SRCDIR([src/torrent.cpp])
11
AC_CONFIG_AUX_DIR([build-aux])
12
AC_CONFIG_MACRO_DIR([m4])
14
# Silencing build output (automake-1.11)
15
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
18
###############################################################################
19
dnl ---------------------------------------------------------------------------
20
dnl interface version info
21
dnl ---------------------------------------------------------------------------
22
dnl Advanced information about versioning:
23
dnl * "Writing shared libraries" by Mike Hearn
24
dnl http://navi.cx/~mike/writing-shared-libraries.html
25
dnl * libtool.info chapter "Versioning"
26
dnl * libtool.info chapter "Updating library version information"
27
dnl ---------------------------------------------------------------------------
29
dnl - CURRENT (Major): Increment if the interface has changes. AGE is always
30
dnl *changed* at the same time.
31
dnl - AGE (Micro): Increment if any interfaces have been added; set to 0
32
dnl if any interfaces have been removed. Removal has
33
dnl precedence over adding, so set to 0 if both happened.
34
dnl It denotes upward compatibility.
35
dnl - REVISION (Minor): Increment any time the source changes; set to
36
dnl 0 if you incremented CURRENT.
38
dnl To summarize. Any interface *change* increment CURRENT. If that interface
39
dnl change does not break upward compatibility (ie it is an addition),
40
dnl increment AGE, Otherwise AGE is reset to 0. If CURRENT has changed,
41
dnl REVISION is set to 0, otherwise REVISION is incremented.
42
dnl ---------------------------------------------------------------------------
44
m4_define([VERSION_INFO_CURRENT],[6])
45
m4_define([VERSION_INFO_REVISION],[0])
46
m4_define([VERSION_INFO_AGE],[0])
47
INTERFACE_VERSION_INFO=VERSION_INFO_CURRENT:VERSION_INFO_REVISION:VERSION_INFO_AGE
48
AC_SUBST(INTERFACE_VERSION_INFO)
49
###############################################################################
52
###############################################################################
54
###############################################################################
57
AS_ECHO "Building $PACKAGE_STRING"
60
###############################################################################
61
# Performing some basic checks and initializing the build system
62
###############################################################################
65
AS_ECHO "Checking for a C/C++ compiler to use:"
74
AS_ECHO "Checking system type:"
80
AS_ECHO "Initializing Automake:"
81
AM_INIT_AUTOMAKE([1.11 foreign])
85
AS_ECHO "Initializing Libtool:"
90
###############################################################################
91
# Checking for needed base libraries
92
###############################################################################
95
AS_ECHO "Checking for posix thread support:"
99
LIBS="$PTHREAD_LIBS $LIBS"
100
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
104
AS_ECHO "Checking for boost libraries:"
106
AX_BOOST_BASE([1.36])
109
AS_IF([test -z "$BOOST_SYSTEM_LIB"],
110
[AC_MSG_ERROR(Boost.System library not found. Try using --with-boost-system=lib)])
112
AX_BOOST_FILESYSTEM()
113
AS_IF([test -z "$BOOST_FILESYSTEM_LIB"],
114
[AC_MSG_ERROR(Boost.Filesystem library not found. Try using --with-boost-filesystem=lib)])
117
AS_IF([test -z "$BOOST_THREAD_LIB"],
118
[AC_MSG_ERROR(Boost.Thread library not found. Try using --with-boost-thread=lib)])
120
CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
121
LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"
124
###############################################################################
125
# Checking for functions and other stuffs
126
###############################################################################
130
AS_ECHO "Checking for pkg-config:"
132
PKG_PROG_PKG_CONFIG([0.20])
135
AS_ECHO "Checking for functions and headers:"
142
# check for gethostbyname and gethostbyname_r (used in src/GeoIP.c)
143
AC_CHECK_FUNCS([gethostbyname], [],
144
[AC_CHECK_LIB([nsl], [gethostbyname], [],
145
[AC_CHECK_LIB([resolv], [gethostbyname], [],
146
[AC_CHECK_LIB([socket], [gethostbyname], [],
147
[AC_CHECK_LIB([ws2_32], [main],
148
[AC_CHECK_LIB([wsock32], [main],
149
[LIBS="-lws2_32 -lwsock32 $LIBS"],
150
[AC_MSG_ERROR([wsock32 function not found.])])],
151
[AC_MSG_ERROR([gethostbyname function not found.])])])])])]
154
AC_CHECK_FUNCS(gethostbyname_r, [
155
# We look for the one that returns `int'.
156
# Hopefully this check is robust enough.
157
AC_EGREP_HEADER(int.*gethostbyname_r, netdb.h, [
158
AC_DEFINE(GETHOSTBYNAME_R_RETURNS_INT)])
161
AC_CHECK_FUNCS([clock_gettime], [],
162
[AC_CHECK_LIB([rt], [clock_gettime], [],
163
[AC_CHECK_LIB([posix4], [clock_gettime], [],
164
[AC_MSG_WARN([clock_gettime function not found.])])])]
168
dnl Pass some build options to setup.py and .pc file
169
COMPILETIME_OPTIONS=""
172
###############################################################################
173
# Setting configure options
174
###############################################################################
180
[enable logging to disk (use value "verbose" to enable verbose peer wire logging or "errors" limit logging to errors ) [default=no]])],
181
[[ARG_ENABLE_LOGGING=$enableval]],
182
[[ARG_ENABLE_LOGGING=no]]
189
[enable debug build [default=no]])],
191
ARG_ENABLE_DEBUG=$enableval
192
ac_arg_enable_debug=$enableval
196
ac_arg_enable_debug=no
204
[disable dht support (use value "logging" to add extra logging) [default=yes]])],
205
[[ARG_ENABLE_DHT=$enableval]],
206
[[ARG_ENABLE_DHT=yes]]
212
[--disable-encryption],
213
[disable encryption support (requires OpenSSL to be installed on your system, you can use --with-openssl to set the path) [default=yes]])],
214
[[ARG_ENABLE_ENCRYPTION=$enableval]],
215
[[ARG_ENABLE_ENCRYPTION=yes]]
221
[--disable-pool-allocators],
222
[disable pool allocators for send buffers [default=yes]])],
223
[[ARG_ENABLE_POOL_ALLOC=$enableval]],
224
[[ARG_ENABLE_POOL_ALLOC=yes]]
230
[--enable-invariant-checks],
231
[enable invariant checks (use value "full" to turn on extra expensive invariant checks) @<:@default=yes if debug is enabled, no otherwhise@:>@])],
232
[[ARG_ENABLE_INVARIANT=$enableval]],
234
AS_IF([test "x$ac_arg_enable_debug" = "xyes"],
235
[ARG_ENABLE_INVARIANT=yes],
236
[ARG_ENABLE_INVARIANT=no])
241
[deprecated-functions],
243
[--disable-deprecated-functions],
244
[disable deprecated functions from the API [default=yes]])],
245
[[ARG_ENABLE_DEPRECATED=$enableval]],
246
[[ARG_ENABLE_DEPRECATED=yes]]
252
[--enable-statistics],
253
[enable statistics logging feature [default=no]])],
254
[[ARG_ENABLE_STATS=$enableval]],
255
[[ARG_ENABLE_STATS=no]]
261
[--enable-disk-stats],
262
[enable disk activity logging feature [default=no]])],
263
[[ARG_ENABLE_DISK_STATS=$enableval]],
264
[[ARG_ENABLE_DISK_STATS=no]]
271
[disable geoip support (if enabled, you can use --with-libgeoip to choose whether to link against shipped or system library) [default=yes]])],
273
ARG_ENABLE_GEOIP=$enableval
274
ac_arg_enable_geoip=$enableval
278
ac_arg_enable_geoip=yes
286
[build example files [default=no]])],
287
[[ARG_ENABLE_EXAMPLES=$enableval]],
288
[[ARG_ENABLE_EXAMPLES=no]]
295
[build test files [default=no]])],
296
[[ARG_ENABLE_TESTS=$enableval]],
297
[[ARG_ENABLE_TESTS=no]]
303
[--enable-python-binding],
304
[build python bindings [default=no]])],
305
[[ARG_ENABLE_PYTHON_BINDING=$enableval]],
306
[[ARG_ENABLE_PYTHON_BINDING=no]]
313
[disable linking against system zlib [default=system]])],
314
[[ARG_WITH_ZLIB=$withval]],
315
[[ARG_WITH_ZLIB=yes]]
322
[enable linking against system libgeoip [default=shipped]])],
323
[[ARG_WITH_LIBGEOIP=$withval]],
324
[[ARG_WITH_LIBGEOIP=no]]
328
###############################################################################
329
# Checking configure options
330
###############################################################################
333
AS_ECHO "Checking build options:"
335
AC_MSG_CHECKING([whether deprecated functions should be enabled])
336
AS_CASE(["$ARG_ENABLE_DEPRECATED"],
342
AC_DEFINE([TORRENT_NO_DEPRECATE],[1],[Define to exclude all deprecated functions from the API.])
344
[AC_MSG_RESULT([$ARG_ENABLE_DEPRECATED])
345
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEPRECATED". Use either "yes" or "no".])]
348
AC_MSG_CHECKING([whether debug build should be enabled])
349
AS_CASE(["$ARG_ENABLE_DEBUG"],
352
AC_DEFINE([TORRENT_DEBUG],[1],[Define to enable debug code.])
353
COMPILETIME_OPTIONS+="-DTORRENT_DEBUG "
358
AC_DEFINE([NDEBUG],[1],[Define to disable debug code.])
359
#COMPILETIME_OPTIONS+="-DNDEBUG "
362
[AC_MSG_RESULT([$ARG_ENABLE_DEBUG])
363
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEBUG". Use either "yes" or "no".])]
366
AC_MSG_CHECKING([whether invariant check should be enabled]) #depends: $ac_arg_enable_debug
367
AS_CASE(["$ARG_ENABLE_INVARIANT"],
370
AS_IF([test "x$ac_arg_enable_debug" = "xno"],
371
[AC_MSG_ERROR([invariant-checks: this setting only affects debug build. Try using --enable-debug.])])
375
AS_IF([test "x$ac_arg_enable_debug" = "xyes"],
376
[AC_DEFINE([TORRENT_DISABLE_INVARIANT_CHECKS],[1],[Define to disable internal invariant checks. Asserts are still enabled while debug is on.])])
379
AC_MSG_RESULT([full])
380
AS_IF([test "x$ac_arg_enable_debug" = "xyes"],
381
[AC_DEFINE([TORRENT_EXPENSIVE_INVARIANT_CHECKS],[1],[Define to enable extra expensive invariant checks.])],
382
[AC_MSG_ERROR([invariant-checks: this setting only affects debug build. Try using --enable-debug.])])
384
[AC_MSG_RESULT([$ARG_ENABLE_INVARIANT])
385
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_INVARIANT". Use either "yes", "no" or "full".])]
388
AC_MSG_CHECKING([whether logging to disk should be enabled])
389
AS_CASE(["$ARG_ENABLE_LOGGING"],
392
AC_DEFINE([TORRENT_LOGGING],[1],[Define to enable logging of the session events.])
393
COMPILETIME_OPTIONS+="-DTORRENT_LOGGING "
399
AC_MSG_RESULT([verbose])
400
AC_DEFINE([TORRENT_VERBOSE_LOGGING],[1],[Define to enable logging of the session events and every peer connection.])
401
COMPILETIME_OPTIONS+="-DTORRENT_VERBOSE_LOGGING "
404
AC_MSG_RESULT([errors])
405
AC_DEFINE([TORRENT_ERROR_LOGGING],[1],[Define to enable logging of the session events and every peer connection limited to errors.])
406
COMPILETIME_OPTIONS+="-DTORRENT_ERROR_LOGGING "
408
[AC_MSG_RESULT([$ARG_ENABLE_LOGGING])
409
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_LOGGING". Use either "yes", "no", "verbose" or "errors".])]
412
AC_MSG_CHECKING([whether statistics logging should be enabled])
413
AS_CASE(["$ARG_ENABLE_STATS"],
416
AC_DEFINE([TORRENT_STATS],[1],[Define to generate a log with statistics.])
421
[AC_MSG_RESULT([$ARG_ENABLE_STATS])
422
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_STATS". Use either "yes" or "no".])]
425
AC_MSG_CHECKING([whether disk activity logging should be enabled])
426
AS_CASE(["$ARG_ENABLE_DISK_STATS"],
429
AC_DEFINE([TORRENT_DISK_STATS],[1],[Define to create a log of all disk activities.])
434
[AC_MSG_RESULT([$ARG_ENABLE_DISK_STATS])
435
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DISK_STATS". Use either "yes" or "no".])]
439
AS_ECHO "Checking features to be enabled:"
441
AC_MSG_CHECKING([whether encryption support should be enabled])
442
AS_CASE(["$ARG_ENABLE_ENCRYPTION"],
445
AC_MSG_NOTICE([encryption support: now checking for the OpenSSL library...])
448
AC_DEFINE([TORRENT_USE_OPENSSL],[1],[Define to use OpenSSL support.])
449
COMPILETIME_OPTIONS+="-DTORRENT_USE_OPENSSL "
451
AC_MSG_ERROR([OpenSSL library not found. Try using --with-openssl=DIR or disabling encryption at all.])
456
AC_DEFINE([TORRENT_DISABLE_ENCRYPTION],[1],[Define to disable any encryption support and avoid linking against OpenSSL.])
457
COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_ENCRYPTION "
459
[AC_MSG_RESULT([$ARG_ENABLE_ENCRYPTION])
460
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_ENCRYPTION". Use either "yes" or "no".])]
463
AC_MSG_CHECKING([whether geoip support should be enabled])
464
AS_CASE(["$ARG_ENABLE_GEOIP"],
470
AC_DEFINE([TORRENT_DISABLE_GEO_IP],[1],[Define to disable the GeoIP support and avoid linking against LGPLed code.])
471
COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_GEO_IP "
473
[AC_MSG_RESULT([$ARG_ENABLE_GEOIP])
474
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_GEOIP". Use either "yes" or "no".])]
477
AC_MSG_CHECKING([whether dht support should be enabled])
478
AS_CASE(["$ARG_ENABLE_DHT"],
484
AC_DEFINE([TORRENT_DISABLE_DHT],[1],[Define to disable the DHT support.])
485
COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_DHT "
488
AC_MSG_RESULT([logging])
489
AC_DEFINE([TORRENT_DHT_VERBOSE_LOGGING],[1],[Define to enable DHT support with verbose logging.])
490
COMPILETIME_OPTIONS+="-DTORRENT_DHT_VERBOSE_LOGGING "
492
[AC_MSG_RESULT([$ARG_ENABLE_DHT])
493
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DHT". Use either "yes", "no" or "logging".])]
496
AC_MSG_CHECKING([whether pool allocators should be enabled])
497
AS_CASE(["$ARG_ENABLE_POOL_ALLOC"],
503
AC_DEFINE([TORRENT_DISABLE_POOL_ALLOCATOR],[1],[Define to disable use of boost::pool for pool allocators.])
505
[AC_MSG_RESULT([$ARG_ENABLE_POOL_ALLOC])
506
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_POOL_ALLOC". Use either "yes" or "no".])]
510
AS_ECHO "Checking for extra build files:"
512
AC_MSG_CHECKING([whether example files should be built])
513
AS_CASE(["$ARG_ENABLE_EXAMPLES"],
514
["yes"], [AC_MSG_RESULT([yes])],
515
["no"], [AC_MSG_RESULT([no])],
516
[AC_MSG_RESULT([$ARG_ENABLE_EXAMPLES])
517
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_EXAMPLES". Use either "yes" or "no".])]
520
AC_MSG_CHECKING([whether test files should be built])
521
AS_CASE(["$ARG_ENABLE_TESTS"],
522
["yes"], [AC_MSG_RESULT([yes])],
523
["no"], [AC_MSG_RESULT([no])],
524
[AC_MSG_RESULT([$ARG_ENABLE_TESTS])
525
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_TESTS". Use either "yes" or "no".])]
528
AC_MSG_CHECKING([whether python bindings should be built])
529
AS_CASE(["$ARG_ENABLE_PYTHON_BINDING"],
533
AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.]))
534
AX_PYTHON_DEVEL([>= '2.4'])
537
AS_IF([test -z "$BOOST_PYTHON_LIB"],
538
[AC_MSG_ERROR([Boost.Python library not found. Try using --with-boost-python=lib.])])
543
[AC_MSG_RESULT([$ARG_ENABLE_PYTHON_BINDING])
544
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_PYTHON_BINDING". Use either "yes" or "no".])]
548
AS_ECHO "Checking for external libraries:"
550
AC_MSG_CHECKING([whether to link against system zlib])
551
AS_CASE(["$ARG_WITH_ZLIB"],
554
AC_CHECK_HEADER([zlib.h], [
555
AC_CHECK_LIB([z], [main], [],
556
[AC_MSG_ERROR([zlib library not found. Try using --without-zlib to link against the shipped copy.])])],
557
[AC_MSG_ERROR([zlib header not found. Try using --without-zlib to link against the shipped copy.])])
561
AC_MSG_NOTICE([zlib: linking against shipped zlib.])
562
#AC_SUBST([ZLIB], ["\$(top_builddir)/zlib/libzlib.la"])
563
#AC_SUBST([ZLIBINCL], ["-I\$(top_srcdir)/zlib"])
564
#AC_MSG_NOTICE([zlib= $ZLIB zlibincl= $ZLIBINCL])
567
[AC_MSG_RESULT([$ARG_WITH_ZLIB])
568
AC_MSG_ERROR([Unknown option "$ARG_WITH_ZLIB". Use either "yes" or "no".])]
571
AC_MSG_CHECKING([for FIEMAP support])
572
AC_CHECK_HEADERS([linux/fiemap.h])
574
AC_MSG_CHECKING([whether to link against system libgeoip]) #depends: $ac_arg_enable_geoip
575
AS_CASE(["$ARG_WITH_LIBGEOIP"],
579
AS_IF([test "x$ac_arg_enable_geoip" = "xno"],
580
[AC_MSG_ERROR([GeoIP support is disabled with this build configuration. Try using --enable-geoip.])])
582
AC_MSG_NOTICE([libgeoip: now checking for the libgeoip library...])
585
LIBS="$GEOIP_LIBS $LIBS"
586
CFLAGS="$GEOIP_CFLAGS $CFLAGS"
588
AC_MSG_ERROR([GeoIP library not found. Try using --without-libgeoip to link against the shipped copy.])
592
AS_IF([test "x$ac_arg_enable_geoip" = "xno"], [
593
# redundant check: session_impl.hpp just won't check for any
594
# GeoIP.h, so any value would be ok (ie. this AS_IF could be
596
AC_MSG_RESULT([disabled])
597
ARG_WITH_LIBGEOIP="disabled"
600
ARG_WITH_LIBGEOIP="no"
601
AC_DEFINE([WITH_SHIPPED_GEOIP_H],[1],[Define to use shipped copy of GeoIP.h])
602
COMPILETIME_OPTIONS+="-DWITH_SHIPPED_GEOIP_H "
605
[AC_MSG_RESULT([$ARG_WITH_LIBGEOIP])
606
AC_MSG_ERROR([Unknown option "$ARG_WITH_LIBGEOIP". Use either "yes" or "no".])]
610
###############################################################################
611
# Setting conditional variables for Makefiles
612
###############################################################################
614
AM_CONDITIONAL([ENABLE_DHT], [test "x$ARG_ENABLE_DHT" = "xyes" -o "x$ARG_ENABLE_DHT" = "xlogging" ])
615
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "x$ARG_ENABLE_EXAMPLES" = "xyes"])
616
AM_CONDITIONAL([ENABLE_TESTS], [test "x$ARG_ENABLE_TESTS" = "xyes"])
617
AM_CONDITIONAL([ENABLE_PYTHON_BINDING], [test "x$ARG_ENABLE_PYTHON_BINDING" = "xyes"])
619
AM_CONDITIONAL([WITH_SHIPPED_ZLIB], [test "x$ARG_WITH_ZLIB" = "xno" ])
620
AM_CONDITIONAL([WITH_SHIPPED_GEOIP], [test "x$ARG_WITH_LIBGEOIP" = "xno" ])
623
###############################################################################
625
###############################################################################
627
# this works around a bug in asio in boost-1.39
628
# see: https://svn.boost.org/trac/boost/ticket/3095
629
AC_DEFINE([BOOST_ASIO_HASH_MAP_BUCKETS],[1021],[Define to fix a wrong behavior in boost 1.39.])
630
COMPILETIME_OPTIONS+="-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 "
632
AC_DEFINE([BOOST_EXCEPTION_DISABLE],[1],[Define to disable the boost.exception features.])
633
COMPILETIME_OPTIONS+="-DBOOST_EXCEPTION_DISABLE "
635
dnl Use possibly specific python install params
636
AC_ARG_VAR([PYTHON_INSTALL_PARAMS], [Set specific install parameters for python bindings.])
637
AS_IF([test "x$PYTHON_INSTALL_PARAMS" = "x"],
638
[PYTHON_INSTALL_PARAMS='--prefix=$(DESTDIR)$(prefix)'])
640
dnl Set some defines if we are building a shared library
641
AS_IF([test "x$enable_shared" = "xyes"],
642
[AC_DEFINE([TORRENT_BUILDING_SHARED],[1],[Define to exports functions and classes with default visibility in GCC.])
643
COMPILETIME_OPTIONS+="-DTORRENT_LINKING_SHARED "])
646
AC_SUBST(PYTHON_INSTALL_PARAMS)
647
AC_SUBST(COMPILETIME_OPTIONS)
650
# Try to guess real svn revision if any, fallback to hardcoded otherwise
651
SVN_REVISION=`svn info 2>/dev/null | sed -n -e '/^URL\:.*libtorrent.svn.sourceforge.net/,$!d;s,^Revision\: \([[0-9]]*\)$,\1,p'`
652
AS_IF([test -z "$SVN_REVISION"],
653
[SVN_REVISION=`sed -n -e 's/^#define LIBTORRENT_REVISION \"\$Rev\: \([0-9]*\) \$\" $/\1/p' include/libtorrent/version.hpp`])
656
###############################################################################
657
# Generating Makefiles
658
###############################################################################
661
AS_ECHO "Generating Makefiles:"
666
[include/libtorrent/Makefile]
671
[bindings/python/Makefile]
672
[bindings/python/setup.py]
673
[libtorrent-rasterbar.pc]
674
[libtorrent-rasterbar-cmake.pc]
680
###############################################################################
681
# Generating config.report
682
###############################################################################
685
AS_ECHO "Configure script has finished system check."
688
cat > config.report << END
693
name: ${PACKAGE_NAME}
694
version: ${PACKAGE_VERSION}
695
svn revision: ${SVN_REVISION}
698
build system: ${build}
700
target system: ${target}
702
Compiler and linker flags:
703
CPPFlags: ${CPPFLAGS}
705
CXXFlags: ${CXXFLAGS}
711
deprecated functions: ${ARG_ENABLE_DEPRECATED:-yes}
712
debug build: ${ARG_ENABLE_DEBUG:-no}
713
invariant checks: ${ARG_ENABLE_INVARIANT:-no}
714
logging support: ${ARG_ENABLE_LOGGING:-no}
715
statistics: ${ARG_ENABLE_STATS:-no}
716
disk statistics: ${ARG_ENABLE_DISK_STATS:-no}
719
encryption support: ${ARG_ENABLE_ENCRYPTION:-yes}
720
geoip support: ${ARG_ENABLE_GEOIP:-yes}
721
dht support: ${ARG_ENABLE_DHT:-yes}
722
pool allocators: ${ARG_ENABLE_POOL_ALLOC:-yes}
725
examples: ${ARG_ENABLE_EXAMPLES:-no}
726
tests: ${ARG_ENABLE_TESTS:-no}
727
python bindings: ${ARG_ENABLE_PYTHON_BINDING:-no}
730
CFlags: ${PTHREAD_CFLAGS}
731
Libs: ${PTHREAD_LIBS}
734
version: ${BOOST_VERSION}
735
CPPFlags: ${BOOST_CPPFLAGS}
736
LDFlags: ${BOOST_LDFLAGS}
737
boost.system: ${BOOST_SYSTEM_LIB}
738
boost.filesystem: ${BOOST_FILESYSTEM_LIB}
739
boost.thread: ${BOOST_THREAD_LIB}
742
AS_IF([test "x$ARG_ENABLE_PYTHON_BINDING" = "xyes"], [
743
cat >> config.report << END
744
boost.python: ${BOOST_PYTHON_LIB}
749
version: ${PYTHON_VERSION}
750
platform: ${PYTHON_PLATFORM}
751
prefix: ${PYTHON_PREFIX}
752
exec_prefix: ${PYTHON_EXEC_PREFIX}
753
pythondir: ${pythondir}
754
pkgpythondir: ${pkgpythondir}
755
pyexecdir: ${pyexecdir}
756
pkgpyexecdir: ${pkgpyexecdir}
759
cppflags: ${PYTHON_CPPFLAGS}
760
ldflags: ${PYTHON_LDFLAGS}
761
extra libs: ${PYTHON_EXTRA_LIBS}
762
extra ldflags: ${PYTHON_EXTRA_LDFLAGS}
767
cat >> config.report << END
770
system zlib: ${ARG_WITH_ZLIB:-yes}
771
system libgeoip: ${ARG_WITH_LIBGEOIP:-no}
774
AS_IF([test "x$ARG_WITH_LIBGEOIP" = "xyes"], [
775
cat >> config.report << END
778
GeoIP CFlags: ${GEOIP_CFLAGS}
779
GeoIP Libs: ${GEOIP_LIBS}
783
AS_IF([test "x$ARG_ENABLE_ENCRYPTION" = "xyes"], [
784
cat >> config.report << END
787
OpenSSL Libs: ${OPENSSL_LIBS}
788
OpenSSL LDFlags: ${OPENSSL_LDFLAGS}
789
OpenSSL Includes: ${OPENSSL_INCLUDES}
796
AS_ECHO "Type 'make' to compile $PACKAGE_STRING"
797
AS_ECHO "or type 'make V=1' for verbose compiling"
798
AS_ECHO "and then 'make install' to install it into $prefix"