diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-29 01:31:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-29 01:31:37 +0000 |
commit | 5957498c6f98fdeb74a1d8d205aefa6ce225018a (patch) | |
tree | cd9eb1e1ab332e0fe6fc850cf38659b0727ee32c | |
parent | b6282b99cbfcd464348249a706650f39a929b2b5 (diff) |
When running testcurl.pl display definitions from ares_build.h
-rwxr-xr-x | tests/testcurl.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 7168a8429..133a8dfef 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -533,6 +533,20 @@ close(F); if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) { logit "setup to build ares"; + if(-f "./ares/ares_build.h") { + logit "display ares/ares_build.h"; + if(open(F, "<./ares/ares_build.h")) { + while(<F>) { + my $ll = $_; + print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CARES_BUILD_H/)); + } + close(F); + } + } + else { + mydie "no ares_build.h created/found"; + } + logit "display ares/config$confsuffix.h"; if(open(F, "ares/config$confsuffix.h")) { while (<F>) { |