From 296baeb0966a87cb1bdfd8770264ed17f6d9993f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 29 Apr 2009 17:57:49 +0000 Subject: Trigger c-ares prebuild stage for fake-config setup's --- tests/testcurl.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') 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"); + } } } -- cgit v1.2.3