configure.ac 15 KB

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