[Reproducible-commits] [dpkg] 31/105: build: Add a configuration summary to configure output

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit c12278e352c68e72c114ac67c23985a744cb59b1
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Mar 5 02:35:27 2016 +0100

    build: Add a configuration summary to configure output
    
    Remove the notices printed inbetween the checks as this is now printed
    as part of the summary.
---
 configure.ac     | 37 +++++++++++++++++++++++++++++++++++++
 debian/changelog |  1 +
 m4/dpkg-build.m4 |  2 --
 3 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba57e11..a20cf80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,3 +159,40 @@ AC_CONFIG_FILES([ Makefile
 		  utils/Makefile ])
 AC_CONFIG_HEADERS([config.h])
 AC_OUTPUT
+
+# Print the current configuration
+cat <<CONFIG
+
+Configuration:
+  Features:
+    NLS . . . . . . . . . . . . . : $USE_NLS
+    unicode support . . . . . . . : $USE_UNICODE
+    development documentation . . : $build_devel_docs
+    code coverage . . . . . . . . : $enable_coverage
+    build shared libraries  . . . : $enable_shared
+    mmap loaders  . . . . . . . . : $enable_mmap
+    default dpkg-deb compressor . : $with_dpkg_deb_compressor
+
+  Paths:
+    devlibdir . . . . . . . . . . : $devlibdir
+    pkgconfdir  . . . . . . . . . : $pkgconfdir
+    admindir  . . . . . . . . . . : $admindir
+    logdir  . . . . . . . . . . . : $logdir
+    perl interpreter  . . . . . . : $PERL
+    perl libdir . . . . . . . . . : $PERL_LIBDIR
+
+  Programs:
+    update-alternatives . . . . . : $build_update_alternatives
+    start-stop-daemon . . . . . . : $build_start_stop_daemon
+    dselect . . . . . . . . . . . : $build_dselect
+
+  System Libraries:
+    libps . . . . . . . . . . . . : ${have_libps:-no}
+    libkvm  . . . . . . . . . . . : ${have_libkvm:-no}
+    libselinux  . . . . . . . . . : $with_selinux
+    libmd . . . . . . . . . . . . : $with_libmd
+    libz  . . . . . . . . . . . . : $with_zlib
+    liblzma . . . . . . . . . . . : $with_liblzma
+    libbz2  . . . . . . . . . . . : $with_bz2
+    libcurses . . . . . . . . . . : ${have_libcurses:-no}
+CONFIG
diff --git a/debian/changelog b/debian/changelog
index 27bd153..b774347 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -75,6 +75,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Remove unused UA_LIBS variable.
     - Split libps and libkvm detection into their own macros and variables.
     - Make it possible to build without system libmd.
+    - Add a configuration summary to configure output.
   * Test suite:
     - Add a unit test to compile perl code with warnings.
     - Add a unit test for the trigger deferred parser.
diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4
index 1d2e944..4584392 100644
--- a/m4/dpkg-build.m4
+++ b/m4/dpkg-build.m4
@@ -58,7 +58,6 @@ AC_DEFUN([DPKG_WITH_DIR], [
             [$1="$with_$1"])
   )
   AC_SUBST([$1])
-  AC_MSG_NOTICE([using directory $1 = '$$1'])
 ])# DPKG_WITH_DIR
 
 # DPKG_DEB_COMPRESSOR(COMP)
@@ -75,7 +74,6 @@ AC_DEFUN([DPKG_DEB_COMPRESSOR], [
   AC_DEFINE_UNQUOTED([DPKG_DEB_DEFAULT_COMPRESSOR],
                      [COMPRESSOR_TYPE_]AS_TR_CPP(${with_dpkg_deb_compressor}),
                      [default dpkg-deb build compressor])
-  AC_MSG_NOTICE([using default dpkg-deb compressor = $with_dpkg_deb_compressor])
 ]) # DPKG_DEB_COMPRESSOR
 
 # DPKG_DIST_CHECK(COND, ERROR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list