cvs: php-src(PHP_5_3) /win32/build projectgen.js
| From: | Steph Fox | Date: | Fri, 18 Jul 2008 17:35:37 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /win32/build projectgen.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51239@lists.php.net to get a copy of this message | ||
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);