]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Handle another configure false positive.
authorSimon Ruderich <simon@ruderich.org>
Sun, 18 Mar 2012 00:22:18 +0000 (01:22 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 18 Mar 2012 00:22:18 +0000 (01:22 +0100)
bin/blhc
t/logs/configure

index 0b4b681086bb009f85d9658882b49c88164dd4e4..ee98a895db0924ee88a7762840484f49fe3e0d6c 100755 (executable)
--- 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*/;
index f8e1a276a8f621907ea49cc3c64568f4211e5b33..ba830e7cf9978e9397d974a22dfb5a44f7e0fdaa 100644 (file)
@@ -6,6 +6,8 @@ Compiler:            gcc
 
   compiler                    : gcc -std=gnu99
 
+    C Compiler:                                gcc -std=gnu99
+
   - General Compile FLAGS
       - CC  = mpicc
       - CXX = g++