From 6dade671adac2a02f1a5d68046e844967a4e639b Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 14 Jul 2009 15:36:12 +0000 Subject: 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) --- tests/testcurl.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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 /^ *#/; } -- cgit v1.2.3