From 46cd48288d8300d525282dc31926108f264ee985 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 22 Mar 2012 15:18:33 +0100 Subject: [PATCH 1/1] Handle "configure:"/"Configure:" false positives. --- bin/blhc | 3 ++- t/logs/configure | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index 47f4e2a..465ce0f 100755 --- a/bin/blhc +++ b/bin/blhc @@ -452,7 +452,8 @@ while (my $line = <>) { # Ignore false positives. # # `./configure` output. - next if not $non_verbose and $line =~ /^checking /; + next if not $non_verbose + and $line =~ /^(?:checking|(?:C|c)onfigure:) /; next if $line =~ /^\s*(?:Host\s+)?(?:C\s+)? (?:C|c)ompiler[\s.]*:?\s+ $cc_regex diff --git a/t/logs/configure b/t/logs/configure index bc4d57c..623c563 100644 --- a/t/logs/configure +++ b/t/logs/configure @@ -72,6 +72,8 @@ Configuration: configure: using CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC configure: using LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--as-needed +configure: Compiling with gcc -fstack-protector-all et al. + echo Using CC="gcc" Using CC=gcc echo Using CXX="gcc" -- 2.45.2