From: Gunter Knauf Date: Tue, 14 Jul 2009 15:36:12 +0000 (+0000) Subject: renamed generated config.h to curl_config.h in order to avoid clashes when libcurl... X-Git-Tag: curl-7_19_6~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dade671adac2a02f1a5d68046e844967a4e639b;p=curl renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h (missing bits) --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index ddf030409..533a3a481 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -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 () { 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 () { print if /^ *#/; }