pajoye          Sat Aug 23 19:39:07 2008 UTC

  Modified files:              
    /php-src/win32/build        config.w32 
  Log:
  - readd the usual suspects to lib/include (was droped with the resolv.h check 
removal)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32?r1=1.83&r2=1.84&diff_format=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.83 php-src/win32/build/config.w32:1.84
--- php-src/win32/build/config.w32:1.83 Thu Aug 21 23:37:40 2008
+++ php-src/win32/build/config.w32      Sat Aug 23 19:39:07 2008
@@ -1,5 +1,5 @@
 // vim:ft=javascript
-// $Id: config.w32,v 1.83 2008/08/21 23:37:40 pajoye Exp $
+// $Id: config.w32,v 1.84 2008/08/23 19:39:07 pajoye Exp $
 // "Master" config file; think of it as a configure.in
 // equivalent.
 
@@ -246,6 +246,25 @@
        if (PHP_PHP_BUILD != "no") {
                php_usual_include_suspects += ";" + PHP_PHP_BUILD + "\\include";
                php_usual_lib_suspects += ";" + PHP_PHP_BUILD + "\\lib";
+
+               path = php_usual_include_suspects.split(';');
+               for (i = 0; i < path.length; i++) {
+                       f = FSO.GetAbsolutePathName(path[i]);
+                       if (FSO.FolderExists(f)) {
+                               ADD_FLAG("CFLAGS", '/I "' + f + '" ');
+                       }
+               }
+               path = php_usual_lib_suspects.split(';');
+               for (i = 0; i < path.length; i++) {
+                       f = FSO.GetAbsolutePathName(path[i]);
+                       if (FSO.FolderExists(f)) {
+                               if (VCVERS <= 1200 && f.indexOf(" ") >= 0) {
+                                       ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f 
+ '\\"" ');
+                               } else {
+                                       ADD_FLAG("LDFLAGS", '/libpath:"' + f + 
'" ');
+                               }
+                       }
+               }
        }
 }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to