]> git.sven.stormbind.net Git - sven/tclcurl.git/blob - tests/curlConfig.tcl
releasing package tclcurl version 7.22.0+hg20160822-2
[sven/tclcurl.git] / tests / curlConfig.tcl
1 package require TclCurl
2
3 puts "cURL is installed in: [curl::curlConfig -prefix]"
4
5 set compiledOptions [curl::curlConfig -feature]
6 regsub -all {\n} $compiledOptions { - } compiledOptions
7 puts "The compiled options: $compiledOptions"
8
9 puts "The version in hex: [curl::curlConfig -vernum]"
10
11 puts "The built-in path to the CA cert bundle:\n\t[curl::curlConfig -ca]"
12