]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_6] add configure summary
authorEvan Hunt <each@isc.org>
Thu, 11 Jul 2013 04:50:35 +0000 (21:50 -0700)
committerEvan Hunt <each@isc.org>
Thu, 11 Jul 2013 04:57:46 +0000 (21:57 -0700)
3615. [cleanup] "configure" now finishes by printing a summary
of optional BIND features and whether they are
active or inactive. ("configure --enable-full-report"
increases the verbosity of the summary.) [RT #31777]
(cherry picked from commit 71697fd082b1c76562dc80fa91787af3860146bf)
(cherry picked from commit dc4ab3bf626c8e71998c5773f53531193c401040)
(cherry picked from commit 6e1f8f3c4ca9a742820cb694f0421c6a36ccdafa)

CHANGES
configure
configure.in

diff --git a/CHANGES b/CHANGES
index 0359c6aefacb72698d58c6da78a4bb8db289d723..3d3c4585cc00c819962c3d19b247ec0a93dd90a9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+3615.  [cleanup]       "configure" now finishes by printing a summary
+                       of optional BIND features and whether they are
+                       active or inactive. ("configure --enable-full-report"
+                       increases the verbosity of the summary.) [RT #31777]
+
 3614.  [port]          Check for <linux/types.h>. [RT #34162]
 
 3611.  [bug]           Improved resistance to a theoretical authentication
index 5d60e18f1bf8d6ef72327010d6bf23398fd78a22..9171f8834014e38bcf8c667c7935d16466fb129d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1458,6 +1458,7 @@ with_dlz_ldap
 with_dlz_odbc
 with_dlz_stub
 with_make_clean
+enable_full_report
 '
       ac_precious_vars='build_alias
 host_alias
@@ -2102,6 +2103,7 @@ Optional Features:
                          [default=autodetect]
   --enable-fixed-rrset    enable fixed rrset ordering
                          [default=no]
+  --enable-full-report   report values of all configure options
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -11810,6 +11812,7 @@ yes)
                test "${enable_exportlib+set}" = set || enable_exportlib=yes
                ;;
        esac
+       test "${enable_symtable+set}" = set || enable_symtable=all
        ;;
 esac
 #
@@ -21921,6 +21924,66 @@ yes)
        ;;
 esac
 
+# Check whether --enable-full-report was given.
+if test "${enable_full_report+set}" = set; then :
+  enableval=$enable_full_report;
+fi
+
+echo enable full report set to: $enable_full_report
+
+echo "========================================================================"
+echo "Configuration summary:"
+echo "------------------------------------------------------------------------"
+echo "Optional features enabled:"
+$use_threads && echo "    Multiprocessing support (--enable-threads)"
+
+test "$enable_fixed" = "yes" && \
+    echo "    Fixed RRset order (--enable-fixed-rrset)"
+test "$atf" = "no" || echo "    Automated Testing Framework (--with-atf)"
+test "$use_gssapi" = "no" || echo "    GSS-API (--with-gssapi)"
+test "$use_pkcs11" = "no" || echo "    PKCS#11/Cryptoki support (--with-pks11)"
+
+
+# these lines are only printed if run with --enable-full-report
+if test "$enable_full_report" = "yes"; then
+    test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
+        echo "    IPv6 support"
+    test "X$USE_OPENSSL" = "X" || echo "    OpenSSL cryptography/DNSSEC"
+    test "X$libxml2_libs" = "X" || echo "    XML statistics"
+fi
+
+test "X$USE_DLZ" = "X" || echo "    Dynamically loadable zone (DLZ) drivers:"
+test "$use_dlz_bdb" = "no" || \
+    echo "        Berkeley DB (--with-dlz-bdb)"
+test "$use_dlz_ldap" = "no" || \
+    echo "        LDAP (--with-dlz-ldap)"
+test "$use_dlz_mysql" = "no" || \
+    echo "        MySQL (--with-dlz-mysql)"
+test "$use_dlz_odbc" = "no" || \
+    echo "        ODBC (--with-dlz-bdb)"
+test "$use_dlz_postgres" = "no" || \
+    echo "        Postgres (--with-dlz-postgres)"
+test "$use_dlz_filesystem" = "no" || \
+    echo "        Filesystem (--with-dlz-filesystem)"
+test "$use_dlz_stub" = "no" || \
+    echo "        Stub (--with-dlz-stub)"
+echo
+
+echo "Features disabled or unavailable on this platform:"
+$use_threads || echo "    Multiprocessing support (--enable-threads)"
+test "X$USE_DLZ" = "X" && echo "    Dynamically loadable zones (DLZ) (--with-dlz-DRIVER)"
+test "$enable_fixed" = "yes" || \
+    echo "    Fixed RRset order (--enable-fixed-rrset)"
+test "$atf" = "no" && echo "    Automated Testing Framework (--with-atf)"
+test "$use_gssapi" = "no" && echo "    GSS-API (--with-gssapi)"
+test "$use_pkcs11" = "no" && echo "    PKCS#11/Cryptoki support (--with-pks11)"
+
+test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && echo "    IPv6 support"
+test "X$USE_OPENSSL" = "X" && echo "    OpenSSL cryptography/DNSSEC"
+test "X$libxml2_libs" = "X" && echo "    XML statistics"
+
+echo "========================================================================"
+
 if test "X$USE_OPENSSL" = "X"; then
 cat << \EOF
 BIND is being built without OpenSSL. This means it will not have DNSSEC support.
index 34c256a73cc32aff02b26b7537a868f408ba9191..3fc87b1859532eb886cd64e0e6a3edff81bebdde 100644 (file)
@@ -81,6 +81,7 @@ yes)
                test "${enable_exportlib+set}" = set || enable_exportlib=yes
                ;;
        esac
+       test "${enable_symtable+set}" = set || enable_symtable=all
        ;;
 esac
 #
@@ -3181,6 +3182,63 @@ yes)
        ;;
 esac
 
+AC_ARG_ENABLE(full-report,
+       [  --enable-full-report   report values of all configure options])
+echo enable full report set to: $enable_full_report
+
+echo "========================================================================"
+echo "Configuration summary:"
+echo "------------------------------------------------------------------------"
+echo "Optional features enabled:"
+$use_threads && echo "    Multiprocessing support (--enable-threads)"
+
+test "$enable_fixed" = "yes" && \
+    echo "    Fixed RRset order (--enable-fixed-rrset)"
+test "$atf" = "no" || echo "    Automated Testing Framework (--with-atf)"
+test "$use_gssapi" = "no" || echo "    GSS-API (--with-gssapi)"
+test "$use_pkcs11" = "no" || echo "    PKCS#11/Cryptoki support (--with-pks11)"
+
+
+# these lines are only printed if run with --enable-full-report 
+if test "$enable_full_report" = "yes"; then
+    test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
+        echo "    IPv6 support"
+    test "X$USE_OPENSSL" = "X" || echo "    OpenSSL cryptography/DNSSEC"
+    test "X$libxml2_libs" = "X" || echo "    XML statistics"
+fi
+
+test "X$USE_DLZ" = "X" || echo "    Dynamically loadable zone (DLZ) drivers:"
+test "$use_dlz_bdb" = "no" || \
+    echo "        Berkeley DB (--with-dlz-bdb)"
+test "$use_dlz_ldap" = "no" || \
+    echo "        LDAP (--with-dlz-ldap)"
+test "$use_dlz_mysql" = "no" || \
+    echo "        MySQL (--with-dlz-mysql)"
+test "$use_dlz_odbc" = "no" || \
+    echo "        ODBC (--with-dlz-bdb)"
+test "$use_dlz_postgres" = "no" || \
+    echo "        Postgres (--with-dlz-postgres)"
+test "$use_dlz_filesystem" = "no" || \
+    echo "        Filesystem (--with-dlz-filesystem)"
+test "$use_dlz_stub" = "no" || \
+    echo "        Stub (--with-dlz-stub)"
+echo
+
+echo "Features disabled or unavailable on this platform:"
+$use_threads || echo "    Multiprocessing support (--enable-threads)"
+test "X$USE_DLZ" = "X" && echo "    Dynamically loadable zones (DLZ) (--with-dlz-DRIVER)"
+test "$enable_fixed" = "yes" || \
+    echo "    Fixed RRset order (--enable-fixed-rrset)"
+test "$atf" = "no" && echo "    Automated Testing Framework (--with-atf)"
+test "$use_gssapi" = "no" && echo "    GSS-API (--with-gssapi)"
+test "$use_pkcs11" = "no" && echo "    PKCS#11/Cryptoki support (--with-pks11)"
+
+test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && echo "    IPv6 support"
+test "X$USE_OPENSSL" = "X" && echo "    OpenSSL cryptography/DNSSEC"
+test "X$libxml2_libs" = "X" && echo "    XML statistics"
+
+echo "========================================================================"
+
 if test "X$USE_OPENSSL" = "X"; then
 cat << \EOF                                                             
 BIND is being built without OpenSSL. This means it will not have DNSSEC support.