Fetch curl's 'CharConv' feature information, used by TPF.
authorYang Tse <yangsita@gmail.com>
Mon, 11 May 2009 17:20:41 +0000 (17:20 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 11 May 2009 17:20:41 +0000 (17:20 +0000)
tests/runtests.pl

index 18e64b7..c7bdcb7 100755 (executable)
@@ -184,6 +184,7 @@ my $has_ipv6;    # set if libcurl is built with IPv6 support
 my $has_libz;    # set if libcurl is built with libz support
 my $has_getrlimit;  # set if system has getrlimit()
 my $has_ntlm;    # set if libcurl is built with NTLM support
+my $has_charconv;# set if libcurl is built with CharConv support
 
 my $has_openssl; # built with a lib using an OpenSSL-like API
 my $has_gnutls;  # built with GnuTLS
@@ -1569,6 +1570,10 @@ sub checksystem {
                 # NTLM enabled
                 $has_ntlm=1;
             }
+            if($feat =~ /CharConv/i) {
+                # CharConv enabled
+                $has_charconv=1;
+            }
         }
     }
     if(!$curl) {