initial checkin of TclCurl
This commit is contained in:
12
tests/curlConfig.tcl
Executable file
12
tests/curlConfig.tcl
Executable file
@ -0,0 +1,12 @@
|
||||
package require TclCurl
|
||||
|
||||
puts "cURL is installed in: [curl::curlConfig -prefix]"
|
||||
|
||||
set compiledOptions [curl::curlConfig -feature]
|
||||
regsub -all {\n} $compiledOptions { - } compiledOptions
|
||||
puts "The compiled options: $compiledOptions"
|
||||
|
||||
puts "The version in hex: [curl::curlConfig -vernum]"
|
||||
|
||||
puts "The built-in path to the CA cert bundle:\n\t[curl::curlConfig -ca]"
|
||||
|
Reference in New Issue
Block a user