diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-20 20:48:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-20 20:48:21 +0000 |
commit | 7a5ad5d5a103ca3a0c89643275e7e148fba13e43 (patch) | |
tree | 6e5d4ff8bbef2b5167dc222c2ea46d328f8aa09d /util | |
parent | 44eff497e8cebb6c6eea371371cbb888cae65727 (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//; |