diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-20 20:49:05 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-20 20:49:05 +0000 |
commit | 0932892278d053382c3ff14d3f1f3638a6456f69 (patch) | |
tree | dbf7c71afa70bf20559aa6732012279f3240f18e /util | |
parent | fe0b3d98c237209b9b39060ed6d40c4f284e808b (diff) |
Check for 'usage' and 'Usage'.
Submitted by Tim Rice <tim@multitalents.net>. His comment is:
I noticed "make report" didn't show the cc version on most of
my System V platforms. This patch corrects this.
Diffstat (limited to 'util')
-rw-r--r-- | util/selftest.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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,"<Makefile")) { } $cversion=`$cc -v 2>&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//; |