aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-18 09:21:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-18 09:21:25 +0000
commit44f2024bab29aaff4b86d2f19ee50ee74b171531 (patch)
tree31a7778024ab1fb6b42c82f0a6976cf8b45d349b /tests/testcurl.pl
parent410942e9dfcf1a4e5b030bc30433907dfa04fa11 (diff)
adjust to use plain 'make' even for cross-compiles if using configure-
style build
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index fbd5cfbd0..db5ca2e6c 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -447,9 +447,10 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {
logit "build ares";
chdir "ares";
- if ($targetos ne '') {
+ if ($targetos && !$configurebuild) {
open(F, "make -f Makefile.$targetos 2>&1 |") or die;
- } else {
+ }
+ else {
open(F, "make 2>&1 |") or die;
}
while (<F>) {