Skip to content
Snippets Groups Projects
Commit 5957498c authored by Yang Tse's avatar Yang Tse
Browse files

When running testcurl.pl display definitions from ares_build.h

parent b6282b99
No related branches found
No related tags found
No related merge requests found
......@@ -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>) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment