]> granicus.if.org Git - curl/commitdiff
no need to display src/config.h anymore since it is a duplicate of lib/config.h
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 May 2005 07:45:30 +0000 (07:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 May 2005 07:45:30 +0000 (07:45 +0000)
but we could use having a look at ares/config.h when that is used

tests/testcurl.pl

index a8da827855918014f408af3994da2c03b590683c..67b189147ef5aa7217d0bda87e8ffa6cc54af79b 100755 (executable)
@@ -435,16 +435,16 @@ while (<F>) {
 }
 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";