X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;ds=sidebyside;f=tests%2FcurlConfig.tcl;fp=tests%2FcurlConfig.tcl;h=987d54473aeaf737b46be158a75954469d8d603b;hb=b0e6fb6e4379fb87fa2854b84a56c5ad49c644da;hp=0000000000000000000000000000000000000000;hpb=c9a5bcd9d76f699909b24e71a2a216d36062ab0b;p=sven%2Ftclcurl.git diff --git a/tests/curlConfig.tcl b/tests/curlConfig.tcl new file mode 100755 index 0000000..987d544 --- /dev/null +++ b/tests/curlConfig.tcl @@ -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]" +