]> granicus.if.org Git - curl/commitdiff
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl...
authorGunter Knauf <gk@gknw.de>
Tue, 14 Jul 2009 15:36:12 +0000 (15:36 +0000)
committerGunter Knauf <gk@gknw.de>
Tue, 14 Jul 2009 15:36:12 +0000 (15:36 +0000)
tests/testcurl.pl

index ddf03040990782fbec3d5a491e234a28dc223d05..533a3a48127c9d8134b63b229086e3339abbc66f 100755 (executable)
@@ -566,14 +566,14 @@ else {
   mydie "no curlbuild.h created/found";
 }
 
-logit_spaced "display lib/config$confsuffix.h";
-open(F, "lib/config$confsuffix.h") or die "lib/config$confsuffix.h: $!";
+logit_spaced "display lib/curl_config$confsuffix.h";
+open(F, "lib/curl_config$confsuffix.h") or die "lib/curl_config$confsuffix.h: $!";
 while (<F>) {
   print if /^ *#/;
 }
 close(F);
 
-if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
+if (grepfile("define USE_ARES", "lib/curl_config$confsuffix.h")) {
   print "\n";
   logit "setup to build ares";
 
@@ -602,8 +602,8 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
     mydie "no ares_build.h created/found";
   }
 
-  logit_spaced "display ares/config$confsuffix.h";
-  if(open(F, "ares/config$confsuffix.h")) {
+  logit_spaced "display ares/ares_config$confsuffix.h";
+  if(open(F, "ares/ares_config$confsuffix.h")) {
       while (<F>) {
           print if /^ *#/;
       }