configure.ac 18 KB

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