configure.ac 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.59])
  4. AC_INIT(bind10-devel, 20100602, bind10-dev@isc.org)
  5. AC_CONFIG_SRCDIR(README)
  6. AM_INIT_AUTOMAKE
  7. AC_CONFIG_HEADERS([config.h])
  8. # Checks for programs.
  9. AC_PROG_CXX
  10. AC_PROG_LIBTOOL
  11. AM_CONDITIONAL(USE_GXX, test "X${GXX}" = "Xyes")
  12. # Use C++ language
  13. AC_LANG_CPLUSPLUS
  14. # OS dependent compiler flags
  15. case "$host" in
  16. *-solaris*)
  17. # Solaris requires special definitions to get some standard libraries
  18. # (e.g. getopt(3)) available with common used header files.
  19. CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
  20. ;;
  21. esac
  22. m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1])
  23. AC_ARG_WITH([pythonpath],
  24. AC_HELP_STRING([--with-pythonpath=PATH],
  25. [specify an absolute path to python executable when automatic version check (incorrectly) fails]),
  26. [python_path="$withval"], [python_path="auto"])
  27. if test "$python_path" = auto; then
  28. AM_PATH_PYTHON([3.1])
  29. else
  30. # Older versions of automake can't handle python3 well. This is an
  31. # in-house workaround for them.
  32. PYTHON=$python_path
  33. AC_SUBST(PYTHON)
  34. PYTHON_PREFIX='${prefix}'
  35. AC_SUBST(PYTHON_PREFIX)
  36. PYTHON_EXEC_PREFIX='$(exec_prefix)'
  37. AC_SUBST(PYTHON_EXEC_PREFIX)
  38. PYTHON_VERSION=[`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`]
  39. if test `echo "$PYTHON_VERSION >= 3.1" | bc` != 1 ; then
  40. AC_MSG_ERROR(["Python version too old: $PYTHON_VERSION, need 3.1 or higher"])
  41. fi
  42. AC_SUBST(PYTHON_VERSION)
  43. PYTHON_PLATFORM=`$PYTHON -c "import sys; print(sys.platform)"`
  44. AC_SUBST(PYTHON_PLATFORM)
  45. pythondir='${prefix}/lib/python'$PYTHON_VERSION'/site-packages'
  46. AC_SUBST(pythondir)
  47. pkgpythondir='${pythondir}/'$PACKAGE
  48. AC_SUBST(pkgpythondir)
  49. pyexecdir='${exec_prefix}/lib/python'$PYTHON_VERSION'/site-packages'
  50. AC_SUBST(pyexecdir)
  51. pkgpyexecdir='${pyexecdir}/'$PACKAGE
  52. AC_SUBST(pkgpyexecdir)
  53. fi
  54. # Check for python development environments
  55. if test -x ${PYTHON}-config; then
  56. PYTHON_INCLUDES=`${PYTHON}-config --includes`
  57. for flag in `${PYTHON}-config --ldflags`; do
  58. # add any '-L..." flags to PYTHON_LDFLAGS
  59. flag=`echo $flag | sed -ne 's/^\(\-L.*\)$/\1/p'`
  60. if test "X${flag}" != X; then
  61. PYTHON_LDFLAGS="$PYTHON_LDFLAGS ${flag}"
  62. fi
  63. done
  64. # on some platforms, ${PYTHON}-config --ldflags doesn't provide a -L
  65. # option while having the library under a non trivial directory.
  66. # as a workaround we try the "lib" sub directory under the common
  67. # prefix for this python.
  68. if test -z "${PYTHON_LDFLAGS}"; then
  69. PYTHON_LDFLAGS="-L`${PYTHON}-config --prefix`/lib"
  70. fi
  71. else
  72. if test "X$PYTHON_INCLUDES" = X -o "X$PYTHON_LDFLAGS" = X; then
  73. AC_MSG_WARN([${PYTHON}-config does not exist or is not executable, so we could not detect python development environment. Your system may require an additional package (e.g. "python3-dev"). Alternatively, if you are sure you have python headers and libraries, define PYTHON_INCLUDES and PYTHON_LDFLAGS and run this script.])
  74. fi
  75. fi
  76. AC_SUBST(PYTHON_INCLUDES)
  77. AC_SUBST(PYTHON_LDFLAGS)
  78. # Check for python library (not absolutely mandatory, but needed for
  79. # Boost.Python when we use it. See below.)
  80. LDFLAGS_SAVED="$LDFLAGS"
  81. LDFLAGS="$LDFLAGS $PYTHON_LDFLAGS"
  82. python_bin="python${PYTHON_VERSION}"
  83. AC_CHECK_LIB($python_bin, main, python_lib=$python_bin, python_lib=no)
  84. if test $python_lib != "no"; then
  85. PYTHON_LIB="-l$python_lib"
  86. fi
  87. AC_SUBST(PYTHON_LIB)
  88. # TODO: check for _sqlite3.py module
  89. #
  90. # B10_CXXFLAGS is the default C++ compiler flags. This will (and should) be
  91. # used as the default value for each specifc AM_CXXFLAGS:
  92. # AM_CXXFLAGS = $(B10_CXXFLAGS)
  93. # AM_CXXFLAGS += ... # add module specific flags
  94. # We need this so that we can disable some specific compiler warnings per
  95. # module basis; since AM_CXXFLAGS are placed before CXXFLAGS, and since
  96. # gcc's -Wno-XXX option must be specified after -Wall or -Wextra, we cannot
  97. # specify the default warning flags in CXXFLAGS and let specific modules
  98. # "override" the default.
  99. #
  100. B10_CXXFLAGS=-g
  101. werror_ok=0
  102. if test "X$GXX" = "Xyes"; then
  103. B10_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare"
  104. UNUSED_PARAM_ATTRIBUTE='__attribute__((unused))'
  105. # Certain versions of gcc (g++) have a bug that incorrectly warns about
  106. # the use of anonymous name spaces even if they're closed in a single
  107. # translation unit. For these versions we have to disable -Werror.
  108. CXXFLAGS_SAVED="$CXXFLAGS"
  109. CXXFLAGS="$CXXFLAGS $B10_CXXFLAGS -Werror"
  110. AC_MSG_CHECKING(for in-TU anonymous namespace breakage)
  111. AC_TRY_COMPILE([namespace { class Foo {}; }
  112. namespace isc {class Bar {Foo foo_;};} ],,
  113. [AC_MSG_RESULT(no)
  114. werror_ok=1
  115. B10_CXXFLAGS="$B10_CXXFLAGS -Werror"],
  116. [AC_MSG_RESULT(yes)])
  117. CXXFLAGS="$CXXFLAGS_SAVED"
  118. fi dnl GXX = yes
  119. AM_CONDITIONAL(GCC_WERROR_OK, test $werror_ok = 1)
  120. AC_DEFINE_UNQUOTED(UNUSED_PARAM, $UNUSED_PARAM_ATTRIBUTE, Define to compiler keyword indicating a function argument is intentionally unused)
  121. # produce PIC unless we disable shared libraries. need this for python bindings.
  122. if test $enable_shared != "no" -a "X$GXX" = "Xyes"; then
  123. B10_CXXFLAGS="$B10_CXXFLAGS -fPIC"
  124. fi
  125. AC_SUBST(B10_CXXFLAGS)
  126. # Checks for libraries.
  127. AC_SEARCH_LIBS(inet_pton, [nsl])
  128. AC_SEARCH_LIBS(recvfrom, [socket])
  129. # Checks for header files.
  130. # Checks for typedefs, structures, and compiler characteristics.
  131. AC_HEADER_STDBOOL
  132. AC_TYPE_SIZE_T
  133. AC_MSG_CHECKING(for sa_len in struct sockaddr)
  134. AC_TRY_COMPILE([
  135. #include <sys/types.h>
  136. #include <sys/socket.h>],
  137. [struct sockaddr sa; sa.sa_len = 0; return (0);],
  138. [AC_MSG_RESULT(yes)
  139. AC_DEFINE(HAVE_SA_LEN, 1, [Define to 1 if sockaddr has a sa_len member, and corresponding sin_len and sun_len])],
  140. AC_MSG_RESULT(no))
  141. AC_ARG_WITH(lcov,
  142. [ --with-lcov[=PROGRAM] enable gtest and coverage target using the specified lcov], lcov="$withval", lcov="no")
  143. AC_ARG_WITH(gtest,
  144. [ --with-gtest=PATH specify a path to gtest header files (PATH/include) and library (PATH/lib)],
  145. gtest_path="$withval", gtest_path="no")
  146. USE_LCOV="no"
  147. if test "$lcov" != "no"; then
  148. # force gtest if not set
  149. if test "$gtest_path" = "no"; then
  150. # AC_MSG_ERROR("lcov needs gtest for test coverage report")
  151. AC_MSG_NOTICE([gtest support is now enabled, because used by coverage tests])
  152. gtest_path="yes"
  153. fi
  154. if test "$lcov" != "yes"; then
  155. LCOV=$lcov
  156. else
  157. AC_PATH_PROG([LCOV], [lcov])
  158. fi
  159. if test -x "${LCOV}"; then
  160. USE_LCOV="yes"
  161. else
  162. AC_MSG_ERROR([Cannot find lcov.])
  163. fi
  164. # is genhtml always in the same directory?
  165. GENHTML=`echo "$LCOV" | sed s/lcov$/genhtml/`
  166. if test ! -x $GENHTML; then
  167. AC_MSG_ERROR([genhtml not found, needed for lcov])
  168. fi
  169. # GCC specific?
  170. CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
  171. LIBS=" $LIBS -lgcov"
  172. AC_SUBST(CPPFLAGS)
  173. AC_SUBST(LIBS)
  174. AC_SUBST(LCOV)
  175. AC_SUBST(GENHTML)
  176. fi
  177. AC_SUBST(USE_LCOV)
  178. AC_ARG_WITH([boost-include],
  179. AC_HELP_STRING([--with-boost-include=PATH],
  180. [specify exact directory for Boost headers]),
  181. [boost_include_path="$withval"])
  182. if test "${boost_include_path}" ; then
  183. BOOST_INCLUDES="-I${boost_include_path}"
  184. CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES"
  185. fi
  186. AC_SUBST(BOOST_INCLUDES)
  187. AC_ARG_WITH([boost-lib],
  188. AC_HELP_STRING([--with-boost-lib=PATH],
  189. [specify exact directory for Boost libraries]),
  190. [if test "$withval" != "yes" -a "$withval" != "no"; then
  191. BOOST_LDFLAGS="-L$withval"
  192. fi])
  193. AC_SUBST(BOOST_LDFLAGS)
  194. # Check availability of the Boost Python library
  195. AC_MSG_CHECKING([for boost::python library])
  196. AC_ARG_WITH([boost-python],
  197. AC_HELP_STRING([--with-boost-python],
  198. [specify whether to use the boost python library]),
  199. [with_boost_python="$withval"], [with_boost_python="auto"])
  200. if test "$with_boost_python" != "no"; then
  201. if test "$with_boost_python" != "auto" -a "X$PYTHON_LIB" = X; then
  202. AC_MSG_ERROR([Boost.Python requested but python library is not available])
  203. fi
  204. LDFLAGS_SAVED="$LDFLAGS"
  205. LIBS_SAVED="$LIBS"
  206. CPPFLAGS_SAVED="$CPPFLAGS"
  207. CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
  208. for BOOST_TRY_LIB in boost_python boost_python-mt; do
  209. LDFLAGS="$LDFLAGS_SAVED ${BOOST_LDFLAGS} ${PYTHON_LDFLAGS}"
  210. LIBS="$LIBS_SAVED -l${BOOST_TRY_LIB} ${PYTHON_LIB}"
  211. AC_TRY_LINK([#include <boost/python/module.hpp>
  212. using namespace boost::python;
  213. BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }],
  214. [ return 0; ],
  215. [ AC_MSG_RESULT(yes)
  216. BOOST_PYTHON_LIB="-l${BOOST_TRY_LIB}"
  217. ],[])
  218. if test "X${BOOST_PYTHON_LIB}" != X; then
  219. break
  220. fi
  221. done
  222. LDFLAGS="$LDFLAGS_SAVED"
  223. CPPFLAGS="$CPPFLAGS_SAVED"
  224. LIBS="$LIBS_SAVED"
  225. fi
  226. if test "X${BOOST_PYTHON_LIB}" = X; then
  227. AC_MSG_RESULT(no)
  228. if test "$with_boost_python" = "yes"; then
  229. AC_MSG_ERROR([boost python library is requested but not found])
  230. fi
  231. else
  232. AC_DEFINE(HAVE_BOOST_PYTHON, 1, Define to 1 if boost python library is available)
  233. fi
  234. AM_CONDITIONAL(HAVE_BOOST_PYTHON, test "X${BOOST_PYTHON_LIB}" != X)
  235. AC_SUBST(BOOST_PYTHON_LIB)
  236. #
  237. # Check availability of gtest, which will be used for unit tests.
  238. #
  239. if test "$gtest_path" != "no"
  240. then
  241. if test "$gtest_path" != "yes"; then
  242. GTEST_PATHS=$gtest_path
  243. if test -x "${gtest_path}/bin/gtest-config" ; then
  244. GTEST_CONFIG="${gtest_path}/bin/gtest-config"
  245. fi
  246. else
  247. AC_PATH_PROG([GTEST_CONFIG], [gtest-config])
  248. fi
  249. if test -x "${GTEST_CONFIG}" ; then :
  250. # using cppflags instead of cxxflags
  251. GTEST_INCLUDES=`${GTEST_CONFIG} --cppflags`
  252. GTEST_LDFLAGS=`${GTEST_CONFIG} --ldflags`
  253. GTEST_LDADD=`${GTEST_CONFIG} --libs`
  254. GTEST_FOUND="true"
  255. else
  256. AC_MSG_WARN([Unable to locate Google Test gtest-config.])
  257. if test -z "${GTEST_PATHS}" ; then
  258. GTEST_PATHS="/usr /usr/local"
  259. fi
  260. GTEST_FOUND="false"
  261. fi
  262. if test "${GTEST_FOUND}" != "true"; then
  263. GTEST_FOUND="false"
  264. for dir in $GTEST_PATHS; do
  265. if test -f "$dir/include/gtest/gtest.h"; then
  266. GTEST_INCLUDES="-I$dir/include"
  267. GTEST_LDFLAGS="-L$dir/lib"
  268. GTEST_LDADD="-lgtest"
  269. GTEST_FOUND="true"
  270. break
  271. fi
  272. done
  273. fi
  274. if test "${GTEST_FOUND}" != "true"; then
  275. AC_MSG_ERROR([Cannot find gtest in: $GTEST_PATHS])
  276. fi
  277. else
  278. GTEST_INCLUDES=
  279. GTEST_LDFLAGS=
  280. GTEST_LDADD=
  281. fi
  282. AM_CONDITIONAL(HAVE_GTEST, test $gtest_path != "no")
  283. AC_SUBST(GTEST_INCLUDES)
  284. AC_SUBST(GTEST_LDFLAGS)
  285. AC_SUBST(GTEST_LDADD)
  286. dnl check for pkg-config itself so we don't try the m4 macro without pkg-config
  287. AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
  288. if test "x$HAVE_PKG_CONFIG" = "xno" ; then
  289. AC_MSG_ERROR(Please install pkg-config)
  290. fi
  291. PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9, enable_features="$enable_features SQLite3")
  292. # I can't get some of the #include <asio.hpp> right without this
  293. # TODO: find the real cause of asio/boost wanting pthreads
  294. # (this currently only occurs for src/lib/cc/session_unittests)
  295. PTHREAD_LDFLAGS=
  296. AC_CHECK_LIB(pthread, pthread_create,[ PTHREAD_LDFLAGS=-lpthread ], [])
  297. AC_SUBST(PTHREAD_LDFLAGS)
  298. #
  299. # ASIO: we extensively use it as the C++ event management module.
  300. #
  301. # Use local ASIO headers from ext
  302. #
  303. CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/ext/asio"
  304. #
  305. # kqueue portability: ASIO uses kqueue by default if it's available (it's
  306. # generally available in BSD variants). Unfortunately, some public
  307. # implementation of kqueue forces a conversion from a pointer to an integer,
  308. # which is prohibited in C++ unless reinterpret_cast, C++'s most evil beast
  309. # (and ASIO doesn't use it anyway) is used. This will cause build error for
  310. # some of our C++ files including ASIO header files. The following check
  311. # detects such cases and tells ASIO not to use kqueue if so.
  312. AC_CHECK_FUNC(kqueue, ac_cv_have_kqueue=yes, ac_cv_have_kqueue=no)
  313. if test "X$ac_cv_have_kqueue" = "Xyes"; then
  314. AC_MSG_CHECKING([whether kqueue EV_SET compiles in C++])
  315. AC_TRY_COMPILE([
  316. #include <sys/types.h>
  317. #include <sys/param.h>
  318. #include <sys/event.h>],
  319. [char* udata;
  320. EV_SET(NULL, 0, 0, 0, 0, 0, udata);],
  321. [AC_MSG_RESULT(yes)],
  322. [AC_MSG_RESULT([no, disable kqueue for ASIO])
  323. CPPFLAGS="$CPPFLAGS -DASIO_DISABLE_KQUEUE=1"
  324. ])
  325. fi
  326. # /dev/poll issue: ASIO uses /dev/poll by default if it's available (generally
  327. # the case with Solaris). Unfortunately its /dev/poll specific code would
  328. # trigger the gcc's "missing-field-initializers" warning, which would
  329. # subsequently make the build fail with -Werror. Further, older versions of
  330. # gcc don't provide an option to selectively suppress this warning.
  331. # So, for the moment, we simply disable the use of /dev/poll. Unless we
  332. # implement recursive DNS server with randomized ports, we don't need the
  333. # scalability that /dev/poll can provide, so this decision wouldn't affect
  334. # run time performance. Hpefully we can find a better solution or the ASIO
  335. # code will be updated by the time we really need it.
  336. AC_CHECK_HEADERS(sys/devpoll.h, ac_cv_have_devpoll=yes, ac_cv_have_devpoll=no)
  337. if test "X$ac_cv_have_devpoll" = "Xyes" -a "X$GXX" = "Xyes"; then
  338. CPPFLAGS="$CPPFLAGS -DASIO_DISABLE_DEV_POLL=1"
  339. fi
  340. # Check for headers from required devel kits.
  341. AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp],,
  342. AC_MSG_ERROR([Missing required header files.]))
  343. AC_ARG_ENABLE(man, [AC_HELP_STRING([--enable-man],
  344. [regenerate man pages [default=no]])] ,enable_man=yes, enable_man=no)
  345. AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
  346. AC_ARG_ENABLE(install-configurations,
  347. [AC_HELP_STRING([--disable-install-configurations],
  348. [do not install configuration])], install_configurations=$enableval, install_configurations=yes)
  349. AM_CONDITIONAL(INSTALL_CONFIGURATIONS, test x$install_configurations = xyes || test x$install_configurations = xtrue)
  350. AC_CONFIG_FILES([Makefile
  351. src/Makefile
  352. src/bin/Makefile
  353. src/bin/bind10/Makefile
  354. src/bin/bind10/tests/Makefile
  355. src/bin/cmdctl/Makefile
  356. src/bin/cmdctl/tests/Makefile
  357. src/bin/bindctl/Makefile
  358. src/bin/bindctl/tests/Makefile
  359. src/bin/cfgmgr/Makefile
  360. src/bin/cfgmgr/tests/Makefile
  361. src/bin/host/Makefile
  362. src/bin/loadzone/Makefile
  363. src/bin/msgq/Makefile
  364. src/bin/msgq/tests/Makefile
  365. src/bin/auth/Makefile
  366. src/bin/auth/tests/Makefile
  367. src/bin/xfrin/Makefile
  368. src/bin/xfrin/tests/Makefile
  369. src/bin/xfrout/Makefile
  370. src/bin/xfrout/tests/Makefile
  371. src/bin/usermgr/Makefile
  372. src/lib/Makefile
  373. src/lib/cc/Makefile
  374. src/lib/python/Makefile
  375. src/lib/python/isc/Makefile
  376. src/lib/python/isc/datasrc/Makefile
  377. src/lib/python/isc/cc/Makefile
  378. src/lib/python/isc/cc/tests/Makefile
  379. src/lib/python/isc/config/Makefile
  380. src/lib/python/isc/config/tests/Makefile
  381. src/lib/config/Makefile
  382. src/lib/config/tests/Makefile
  383. src/lib/dns/Makefile
  384. src/lib/dns/tests/Makefile
  385. src/lib/exceptions/Makefile
  386. src/lib/datasrc/Makefile
  387. src/lib/datasrc/tests/Makefile
  388. src/lib/xfr/Makefile
  389. ])
  390. AC_OUTPUT([src/bin/cfgmgr/b10-cfgmgr.py
  391. src/bin/cfgmgr/tests/b10-cfgmgr_test.py
  392. src/bin/cmdctl/cmdctl.py
  393. src/bin/cmdctl/run_b10-cmdctl.sh
  394. src/bin/cmdctl/tests/cmdctl_test
  395. src/bin/xfrin/tests/xfrin_test
  396. src/bin/xfrin/xfrin.py
  397. src/bin/xfrin/xfrin.spec.pre
  398. src/bin/xfrin/run_b10-xfrin.sh
  399. src/bin/xfrout/xfrout.py
  400. src/bin/xfrout/xfrout.spec.pre
  401. src/bin/xfrout/tests/xfrout_test
  402. src/bin/xfrout/run_b10-xfrout.sh
  403. src/bin/bind10/bind10.py
  404. src/bin/bind10/tests/bind10_test
  405. src/bin/bind10/run_bind10.sh
  406. src/bin/bindctl/run_bindctl.sh
  407. src/bin/bindctl/bindctl-source.py
  408. src/bin/bindctl/tests/bindctl_test
  409. src/bin/loadzone/run_loadzone.sh
  410. src/bin/loadzone/b10-loadzone.py
  411. src/bin/usermgr/run_b10-cmdctl-usermgr.sh
  412. src/bin/usermgr/b10-cmdctl-usermgr.py
  413. src/bin/msgq/msgq.py
  414. src/bin/msgq/tests/msgq_test
  415. src/bin/msgq/run_msgq.sh
  416. src/bin/auth/auth.spec.pre
  417. src/bin/auth/spec_config.h.pre
  418. src/lib/config/tests/data_def_unittests_config.h
  419. src/lib/python/isc/config/tests/config_test
  420. src/lib/python/isc/cc/tests/cc_test
  421. src/lib/dns/gen-rdatacode.py
  422. src/lib/python/bind10_config.py
  423. src/lib/dns/tests/testdata/gen-wiredata.py
  424. src/lib/cc/session_config.h.pre
  425. ], [
  426. chmod +x src/bin/cmdctl/run_b10-cmdctl.sh
  427. chmod +x src/bin/xfrin/run_b10-xfrin.sh
  428. chmod +x src/bin/xfrout/run_b10-xfrout.sh
  429. chmod +x src/bin/bind10/run_bind10.sh
  430. chmod +x src/bin/cmdctl/tests/cmdctl_test
  431. chmod +x src/bin/xfrin/tests/xfrin_test
  432. chmod +x src/bin/xfrout/tests/xfrout_test
  433. chmod +x src/bin/bindctl/tests/bindctl_test
  434. chmod +x src/bin/bindctl/run_bindctl.sh
  435. chmod +x src/bin/loadzone/run_loadzone.sh
  436. chmod +x src/bin/usermgr/run_b10-cmdctl-usermgr.sh
  437. chmod +x src/bin/msgq/run_msgq.sh
  438. chmod +x src/bin/msgq/tests/msgq_test
  439. chmod +x src/lib/dns/gen-rdatacode.py
  440. chmod +x src/lib/dns/tests/testdata/gen-wiredata.py
  441. ])
  442. AC_OUTPUT
  443. dnl Print the results
  444. dnl
  445. cat > config.report << END
  446. BIND 10 source configure results:
  447. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  448. Package:
  449. Name: $PACKAGE_NAME
  450. Version: $PACKAGE_VERSION
  451. Flags:
  452. DEFS: $DEFS
  453. CPPFLAGS: $CPPFLAGS
  454. CFLAGS: $CFLAGS
  455. CXXFLAGS: $CXXFLAGS
  456. B10_CXXFLAGS: $B10_CXXFLAGS
  457. dnl includes too
  458. Boost Python: $BOOST_PYTHON_LIB
  459. SQLite: $SQLITE_CFLAGS
  460. $SQLITE_LIBS
  461. Features:
  462. $enable_features
  463. Developer:
  464. Google Tests: $gtest_path
  465. Code Coverage: $USE_LCOV
  466. Generate Manuals: $enable_man
  467. END
  468. cat config.report
  469. cat <<EOF
  470. Now you can type "make" to build BIND 10
  471. EOF