]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix for NetWare crossbuilds to display the right config.h when build on Win32.
authorGunter Knauf <gk@gknw.de>
Thu, 11 Aug 2005 18:02:09 +0000 (18:02 +0000)
committerGunter Knauf <gk@gknw.de>
Thu, 11 Aug 2005 18:02:09 +0000 (18:02 +0000)
tests/testcurl.pl

index 77cec503d4e2eb54f69e18c0379bfb2b8ce22446..2a2a2c754636cf68c186b04539f9e9cc79d9e823 100755 (executable)
@@ -141,9 +141,9 @@ if ($^O eq 'MSWin32' || $targetos) {
   }
 }
 
-if ($^O eq 'MSWin32') {
+if (($^O eq 'MSWin32') && ($targetos =~ /vc/ || $targetos =~ /mingw32/ || $targetos =~ /borland/)) {
 
-  # Set these things only when building ON Windows, not when simply building
+  # Set these things only when building ON Windows and for Win32 platform.
   # FOR Windows since we might be cross-compiling on another system. Non-
   # Windows builds still default to configure-style builds with no confsuffix.