aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-09 23:14:40 +0000
committerYang Tse <yangsita@gmail.com>2008-08-09 23:14:40 +0000
commitb023f9bd2a140fedb3fc85b3df6b94ea839c26bd (patch)
tree20ce8935c24db76bb8505d1a5595f13ab2c778e5
parentb7ac885d388087a6bb0bee43cecfb9d98f069b54 (diff)
When running testcurl.pl display definitions from curlbuild.h
-rwxr-xr-xtests/testcurl.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 63246a8f1..a898eba3e 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -495,6 +495,14 @@ if ($configurebuild) {
}
}
+logit "display include/curl/curlbuild.h";
+if(open(F, "include/curl/curlbuild.h")) {
+ while (<F>) {
+ print if /^ *#define/;
+ }
+ close(F);
+}
+
logit "display lib/config$confsuffix.h";
open(F, "lib/config$confsuffix.h") or die "lib/config$confsuffix.h: $!";
while (<F>) {