Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/configure mk/configure: add variable GNU_CONFIGURE_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c64695d7991
branches:  trunk
changeset: 432399:5c64695d7991
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 21 20:50:54 2020 +0000

description:
mk/configure: add variable GNU_CONFIGURE_QUIET

This allows bulk builds or other setups to see interesting error
messages, without them being hidden in the noise of "checking ...".

diffstat:

 mk/configure/gnu-configure.mk |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 4333dda17eca -r 5c64695d7991 mk/configure/gnu-configure.mk
--- a/mk/configure/gnu-configure.mk     Thu May 21 20:11:12 2020 +0000
+++ b/mk/configure/gnu-configure.mk     Thu May 21 20:50:54 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gnu-configure.mk,v 1.24 2020/05/21 15:29:25 rillig Exp $
+# $NetBSD: gnu-configure.mk,v 1.25 2020/05/21 20:50:54 rillig Exp $
 #
 # Package-settable variables:
 #
@@ -9,6 +9,14 @@
 #      Possible: yes no
 #      Default: undefined
 #
+# GNU_CONFIGURE_QUIET
+#      When set to "yes", runs the configure scripts in quiet mode,
+#      which does not print the typical "checking for ...".
+#
+#      By omitting these, any accidental output or other error messages
+#      are more easily visible in the log.  This can help find
+#      unportable use of tools like sed, awk, test.
+#
 # GNU_CONFIGURE_STRICT
 #      Whether unknown --enable/--disable/--with/--without options make
 #      the package fail immediately.
@@ -209,6 +217,10 @@
 CONFIGURE_ARGS+=       --enable-option-checking=yes
 .endif
 
+.if ${GNU_CONFIGURE_QUIET:Uno:tl} == yes
+CONFIGURE_ARGS+=       --quiet
+.endif
+
 _SHOW_UNKNOWN_CONFIGURE_OPTIONS_CMD= \
        cd ${WRKSRC}; \
        configures=$$( \



Home | Main Index | Thread Index | Old Index