1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

When running testcurl.pl display definitions from ares_build.h

This commit is contained in:
Yang Tse 2009-04-29 01:31:37 +00:00
parent b6282b99cb
commit 5957498c6f

View File

@ -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>) {