From: David Levine Date: Sat, 11 Jan 2014 22:30:42 +0000 (-0600) Subject: Refined the POSTLINK used on OpenBSD so that it leaves the warnings, X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9cdb320102bf8f24a4b564c5ed2b35879e5ccf62 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. --- 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 -----------------