mirror of
https://github.com/curl/curl.git
synced 2026-04-18 21:21:40 +03:00
allow the ares/config.h display to fail
This commit is contained in:
parent
e4c0a85da0
commit
e010ac9706
1 changed files with 5 additions and 4 deletions
|
|
@ -439,11 +439,12 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
|
|||
logit "setup to build ares";
|
||||
|
||||
logit "display ares/config$confsuffix.h";
|
||||
open(F, "ares/config$confsuffix.h") or die "ares/config$confsuffix.h: $!";
|
||||
while (<F>) {
|
||||
print if /^ *#/;
|
||||
if(open(F, "ares/config$confsuffix.h")) {
|
||||
while (<F>) {
|
||||
print if /^ *#/;
|
||||
}
|
||||
close(F);
|
||||
}
|
||||
close(F);
|
||||
|
||||
logit "build ares";
|
||||
chdir "ares";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue