From d01f1d89e336dd6b9f2e9403b272d0255fff6177 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 20 Jun 2005 20:45:44 +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