From 4a486ed36d77fd9d0f7ce1d3f5141beb582f930d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 18 Mar 2012 01:22:18 +0100 Subject: [PATCH] Handle another configure false positive. --- bin/blhc | 2 +- t/logs/configure | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index 0b4b681..ee98a89 100755 --- a/bin/blhc +++ b/bin/blhc @@ -335,7 +335,7 @@ while (my $line = <>) { # # `./configure` output. next if not $non_verbose and $line =~ /^checking /; - next if $line =~ /^\s*(?:C|c)ompiler[\s.]*:\s+$cc_regex(?:\s-std=[a-z0-9:+]+)?\s*$/ + next if $line =~ /^\s*(?:C )?(?:C|c)ompiler[\s.]*:\s+$cc_regex(?:\s-std=[a-z0-9:+]+)?\s*$/ or $line =~ /^\s*(?:- )?(?:CC|CXX)\s*=\s*$cc_regex\s*$/ or $line =~ /^\s*-- Check for working (?:C|CXX) compiler: / or $line =~ /^\s*(?:echo )?Using [A-Z_]+\s*=\s*/; diff --git a/t/logs/configure b/t/logs/configure index f8e1a27..ba830e7 100644 --- a/t/logs/configure +++ b/t/logs/configure @@ -6,6 +6,8 @@ Compiler: gcc compiler : gcc -std=gnu99 + C Compiler: gcc -std=gnu99 + - General Compile FLAGS - CC = mpicc - CXX = g++ -- 2.45.2