yangtse: curl-www/auto summarize.pl,1.65,1.66

[email protected] Wed, 10 Mar 2010 16:06:08 +0000
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/auto
In directory giant.haxx.se:/var/tmp/cvs-serv18991

Modified Files:
	summarize.pl 
Log Message:

adjust 'debug build', 'track memory' and 'libcurl SSL' detection


Index: summarize.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/summarize.pl,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- summarize.pl	24 Jan 2010 19:47:46 -0000	1.65
+++ summarize.pl	10 Mar 2010 16:06:05 -0000	1.66
@@ -494,32 +494,15 @@
             elsif($line =~ /^testcurl:.*curl was created fine/) {
                 $linkfine=1;
             }
-            elsif($line =~ /^\* debug build: *(.*)/) {
-                if($1 eq "ON") {
-                    $debug=1;
-                }
-                else {
-                    $debug=0;
-                }
-            }
-            elsif($line =~ /^\* track memory: *(.*)/) {
-                if($1 eq "ON") {
-                    $trackmem=1;
-                }
-                else {
-                    $trackmem=0;
-                }
+            elsif($line =~ /^\* debug build: *(ON|OFF) *track memory: *(ON|OFF)/) {
+                $debug = ($1 eq "ON") ? 1 : 0;
+                $trackmem = ($2 eq "ON") ? 1 : 0;
             }
             elsif($line =~ /^\* System: *(.*)/) {
                 $uname = $1;
             }
-            elsif($line =~ /^\* libcurl SSL: *(.*)/) {
-                if($1 eq "ON") {
-                    $ssl=1;
-                }
-                else {
-                    $ssl=0;
-                }
+            elsif($line =~ /^\* Server SSL: *(ON|OFF) *libcurl SSL: *(ON|OFF)/) {
+                $ssl = ($2 eq "ON") ? 1 : 0;
             }
             elsif($line =~ /^supported_features(.*)AsynchDNS/) {
                 $asynch = 1;