From 9cdb320102bf8f24a4b564c5ed2b35879e5ccf62 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sat, 11 Jan 2014 16:30:42 -0600 Subject: [PATCH] Refined the POSTLINK used on OpenBSD so that it leaves the warnings, but capitalizes the "w" so that they don't color the buildbot waterfall. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index f817d123..8b3066c2 100644 --- a/configure.ac +++ b/configure.ac @@ -164,11 +164,11 @@ fi dnl -------------- dnl CUSTOMIZE LINK dnl -------------- -if test `uname` = OpenBSD; then - dnl Filter out "often/almost always misused" warnings from OpenBSD linker. - [POSTLINK="2>&1 | egrep -v ': [w]arning: s[a-z]+\(\) is \ -(almost always|often) misused, please use' || true"] -fi +AS_IF([test `uname` = OpenBSD], + dnl Munge "often/almost always misused" warnings from OpenBSD linker + dnl so that they don't color the waterfall. + [POSTLINK="2>&1 | sed -e \ +'s/: w\(arning: s.*() is .* misused, please use\)/: W\1/'"]) AC_SUBST([POSTLINK]) dnl ----------------- -- 2.56.0