]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Handle another configure false positive.
[blhc/blhc.git] / bin / blhc
index d089931fa04de504f151fdda83a87c4cf7352f60..1d1fc27d6d2a5cdbe613de7c37cdf04105243f1f 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -326,7 +326,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*$/
-                    or $line =~ /^\s*(?:CC|CXX)\s*=\s*$cc_regex\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*/;
 
@@ -414,7 +414,8 @@ for (my $i = 0; $i < scalar @input; $i++) {
                    (?:[/.A-Za-z0-9~_-]+/)?     # path to file
                         [A-Za-z0-9~_-]+        # binary name (no dots!)
                    (?:[0-9.]*\.so[0-9.]*[a-z]? # library (including version)
-                    |\.la)?
+                    |\.la
+                    |\.cgi)?                   # CGI binary
                    (?:\s|\\|$)                 # end of file name
                   }x
             or $line =~ /^libtool: link: /