From: Simon Ruderich <simon@ruderich.org>
Date: Thu, 28 Feb 2013 14:30:36 +0000 (+0100)
Subject: Fix false positive in kismet's build log.
X-Git-Tag: 0.04~2
X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=4c7a085e5317ed6bbc88d354c9c691c18714df06;p=blhc%2Fblhc.git

Fix false positive in kismet's build log.
---

diff --git a/bin/blhc b/bin/blhc
index 01c0e02..1bdea29 100755
--- a/bin/blhc
+++ b/bin/blhc
@@ -440,6 +440,7 @@ sub is_non_verbose_build {
     #
     # C++ compiler setting.
     return 0 if $line =~ /^\s*C\+\+.+?:\s+(?:yes|no)\s*$/;
+    return 0 if $line =~ /^\s*C\+\+ Library: stdc\+\+$/;
     # "Compiling" with no file name.
     if ($line =~ /^\s*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/) {
         # $file_extension_regex may need spaces around the filename.
diff --git a/t/logs/configure b/t/logs/configure
index 91cb354..5f45d19 100644
--- a/t/logs/configure
+++ b/t/logs/configure
@@ -102,3 +102,22 @@ CC      = cc
 CC=gcc
 CC_I386=$(CC) -m32
 HOST_CC=gcc
+
+# From kismet.
+Configuration complete:
+         Compiling for: linux-gnu (i486)
+           C++ Library: stdc++
+   Installing as group: root
+    Man pages owned by: man
+       Installing into: /usr
+          Setuid group: kismet
+      Terminal Control: ncurses
+   Linux WEXT capture : yes
+   OSX/Darwin capture : n/a (only OSX/Darwin)
+   PCRE Regex Filters : yes
+          pcap capture: yes
+       airpcap control: n/a (only Cygwin/Win32)
+        PPI log format: yes
+LibCapability (enhanced
+   privilege dropping): yes
+         Linux Netlink: yes (mac80211 VAP creation) - libnl-3.0 libnl-genl-3.0