]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] add configured prefixes to summary
authorEvan Hunt <each@isc.org>
Sat, 30 Sep 2017 17:01:01 +0000 (10:01 -0700)
committerEvan Hunt <each@isc.org>
Sat, 30 Sep 2017 17:01:01 +0000 (10:01 -0700)
4746. [cleanup] Add configured prefixes to configure summary
output. [RT #46153]

CHANGES
configure
configure.in

diff --git a/CHANGES b/CHANGES
index 6dfe84a3b2dba078233ee5ac3df0176fe1c3b30d..00f81672e2dba3003b0e279c40e7602d20c17f62 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4746.  [cleanup]       Add configured prefixes to configure summary
+                       output. [RT #46153]
+
 4745.  [test]          Add color-coded pass/fail messages to system
                        tests when running on terminals that support them.
                        [RT #45977]
index ba6c7ff2c549fe91ea5cd95c2cddfb0661d06d8b..e0d2af884e604f3f4770b39c0703a810f1e14b04 100755 (executable)
--- a/configure
+++ b/configure
@@ -937,6 +937,7 @@ infodir
 docdir
 oldincludedir
 includedir
+runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -1100,6 +1101,7 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1352,6 +1354,15 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
+  -runstatedir | --runstatedir | --runstatedi | --runstated \
+  | --runstate | --runstat | --runsta | --runst | --runs \
+  | --run | --ru | --r)
+    ac_prev=runstatedir ;;
+  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+  | --run=* | --ru=* | --r=*)
+    runstatedir=$ac_optarg ;;
+
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1489,7 +1500,7 @@ fi
 for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                datadir sysconfdir sharedstatedir localstatedir includedir \
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-               libdir localedir mandir
+               libdir localedir mandir runstatedir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1642,6 +1653,7 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
+  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -26173,7 +26185,8 @@ report() {
     test "no" = "$use_dlz_stub" || \
         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 "-------------------------------------------------------------------------------"
 
     echo "Features disabled or unavailable on this platform:"
     $use_threads || echo "    Multiprocessing support (--enable-threads)"
@@ -26225,11 +26238,19 @@ report() {
     test "X$ZLIB" = "X" && echo "    HTTP zlib compression (--with-zlib)"
     test "X$NZD_TOOLS" = "X" && echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
 
+    echo "-------------------------------------------------------------------------------"
+    echo "Configured paths:"
+    echo "    prefix: $prefix"
+    echo "    sysconfdir: $sysconfdir"
+    echo "    localstatedir: $localstatedir"
+
+
     if test "X$ac_unrecognized_opts" != "X"; then
         echo
         echo "Unrecognized options:"
         echo "    $ac_unrecognized_opts"
     fi
+
     if test "yes" != "$enable_full_report"; then
         echo "-------------------------------------------------------------------------------"
         echo "For more detail, use --enable-full-report."
index 994465a888d9ade1c3da6f4de581238408f0b676..db3000bceaad5e455f0797afa81e1c655c82703d 100644 (file)
@@ -5507,7 +5507,8 @@ report() {
     test "no" = "$use_dlz_stub" || \
         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 "-------------------------------------------------------------------------------"
 
     echo "Features disabled or unavailable on this platform:"
     $use_threads || echo "    Multiprocessing support (--enable-threads)"
@@ -5559,11 +5560,19 @@ report() {
     test "X$ZLIB" = "X" && echo "    HTTP zlib compression (--with-zlib)"
     test "X$NZD_TOOLS" = "X" && echo "    LMDB database to store configuration for 'addzone' zones (--with-lmdb)"
 
+    echo "-------------------------------------------------------------------------------"
+    echo "Configured paths:"
+    echo "    prefix: $prefix"
+    echo "    sysconfdir: $sysconfdir"
+    echo "    localstatedir: $localstatedir"
+
+
     if test "X$ac_unrecognized_opts" != "X"; then
         echo
         echo "Unrecognized options:"
         echo "    $ac_unrecognized_opts"
     fi
+
     if test "yes" != "$enable_full_report"; then
         echo "-------------------------------------------------------------------------------"
         echo "For more detail, use --enable-full-report."