configure.ac 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. #
  4. AC_PREREQ([2.67])
  5. AC_INIT([aria2],[1.11.2],[t-tujikawa@users.sourceforge.net],[aria2],[http://aria2.sourceforge.net/])
  6. AC_CANONICAL_HOST
  7. AC_CANONICAL_TARGET
  8. AM_INIT_AUTOMAKE()
  9. AM_PATH_CPPUNIT(1.10.2)
  10. AC_CONFIG_SRCDIR([src/a2io.h])
  11. AC_CONFIG_HEADERS([config.h])
  12. case "$target" in
  13. *mingw*|*cygwin*)
  14. LIBS="-lws2_32 -lcrypto -lwsock32 -lgdi32 -lwinmm $LIBS"
  15. ;;
  16. esac
  17. AC_DEFINE_UNQUOTED([TARGET], ["$target"], [Define target-type])
  18. # Checks for arguments.
  19. ARIA2_ARG_WITH([gnutls])
  20. ARIA2_ARG_WITH([openssl])
  21. ARIA2_ARG_WITH([sqlite3])
  22. ARIA2_ARG_WITH([libxml2])
  23. ARIA2_ARG_WITH([libexpat])
  24. ARIA2_ARG_WITH([libcares])
  25. ARIA2_ARG_WITH([libz])
  26. ARIA2_ARG_ENABLE([bittorrent])
  27. ARIA2_ARG_ENABLE([metalink])
  28. ARIA2_ARG_ENABLE([epoll])
  29. AC_ARG_WITH([ca-bundle],
  30. AS_HELP_STRING([--with-ca-bundle=FILE],[Use FILE as default CA bundle.]),
  31. [ca_bundle=$withval], [ca_bundle=""])
  32. # Checks for programs.
  33. AC_PROG_CXX
  34. AC_PROG_CC
  35. AC_PROG_INSTALL
  36. AC_PROG_MKDIR_P
  37. AC_PROG_RANLIB
  38. AC_PROG_YACC
  39. AC_CHECK_TOOL([AR], [ar], [:])
  40. if test "x$AR" = "x:"; then
  41. AC_MSG_FAILURE([ar is not found in the system.])
  42. fi
  43. AC_SUBST([AR])
  44. AC_PATH_PROG([A2X], [a2x])
  45. AC_SUBST([A2X])
  46. AM_CONDITIONAL([HAVE_A2X], [ test "x$A2X" != "x" ])
  47. AC_PATH_PROG([ASCIIDOC], [asciidoc])
  48. AC_SUBST([ASCIIDOC])
  49. AM_CONDITIONAL([HAVE_ASCIIDOC], [ test "x$ASCIIDOC" != "x" ])
  50. # Setting language choice
  51. AC_LANG([C++])
  52. # Enable system extensions
  53. AC_USE_SYSTEM_EXTENSIONS
  54. # Check pkg-config is available
  55. PKG_PROG_PKG_CONFIG([0.20])
  56. # Checks for libraries.
  57. if test "x$with_libxml2" = "xyes"; then
  58. AM_PATH_XML2([2.6.24], [have_libxml2=yes])
  59. if test "x$have_libxml2" = "xyes"; then
  60. AC_DEFINE([HAVE_LIBXML2], [1], [Define to 1 if you have libxml2.])
  61. LIBS="$XML_LIBS $LIBS"
  62. CPPFLAGS="$XML_CPPFLAGS $CPPFLAGS"
  63. elif test "x$with_libxml2_requested" = "xyes"; then
  64. ARIA2_DEP_NOT_MET([libxml2])
  65. fi
  66. fi
  67. if test "x$with_libexpat" = "xyes" && test "x$have_libxml2" != "xyes"; then
  68. AM_PATH_LIBEXPAT
  69. if test "x$have_libexpat" = "xyes"; then
  70. LIBS="$LIBEXPAT_LIBS $LIBS"
  71. CPPFLAGS="$LIBEXPAT_CPPFLAGS $CPPFLAGS"
  72. elif test "x$with_libexpat_requested" = "xyes"; then
  73. ARIA2_DEP_NOT_MET([libexpat])
  74. fi
  75. fi
  76. if test "x$with_sqlite3" = "xyes"; then
  77. AM_PATH_SQLITE3
  78. if test "x$have_sqlite3" = "xyes"; then
  79. LIBS="$SQLITE3_LIBS $LIBS"
  80. CPPFLAGS="$SQLITE3_CFLAGS $CPPFLAGS"
  81. elif test "x$with_sqlite3_requested" = "xyes"; then
  82. ARIA2_DEP_NOT_MET([sqlite3])
  83. fi
  84. fi
  85. if test "x$with_gnutls" = "xyes"; then
  86. # gnutls >= 2.8 doesn't have libgnutls-config anymore. We require
  87. # 2.2.0 because we use gnutls_priority_set_direct()
  88. PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.0],
  89. [have_libgnutls=yes], [have_libgnutls=no])
  90. if test "x$have_libgnutls" = "xyes"; then
  91. AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have libgnutls.])
  92. LIBS="$LIBGNUTLS_LIBS $LIBS"
  93. CPPFLAGS="$LIBGNUTLS_CFLAGS $CPPFLAGS"
  94. elif test "x$with_gnutls_requested" = "xyes"; then
  95. ARIA2_DEP_NOT_MET([gnutls])
  96. fi
  97. fi
  98. if test "x$have_libgnutls" = "xyes"; then
  99. AM_PATH_LIBGCRYPT([1.2.2], [have_libgcrypt=yes])
  100. if test "x$have_libgcrypt" = "xyes"; then
  101. AC_DEFINE([HAVE_LIBGCRYPT], [1], [Define to 1 if you have libgcrypt.])
  102. LIBS="$LIBGCRYPT_LIBS $LIBS"
  103. CPPFLAGS="$LIBGCRYPT_CFLAGS $CPPFLAGS"
  104. fi
  105. fi
  106. if test "x$with_openssl" = "xyes" && test "x$have_libgnutls" != "xyes"; then
  107. AM_PATH_OPENSSL
  108. if test "x$have_openssl" = "xyes"; then
  109. LIBS="$OPENSSL_LIBS $LIBS"
  110. CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
  111. elif test "x$with_openssl_requested" = "xyes"; then
  112. ARIA2_DEP_NOT_MET([openssl])
  113. fi
  114. fi
  115. if test "x$with_libcares" = "xyes"; then
  116. AM_PATH_LIBCARES
  117. if test "x$have_libcares" = "xyes"; then
  118. LIBS="$LIBCARES_LIBS $LIBS"
  119. CPPFLAGS="$LIBCARES_CFLAGS $CPPFLAGS"
  120. elif test "x$with_libcares_requested" = "xyes"; then
  121. ARIA2_DEP_NOT_MET([libcares])
  122. fi
  123. fi
  124. # Check availability of libz
  125. if test "x$with_libz" = "xyes"; then
  126. AM_PATH_LIBZ
  127. if test "x$have_zlib" = "xyes"; then
  128. LIBS="$ZLIB_LIBS $LIBS"
  129. CPPFLAGS="$ZLIB_CFLAGS $CPPFLAGS"
  130. elif test "x$with_libz_requested" = "xyes"; then
  131. ARIA2_DEP_NOT_MET([libz])
  132. fi
  133. fi
  134. # Define variables based on the result of the checks for libraries.
  135. if test "x$have_libgnutls" = "xyes" || test "x$have_openssl" = "xyes"; then
  136. AC_DEFINE([ENABLE_SSL], [1], [Define to 1 if ssl support is enabled.])
  137. AM_CONDITIONAL([ENABLE_SSL], true)
  138. AC_SUBST([ca_bundle])
  139. else
  140. AM_CONDITIONAL([ENABLE_SSL], false)
  141. fi
  142. AM_CONDITIONAL([HAVE_LIBGNUTLS], [ test "x$have_libgnutls" = "xyes" ])
  143. AM_CONDITIONAL([HAVE_OPENSSL], [ test "x$have_openssl" = "xyes" ])
  144. if test "x$have_libgcrypt" = "xyes" || test "x$have_openssl" = "xyes"; then
  145. AC_DEFINE([ENABLE_MESSAGE_DIGEST], [1],
  146. [Define to 1 if message digest support is enabled.])
  147. AM_CONDITIONAL([ENABLE_MESSAGE_DIGEST], true)
  148. enable_message_digest=yes
  149. else
  150. AM_CONDITIONAL([ENABLE_MESSAGE_DIGEST], false)
  151. fi
  152. if test "x$enable_bittorrent" = "xyes" &&
  153. test "x$enable_message_digest" = "xyes"; then
  154. AC_DEFINE([ENABLE_BITTORRENT], [1],
  155. [Define to 1 if BitTorrent support is enabled.])
  156. AM_CONDITIONAL([ENABLE_BITTORRENT], true)
  157. else
  158. if test "x$enable_bittorrent_requested" = "xyes"; then
  159. ARIA2_FET_NOT_SUPPORTED([bittorrent])
  160. fi
  161. enable_bittorrent=no
  162. AM_CONDITIONAL([ENABLE_BITTORRENT], false)
  163. fi
  164. if (test "x$have_libxml2" = "xyes" || test "x$have_libexpat" = "xyes") &&
  165. test "x$enable_metalink" = "xyes"; then
  166. AC_DEFINE([ENABLE_METALINK], [1],
  167. [Define to 1 if Metalink support is enabled.])
  168. AM_CONDITIONAL([ENABLE_METALINK], true)
  169. else
  170. if test "x$enable_metalink_requested" = "xyes"; then
  171. ARIA2_FET_NOT_SUPPORTED([metalink])
  172. fi
  173. enable_metalink=no
  174. AM_CONDITIONAL([ENABLE_METALINK], false)
  175. fi
  176. AM_CONDITIONAL([ENABLE_METALINK_LIBXML2],
  177. [test "x$enable_metalink" = "xyes" && test "x$have_libxml2" = "xyes"])
  178. AM_CONDITIONAL([ENABLE_METALINK_LIBEXPAT],
  179. [test "x$enable_metalink" = "xyes" && test "x$have_libexpat" = "xyes"])
  180. if test "x$have_libxml2" = "xyes" || test "x$have_libexpat" = "xyes"; then
  181. enable_xml_rpc=yes
  182. fi
  183. if test "x$enable_xml_rpc" = "xyes"; then
  184. AC_DEFINE([ENABLE_XML_RPC], [1],
  185. [Define to 1 if XML-RPC support is enabled.])
  186. fi
  187. AM_CONDITIONAL([ENABLE_XML_RPC], [test "x$enable_xml_rpc" = "xyes"])
  188. AM_CONDITIONAL([HAVE_LIBXML2], [test "x$have_libxml2" = "xyes"])
  189. AM_CONDITIONAL([HAVE_LIBEXPAT], [test "x$have_libexpat" = "xyes"])
  190. if test "x$have_libcares" = "xyes"; then
  191. AC_DEFINE([ENABLE_ASYNC_DNS], [1],
  192. [Define to 1 if asynchronous DNS support is enabled.])
  193. AM_CONDITIONAL([ENABLE_ASYNC_DNS], true)
  194. else
  195. AM_CONDITIONAL([ENABLE_ASYNC_DNS], false)
  196. fi
  197. # Set conditional for libz
  198. AM_CONDITIONAL([HAVE_ZLIB], [test "x$have_zlib" = "xyes"])
  199. # Set conditional for sqlite3
  200. AM_CONDITIONAL([HAVE_SQLITE3], [test "x$have_sqlite3" = "xyes"])
  201. AC_SEARCH_LIBS([clock_gettime], [rt])
  202. case "$target" in
  203. *solaris*)
  204. AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
  205. AC_SEARCH_LIBS([inet_aton], [nsl socket])
  206. ;;
  207. esac
  208. # Checks for header files.
  209. AC_FUNC_ALLOCA
  210. AC_HEADER_STDC
  211. case "$target" in
  212. *mingw*)
  213. AC_CHECK_HEADERS([windows.h \
  214. winsock2.h \
  215. ws2tcpip.h \
  216. mmsystem.h], [], [],
  217. [[#ifdef HAVE_WINDOWS_H
  218. # include <windows.h>
  219. #endif
  220. ]])
  221. ;;
  222. esac
  223. AC_CHECK_HEADERS([argz.h \
  224. arpa/inet.h \
  225. fcntl.h \
  226. float.h \
  227. inttypes.h \
  228. io.h \
  229. langinfo.h \
  230. libintl.h \
  231. limits.h \
  232. locale.h \
  233. malloc.h \
  234. netdb.h \
  235. netinet/in.h \
  236. poll.h \
  237. port.h \
  238. stddef.h \
  239. stdint.h \
  240. stdio_ext.h \
  241. stdlib.h \
  242. string.h \
  243. strings.h \
  244. sys/ioctl.h \
  245. sys/param.h \
  246. sys/socket.h \
  247. sys/time.h \
  248. termios.h \
  249. unistd.h \
  250. utime.h \
  251. wchar.h \
  252. ifaddrs.h])
  253. # Checks for typedefs, structures, and compiler characteristics.
  254. AC_HEADER_STDBOOL
  255. AC_C_CONST
  256. AC_C_INLINE
  257. AC_TYPE_INT16_T
  258. AC_TYPE_INT32_T
  259. AC_TYPE_INT64_T
  260. AC_TYPE_INT8_T
  261. AC_TYPE_MODE_T
  262. AC_TYPE_OFF_T
  263. AC_TYPE_SIZE_T
  264. AC_TYPE_SSIZE_T
  265. AC_HEADER_TIME
  266. AC_STRUCT_TM
  267. AC_TYPE_UINT16_T
  268. AC_TYPE_UINT32_T
  269. AC_TYPE_UINT64_T
  270. AC_TYPE_UINT8_T
  271. AC_TYPE_PID_T
  272. AC_C_VOLATILE
  273. AC_CHECK_TYPES([ptrdiff_t, struct timespec])
  274. AC_C_BIGENDIAN
  275. AC_SYS_LARGEFILE
  276. # Checks for library functions.
  277. AM_GNU_GETTEXT
  278. AM_GNU_GETTEXT_VERSION([0.18])
  279. AC_FUNC_ERROR_AT_LINE
  280. AC_PROG_GCC_TRADITIONAL
  281. AC_FUNC_MEMCMP
  282. AC_FUNC_MKTIME
  283. AC_FUNC_MMAP
  284. AC_FUNC_SELECT_ARGTYPES
  285. AC_FUNC_STAT
  286. AC_FUNC_STRFTIME
  287. AC_FUNC_VPRINTF
  288. AC_FUNC_FORK
  289. AC_FUNC_STRTOD
  290. AC_CHECK_FUNCS([__argz_count \
  291. __argz_next \
  292. __argz_stringify \
  293. atexit \
  294. ftruncate \
  295. getcwd \
  296. gethostbyaddr \
  297. gethostbyname \
  298. getifaddrs \
  299. getpagesize \
  300. inet_ntoa \
  301. inet_ntop \
  302. memchr \
  303. memmove \
  304. mempcpy \
  305. memset \
  306. mkdir \
  307. munmap \
  308. nl_langinfo \
  309. posix_memalign \
  310. pow \
  311. putenv \
  312. rmdir \
  313. select \
  314. setlocale \
  315. sleep \
  316. socket \
  317. stpcpy \
  318. strcasecmp \
  319. strchr \
  320. strcspn \
  321. strdup \
  322. strerror \
  323. strncasecmp \
  324. strstr \
  325. strtol \
  326. strtoul \
  327. strtoull \
  328. tzset \
  329. unsetenv \
  330. usleep \
  331. utime])
  332. if test "x$enable_epoll" = "xyes"; then
  333. AC_CHECK_FUNCS([epoll_create], [have_epoll=yes])
  334. if test "x$have_epoll" = "xyes"; then
  335. AC_DEFINE([HAVE_EPOLL], [1], [Define to 1 if epoll is available.])
  336. fi
  337. fi
  338. AM_CONDITIONAL([HAVE_EPOLL], [test "x$have_epoll" = "xyes"])
  339. AC_CHECK_FUNCS([posix_fallocate],[have_posix_fallocate=yes])
  340. ARIA2_CHECK_FALLOCATE
  341. if test "x$have_posix_fallocate" = "xyes" ||
  342. test "x$have_fallocate" = "xyes"; then
  343. AC_DEFINE([HAVE_SOME_FALLOCATE], [1],
  344. [Define to 1 if *_fallocate is available.])
  345. fi
  346. AM_CONDITIONAL([HAVE_SOME_FALLOCATE],
  347. [test "x$have_posix_fallocate" = "xyes" || test "x$have_fallocate" = "xyes"])
  348. AC_CHECK_FUNCS([asctime_r],
  349. [AM_CONDITIONAL([HAVE_ASCTIME_R], true)],
  350. [AM_CONDITIONAL([HAVE_ASCTIME_R], false)])
  351. AC_CHECK_FUNCS([basename],
  352. [AM_CONDITIONAL([HAVE_BASENAME], true)],
  353. [AM_CONDITIONAL([HAVE_BASENAME], false)])
  354. AC_CHECK_FUNCS([gai_strerror],
  355. [AM_CONDITIONAL([HAVE_GAI_STRERROR], true)],
  356. [AM_CONDITIONAL([HAVE_GAI_STRERROR], false)])
  357. AC_CHECK_FUNCS([getaddrinfo],
  358. [AM_CONDITIONAL([HAVE_GETADDRINFO], true)],
  359. [AM_CONDITIONAL([HAVE_GETADDRINFO], false)])
  360. AC_CHECK_FUNCS([gettimeofday],
  361. [AM_CONDITIONAL([HAVE_GETTIMEOFDAY], true)],
  362. [AM_CONDITIONAL([HAVE_GETTIMEOFDAY], false)])
  363. AC_CHECK_FUNCS([inet_aton],
  364. [AM_CONDITIONAL([HAVE_INET_ATON], true)],
  365. [AM_CONDITIONAL([HAVE_INET_ATON], false)])
  366. AC_CHECK_FUNCS([localtime_r],
  367. [AM_CONDITIONAL([HAVE_LOCALTIME_R], true)],
  368. [AM_CONDITIONAL([HAVE_LOCALTIME_R], false)])
  369. AC_CHECK_FUNCS([strptime],
  370. [AM_CONDITIONAL([HAVE_STRPTIME], true)],
  371. [AM_CONDITIONAL([HAVE_STRPTIME], false)])
  372. AC_CHECK_FUNCS([timegm],
  373. [AM_CONDITIONAL([HAVE_TIMEGM], true)],
  374. [AM_CONDITIONAL([HAVE_TIMEGM], false)])
  375. AC_CHECK_FUNCS([daemon], [have_daemon=yes])
  376. AM_CONDITIONAL([HAVE_DAEMON], [test "x$have_daemon" = "xyes"])
  377. AC_CHECK_FUNCS([clock_gettime], [have_clock_gettime=yes])
  378. if test "x$have_clock_gettime" != "xyes"; then
  379. AC_CHECK_FUNCS([mach_absolute_time], [have_mach_absolute_time=yes])
  380. fi
  381. AM_CONDITIONAL([HAVE_MACH_ABSOLUTE_TIME],
  382. [test "x$have_mach_absolute_time" = "xyes"])
  383. AC_CHECK_FUNCS([poll], [have_poll=yes])
  384. AM_CONDITIONAL([HAVE_POLL], [test "x$have_poll" = "xyes"])
  385. case "$target" in
  386. *mingw*)
  387. dnl defined in ws2tcpip.h, but only if _WIN32_WINNT >= 0x0501
  388. AM_CONDITIONAL([HAVE_GETADDRINFO], true)
  389. dnl defined in ws2tcpip.h, but missing in C:\mingw\lib\libws2_32.a
  390. AM_CONDITIONAL([HAVE_GAI_STRERROR], false)
  391. if test "x$have_clock_gettime" != "xyes"; then
  392. AM_CONDITIONAL([HAVE_TIMEGETTIME], true)
  393. fi
  394. ;;
  395. *)
  396. AM_CONDITIONAL([HAVE_TIMEGETTIME], false)
  397. ;;
  398. esac
  399. AC_CHECK_FUNCS([port_associate], [have_port_associate=yes])
  400. AM_CONDITIONAL([HAVE_PORT_ASSOCIATE], [test "x$have_port_associate" = "xyes"])
  401. AC_CHECK_FUNCS([kqueue], [have_kqueue=yes])
  402. AM_CONDITIONAL([HAVE_KQUEUE], [test "x$have_kqueue" = "xyes"])
  403. if test "x$have_kqueue" = "xyes"; then
  404. AC_MSG_CHECKING([whether struct kevent.udata is intptr_t])
  405. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  406. #include <sys/types.h>
  407. #include <sys/event.h>
  408. #include <sys/time.h>
  409. ]],
  410. [[
  411. struct kevent event;
  412. event.udata = reinterpret_cast<intptr_t>(&event);
  413. ]])],
  414. [kevent_udata_intptr_t=yes], [kevent_udata_intptr_t=no])
  415. AC_MSG_RESULT([$kevent_udata_intptr_t])
  416. if test "x$kevent_udata_intptr_t" = "xyes"; then
  417. AC_DEFINE([KEVENT_UDATA_INTPTR_T], [1], [Define to 1 if struct kevent.udata is intptr_t])
  418. fi
  419. fi
  420. AC_CHECK_MEMBER([struct sockaddr_in.sin_len],
  421. [AC_DEFINE([HAVE_SOCKADDR_IN_SIN_LEN],[1],
  422. [Define to 1 if struct sockaddr_in has sin_len member.])],
  423. [],
  424. [[#include <netinet/in.h>]])
  425. # Check struct option.name is assignable from const char*. struct
  426. # option.name in opensolaris is of type char*. In Linux, it is const
  427. # char*
  428. AC_MSG_CHECKING([whether struct option.name is assignable from const char*])
  429. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  430. #include <unistd.h>
  431. #include <getopt.h>
  432. ]],
  433. [[
  434. const char* s = "const char";
  435. option op;
  436. op.name = s;
  437. ]])],
  438. [have_option_const_name=yes], [have_option_const_name=no])
  439. AC_MSG_RESULT([$have_option_const_name])
  440. if test "x$have_option_const_name" = "xyes"; then
  441. AC_DEFINE([HAVE_OPTION_CONST_NAME], [1], [Define 1 if struct option.name is const char*])
  442. fi
  443. AC_CONFIG_FILES([Makefile
  444. src/Makefile
  445. test/Makefile
  446. po/Makefile.in
  447. intl/Makefile
  448. lib/Makefile
  449. doc/Makefile])
  450. AC_OUTPUT
  451. echo " "
  452. echo "Build: $build"
  453. echo "Target: $target"
  454. echo "Install prefix: $prefix"
  455. echo "CXXFLAGS: $CXXFLAGS"
  456. echo "CFLAGS: $CFLAGS"
  457. echo "CPPFLAGS: $CPPFLAGS"
  458. echo "LDFLAGS: $LDFLAGS"
  459. echo "LIBS: $LIBS"
  460. echo "DEFS: $DEFS"
  461. echo "SQLite3: $have_sqlite3"
  462. echo "GnuTLS: $have_libgnutls"
  463. echo "OpenSSL: $have_openssl"
  464. echo "CA Bundle: $ca_bundle"
  465. echo "LibXML2: $have_libxml2"
  466. echo "LibExpat: $have_libexpat"
  467. echo "LibCares: $have_libcares"
  468. echo "Zlib: $have_zlib"
  469. echo "Epoll: $have_epoll"
  470. echo "Bittorrent: $enable_bittorrent"
  471. echo "Metalink: $enable_metalink"
  472. echo "XML-RPC: $enable_xml_rpc"