adjust to use plain 'make' even for cross-compiles if using configure-
authorDaniel Stenberg <daniel@haxx.se>
Fri, 18 Mar 2005 09:21:25 +0000 (09:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Mar 2005 09:21:25 +0000 (09:21 +0000)
style build

tests/testcurl.pl

index fbd5cfb..db5ca2e 100755 (executable)
@@ -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>) {