From 7a5ad5d5a103ca3a0c89643275e7e148fba13e43 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 20 Jun 2005 20:48:21 +0000 Subject: [PATCH] Check for 'usage' and 'Usage'. Submitted by Tim Rice . His comment is: I noticed "make report" didn't show the cc version on most of my System V platforms. This patch corrects this. --- util/selftest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/selftest.pl b/util/selftest.pl index 736eacb11e..4778c5ab01 100644 --- a/util/selftest.pl +++ b/util/selftest.pl @@ -49,7 +49,7 @@ if (open(IN,"&1`; -$cversion=`$cc -V 2>&1` if $cversion =~ "usage"; +$cversion=`$cc -V 2>&1` if $cversion =~ "[Uu]sage"; $cversion=`$cc -V |head -1` if $cversion =~ "Error"; $cversion=`$cc --version` if $cversion eq ""; $cversion =~ s/Reading specs.*\n//; -- 2.25.1