The following commit has been merged in the master branch: commit 35dc2569ca3ab121b95d3d587d3bed1ba9f1c3d1 Author: Guillem Jover <guil...@debian.org> Date: Sun Nov 20 01:15:09 2011 +0100
build: Report feedback on program, directory and coverage support diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4 index 0efccfe..a9a44d8 100644 --- a/m4/dpkg-build.m4 +++ b/m4/dpkg-build.m4 @@ -4,6 +4,7 @@ # -------------- # Allow disabling compilation and usage of specific programs. AC_DEFUN([DPKG_WITH_PROG], [ + AC_MSG_CHECKING([whether to build $1]) AC_ARG_WITH([$1], AS_HELP_STRING([--without-$1], [do not build or use $1]), [build_]AS_TR_SH([$1])[=$with_]AS_TR_SH([$1]), @@ -16,6 +17,7 @@ AC_DEFUN([DPKG_WITH_PROG], [ ], [ AC_DEFINE([WITH_]AS_TR_CPP([$1]), 0) ]) + AC_MSG_RESULT([$build_]AS_TR_SH([$1])) ])# DPKG_WITH_PROG # DPKG_WITH_DIR(DIR, DEFAULT, DESCRIPTION) @@ -30,6 +32,7 @@ AC_DEFUN([DPKG_WITH_DIR], [ [$1="$with_$1"]) ) AC_SUBST([$1]) + AC_MSG_NOTICE([using directory $1 = '$$1']) ])# DPKG_WITH_DIR # DPKG_DIST_CHECK(COND, ERROR) diff --git a/m4/dpkg-coverage.m4 b/m4/dpkg-coverage.m4 index 2cb764c..c873597 100644 --- a/m4/dpkg-coverage.m4 +++ b/m4/dpkg-coverage.m4 @@ -48,4 +48,6 @@ if test "x$enable_coverage" = "xyes"; then AC_MSG_ERROR([missing cover, which is required for perl coverage support]) fi fi +AC_MSG_CHECKING([whether to build with code coverage]) +AC_MSG_RESULT([$enable_coverage]) ]) -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org