From 4c7a085e5317ed6bbc88d354c9c691c18714df06 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 28 Feb 2013 15:30:36 +0100 Subject: [PATCH] Fix false positive in kismet's build log. --- bin/blhc | 1 + t/logs/configure | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) 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 -- 2.45.2