Opened 10 years ago

Closed 9 years ago

#178 closed defect (fixed)

configure output at end detected settings and features

Reported by: jreed Owned by:
Priority: medium Milestone:
Component: Unclassified Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: Add Hours to Ticket:
Total Hours: Internal?:

Description

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
 

Subtickets

Change History (2)

comment:1 Changed 10 years ago by jreed

This task number 48 from the April 2010 face to face.

comment:2 Changed 9 years ago by jreed

  • Resolution set to fixed
  • Status changed from new to closed

I committed this: revision 1836.

Note: See TracTickets for help on using tickets.