diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-29 17:57:49 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-29 17:57:49 +0000 |
commit | 296baeb0966a87cb1bdfd8770264ed17f6d9993f (patch) | |
tree | c53ad8c49978dc5cf2a4afc206a50dc3803b577a /tests | |
parent | 01dabb774a5b85f95b85e6ff50fe8f7880661d88 (diff) |
Trigger c-ares prebuild stage for fake-config setup's
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/testcurl.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 133a8dfef..4d1d73fc6 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -499,6 +499,9 @@ if ($configurebuild) { system("cp -af ../$CURLDIR/Makefile.dist Makefile"); system("$make -i -C lib -f Makefile.netware prebuild"); system("$make -i -C src -f Makefile.netware prebuild"); + if (-d "../$CURLDIR/ares") { + system("$make -i -C ares -f Makefile.netware prebuild"); + } } elsif ($^O eq 'linux') { system("cp -afr ../$CURLDIR/* ."); @@ -506,6 +509,10 @@ if ($configurebuild) { 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"); + if (-d "../$CURLDIR/ares") { + system("cp -af ../$CURLDIR/ares/ares_build.h.dist ./ares/ares_build.h"); + system("$make -i -C ares -f Makefile.$targetos prebuild"); + } } } |