X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=bf5f8ff58dc1edddd4208c703ee8c702d808266a;hp=7075ec812c7076485866279e4258fe03999a6c30;hb=fa2e7db77f6c7c9ae52841d5b4cfc8d9a1f221a9;hpb=176279c453afed1e0aab9db5283a92b1e92e1fb1 diff --git a/bin/blhc b/bin/blhc index 7075ec8..bf5f8ff 100755 --- a/bin/blhc +++ b/bin/blhc @@ -357,12 +357,12 @@ while (my $line = <>) { # # `./configure` output. next if not $non_verbose and $line =~ /^checking /; - next if $line =~ /^\s*(?:C\s+)? - (?:C|c)ompiler[\s.]*:\s+ + next if $line =~ /^\s*(?:Host\s+)?(?:C\s+)? + (?:C|c)ompiler[\s.]*:?\s+ $cc_regex (?:\s-std=[a-z0-9:+]+)?\s*$ /x - or $line =~ /^\s*(?:- )?(?:CC|CXX)\s*=\s*$cc_regex\s*$/ + or $line =~ /^\s*(?:- )?(?:HOST_)?(?: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*/; # Debian buildd output.