sfox            Fri Jul 18 17:35:37 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/win32/build        projectgen.js 
  Log:
  - Make SAPI include paths work (on my box at least)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/projectgen.js?r1=1.1.2.5&r2=1.1.2.6&diff_format=u
Index: php-src/win32/build/projectgen.js
diff -u php-src/win32/build/projectgen.js:1.1.2.5 
php-src/win32/build/projectgen.js:1.1.2.6
--- php-src/win32/build/projectgen.js:1.1.2.5   Fri Jul 18 02:53:06 2008
+++ php-src/win32/build/projectgen.js   Fri Jul 18 17:35:37 2008
@@ -344,8 +344,9 @@
                                newext = (ext.match(/apache2handler/) ? 
"php5apache2" : "php5" + ext);
                                address = address.replace(ext + ".dsp", newext 
+ ".dsp");
                                srcpath = ".\\";
-                               oldext = new RegExp(ext, "g");
+                               oldext = new RegExp(('[^=\\\\]'+ext), "g");
                                contents = contents.replace(oldext, newext);
+                               contents = contents.replace(ext + ".dll", 
newext + ".dll");
                        }
 
                        contents = contents.replace("CFG=" + ext, "CFG=" + 
newext);



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

Reply via email to