but we could use having a look at ares/config.h when that is used
}
close(F);
-logit "display src/config$confsuffix.h";
-open(F, "src/config$confsuffix.h") or die "src/config$confsuffix.h: $!";
-while (<F>) {
- print if /^ *#/;
-}
-close(F);
-
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 /^ *#/;
+ }
+ close(F);
+
logit "build ares";
chdir "ares";