]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
When running testcurl.pl display definitions from curlbuild.h
authorYang Tse <yangsita@gmail.com>
Sat, 9 Aug 2008 23:14:40 +0000 (23:14 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 9 Aug 2008 23:14:40 +0000 (23:14 +0000)
tests/testcurl.pl

index 63246a8f13e51a6ab017c39f65f2cec4c8493401..a898eba3ee6b60571d2a0c8ca7676010fd1430ee 100755 (executable)
@@ -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>) {