BIND 10 #178: configure output at end detected settings and features
BIND 10 Development
do-not-reply at isc.org
Wed May 12 00:54:20 UTC 2010
#178: configure output at end detected settings and features
--------------------------+-------------------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Unclassified | Keywords:
Sensitive: 0 |
--------------------------+-------------------------------------------------
Have a look at the following. This makes configure create a file called
config.report and display it. This shows the features and other things
important to how BIND 10 is built and installed.
{{{
Index: configure.ac
===================================================================
--- configure.ac (revision 1811)
+++ configure.ac (working copy)
@@ -338,7 +338,7 @@
AC_SUBST(GTEST_LDFLAGS)
AC_SUBST(GTEST_LDADD)
-PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9)
+PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9,
enable_features="$enable_features SQLite3")
# Check for headers from required devel kits.
# boost/shared_ptr.hpp is in ext in svn but not in tarball.
@@ -455,3 +455,44 @@
chmod +x src/lib/dns/tests/testdata/gen-wiredata.py
])
AC_OUTPUT
+
+dnl Print the results
+dnl
+
+cat > config.report << END
+
+ BIND 10 source configure results:
+ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+Package:
+ Name: $PACKAGE_NAME
+ Version: $PACKAGE_VERSION
+
+Flags:
+ DEFS: $DEFS
+ CPPFLAGS: $CPPFLAGS
+ CFLAGS: $CFLAGS
+ CXXFLAGS: $CXXFLAGS
+dnl includes too
+ Boost Python: $BOOST_PYTHON_LIB
+ Boost System: $BOOST_SYSTEM_LIB
+ SQLite: $SQLITE_CFLAGS
+ $SQLITE_LIBS
+
+Features:
+ $enable_features
+
+Developer:
+ Google Tests: $gtest_path
+ Code Coverage: $USE_LCOV
+ Generate Manuals: $enable_man
+
+END
+
+cat config.report
+cat <<EOF
+
+ Now you can type "make" to build BIND 10
+
+EOF
+
Index: Makefile.am
===================================================================
--- Makefile.am (revision 1811)
+++ Makefile.am (working copy)
@@ -3,6 +3,8 @@
LCOV=@LCOV@
GENHTML=@GENHTML@
+DISTCLEANFILES = config.report
+
# When running distcheck target, do not install the configurations
DISTCHECK_CONFIGURE_FLAGS = --disable-install-configurations
}}}
--
Ticket URL: <https://bind10.isc.org/ticket/178>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list