configure.ac 20 KB

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