aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-14 15:36:12 +0000
committerGunter Knauf <gk@gknw.de>2009-07-14 15:36:12 +0000
commit6dade671adac2a02f1a5d68046e844967a4e639b (patch)
tree3d9701cf047036af15b3305f68c87bc5b061d9c8 /tests/testcurl.pl
parent38b88b5892cb821af529bbac652e5439f3db4064 (diff)
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)
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl10
1 files changed, 5 insertions, 5 deletions
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 (<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 /^ *#/;
}