]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] add configure summary
authorEvan Hunt <each@isc.org>
Thu, 11 Jul 2013 03:54:08 +0000 (20:54 -0700)
committerEvan Hunt <each@isc.org>
Thu, 11 Jul 2013 03:54:08 +0000 (20:54 -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]

CHANGES
configure
configure.in

diff --git a/CHANGES b/CHANGES
index 6b00cdd16e8cfedef0ebbd87c5313f0b30853e9f..1dfd9bc8be74100ee8b65958b6003a2294394db5 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]
 
 3613.  [bug]           named could crash when deleting inline-signing
index 2c9c8e2534c9d8eb82e501a58bec9e9b8a9b36a2..2e7ddd777114e66371aafa2c3da5efeef1d3126c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1501,6 +1501,7 @@ with_dlz_ldap
 with_dlz_odbc
 with_dlz_stub
 with_make_clean
+enable_full_report
 '
       ac_precious_vars='build_alias
 host_alias
@@ -2153,6 +2154,7 @@ Optional Features:
   --disable-rpz-nsdname          disable rpz-nsdname rules [default=enabled]
   --enable-filter-aaaa    enable filtering of AAAA records
                          [default=no]
+  --enable-full-report   report values of all configure options
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -11860,6 +11862,7 @@ yes)
        test "${with_atf+set}" = set || with_atf=yes
        test "${enable_filter_aaaa+set}" = set || enable_filter_aaaa=yes
        test "${with_dlz_filesystem+set}" = set || with_dlz_filesystem=yes
+       test "${enable_symtable+set}" = set || enable_symtable=all
        ;;
 esac
 #
@@ -23288,6 +23291,90 @@ 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 "$enable_filter" = "yes" && \
+    echo "    AAAA filtering (--enable-filter-aaaa)"
+test "$use_geoip" = "no" || echo "    GeoIP access control (--with-geoip)"
+test "$use_gssapi" = "no" || echo "    GSS-API (--with-gssapi)"
+test "$want_backtrace" = "yes" && \
+    echo "    Print backtrace on crash (--enable-backtrace)"
+test "$want_symtable" = "minimal" && \
+    echo "    Use symbol table for backtrace, named only (--enable-symtable)"
+test "$want_symtable" = "yes" -o "$want_symtable" = "all" && \
+    echo "    Use symbol table for backtrace, all binaries (--enable-symtable=all)"
+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 "$OPENSSL_GOST" != "yes" || echo "    GOST algorithm support"
+    test "$OPENSSL_ECDSA" != "yes" || echo "    ECDSA algorithm support"
+    test "X$PYTHON" = "X" || echo "    Python tools"
+    test "X$libxml2_libs" = "X" || echo "    XML statistics"
+    test "X$libjson_libs" = "X" || echo "    JSON statistics"
+fi
+
+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)"
+test "$use_dlz_bdb $use_dlz_ldap $use_dlz_mysql $use_dlz_odbc $use_dlz_postgres $use_dlz_filesystem $use_dlz_stub" = "no no no no no no no" && echo "        None"
+echo
+
+echo "Features disabled or unavailable on this platform:"
+$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 "$enable_filter" = "yes" || \
+    echo "    AAAA filtering (--enable-filter-aaaa)"
+test "$use_geoip" = "no" && echo "    GeoIP access control (--with-geoip)"
+test "$use_gssapi" = "no" && echo "    GSS-API (--with-gssapi)"
+test "$want_backtrace" = "yes" || \
+    echo "    Print backtrace on crash (--enable-backtrace)"
+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$USE_OPENSSL" != "X" -a "$OPENSSL_GOST" != "yes" && \
+    echo "    GOST algorithm support"
+test "X$USE_OPENSSL" != "X" -a "$OPENSSL_ECDSA" != "yes" && \
+    echo "    ECDSA algorithm support"
+test "X$PYTHON" = "X" && echo "    Python tools"
+test "X$libxml2_libs" = "X" && echo "    XML statistics"
+test "X$libjson_libs" = "X" && echo "    JSON 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 3509908aa8ad488f02edadd469d101f1f2addfaf..c32a5b9adff78bf618f23b3bc222d18fa0a559ea 100644 (file)
@@ -72,6 +72,7 @@ yes)
        test "${with_atf+set}" = set || with_atf=yes
        test "${enable_filter_aaaa+set}" = set || enable_filter_aaaa=yes
        test "${with_dlz_filesystem+set}" = set || with_dlz_filesystem=yes
+       test "${enable_symtable+set}" = set || enable_symtable=all
        ;;
 esac
 #
@@ -3900,6 +3901,87 @@ 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 "$enable_filter" = "yes" && \
+    echo "    AAAA filtering (--enable-filter-aaaa)"
+test "$use_geoip" = "no" || echo "    GeoIP access control (--with-geoip)"
+test "$use_gssapi" = "no" || echo "    GSS-API (--with-gssapi)"
+test "$want_backtrace" = "yes" && \
+    echo "    Print backtrace on crash (--enable-backtrace)"
+test "$want_symtable" = "minimal" && \
+    echo "    Use symbol table for backtrace, named only (--enable-symtable)"
+test "$want_symtable" = "yes" -o "$want_symtable" = "all" && \
+    echo "    Use symbol table for backtrace, all binaries (--enable-symtable=all)"
+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 "$OPENSSL_GOST" != "yes" || echo "    GOST algorithm support"
+    test "$OPENSSL_ECDSA" != "yes" || echo "    ECDSA algorithm support"
+    test "X$PYTHON" = "X" || echo "    Python tools"
+    test "X$libxml2_libs" = "X" || echo "    XML statistics"
+    test "X$libjson_libs" = "X" || echo "    JSON statistics"
+fi
+
+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)"
+test "$use_dlz_bdb $use_dlz_ldap $use_dlz_mysql $use_dlz_odbc $use_dlz_postgres $use_dlz_filesystem $use_dlz_stub" = "no no no no no no no" && echo "        None"
+echo
+
+echo "Features disabled or unavailable on this platform:"
+$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 "$enable_filter" = "yes" || \
+    echo "    AAAA filtering (--enable-filter-aaaa)"
+test "$use_geoip" = "no" && echo "    GeoIP access control (--with-geoip)"
+test "$use_gssapi" = "no" && echo "    GSS-API (--with-gssapi)"
+test "$want_backtrace" = "yes" || \
+    echo "    Print backtrace on crash (--enable-backtrace)"
+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$USE_OPENSSL" != "X" -a "$OPENSSL_GOST" != "yes" && \
+    echo "    GOST algorithm support"
+test "X$USE_OPENSSL" != "X" -a "$OPENSSL_ECDSA" != "yes" && \
+    echo "    ECDSA algorithm support"
+test "X$PYTHON" = "X" && echo "    Python tools"
+test "X$libxml2_libs" = "X" && echo "    XML statistics"
+test "X$libjson_libs" = "X" && echo "    JSON 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.