]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - tests/curlConfig.tcl
Imported Upstream version 7.19.6
[sven/tclcurl.git] / tests / curlConfig.tcl
diff --git a/tests/curlConfig.tcl b/tests/curlConfig.tcl
new file mode 100755 (executable)
index 0000000..987d544
--- /dev/null
@@ -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]"
+