From c2528fef3b05bcffb1ac27c6c09cc3ff24b7f03f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 13 Jun 2017 22:09:59 +0200 Subject: configure: Suppress expected compiler error message --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ceb5394..4c2922d 100755 --- a/configure +++ b/configure @@ -5337,7 +5337,8 @@ fi # copy of those headers in Makerules. if test -n "$CXX"; then find_cxx_header () { - echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "\,$1:,{s/:\$//;p}" + echo "#include <$1>" | $CXX -M -MP -x c++ - 2>/dev/null \ + | sed -n "\,$1:,{s/:\$//;p}" } CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)" CXX_CMATH_HEADER="$(find_cxx_header cmath)" -- cgit v1.1