configure.ac 18 KB

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