aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-07 20:41:12 +0000
committerYang Tse <yangsita@gmail.com>2008-08-07 20:41:12 +0000
commita7d52c414f09cf0b36b00f9b30f4d1ae94cb4025 (patch)
tree4b190d17818193ac86afcbcf1a198d01963a7baf /tests/testcurl.pl
parent479466a495ce3047fd7747b867a7f4b0c7d21965 (diff)
Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
for non-configure targets when host system doesn't run buildconf.bat.
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index ece15e8b7..d18660377 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -489,6 +489,7 @@ if ($configurebuild) {
elsif (($^O eq 'linux') || ($targetos =~ /netware/)) {
system("cp -afr ../$CURLDIR/* .");
system("cp -af ../$CURLDIR/Makefile.dist Makefile");
+ system("cp -af ../$CURLDIR/include/curl/curlbuild.h.dist include/curl/curlbuild.h");
system("$make -i -C lib -f Makefile.$targetos prebuild");
system("$make -i -C src -f Makefile.$targetos prebuild");
}