configure.ac 17 KB

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