From 297e829e7b49f50a86361cdd97e564ae8dae383f Mon Sep 17 00:00:00 2001 From: ph10 Date: Tue, 27 Oct 2015 16:35:12 +0000 Subject: File tidies for 8.38-RC1. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1602 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- maint/ManyConfigTests | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'maint') diff --git a/maint/ManyConfigTests b/maint/ManyConfigTests index 42e31f2..48bc7e5 100755 --- a/maint/ManyConfigTests +++ b/maint/ManyConfigTests @@ -78,9 +78,26 @@ function runtest() exit 1 fi +# There is an infelicity in the Autotools world (as of October 2015) which +# causes the message +# +# ar: `u' modifier ignored since `D' is the default (see `U') +# +# to be output while linking. This triggers an unwanted error report from this +# script, because it expects no stderr output while making. To get round this +# we filter the stderr output through sed, removing all occurrences of the +# above lines. Just for paranoia, check that sed is available before doing +# this. + echo "Making" make -j >/dev/null 2>teststderr - if [ $? -ne 0 -o -s teststderr ]; then + makeRC=$? + if command -v sed >/dev/null 2>&1 ; then + sed "/\`u' modifier ignored since \`D' is the default/ d" \ + teststderr > teststderrM + mv -f teststderrM teststderr + fi + if [ $makeRC -ne 0 -o -s teststderr ]; then echo " " echo "**** Errors or warnings while making ****" echo " " -- cgit v1.2.1