From 36b397be9f851bb153fe47bba0acf86c0a4eecb9 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Mon, 11 May 2009 17:20:41 +0000
Subject: [PATCH] Fetch curl's 'CharConv' feature information, used by TPF.

---
 tests/runtests.pl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 18e64b724a..c7bdcb7600 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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) {
-- 
GitLab