sfox Sat Jul 19 19:02:59 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/win32/build confutils.js
Log:
- Fix logic in get_define()
http://cvs.php.net/viewvc.cgi/php-src/win32/build/confutils.js?r1=1.60.2.1.2.8.2.26&r2=1.60.2.1.2.8.2.27&diff_format=u
Index: php-src/win32/build/confutils.js
diff -u php-src/win32/build/confutils.js:1.60.2.1.2.8.2.26
php-src/win32/build/confutils.js:1.60.2.1.2.8.2.27
--- php-src/win32/build/confutils.js:1.60.2.1.2.8.2.26 Sat Jul 19 16:57:58 2008
+++ php-src/win32/build/confutils.js Sat Jul 19 19:02:59 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-// $Id: confutils.js,v 1.60.2.1.2.8.2.26 2008/07/19 16:57:58 sfox Exp $
+// $Id: confutils.js,v 1.60.2.1.2.8.2.27 2008/07/19 19:02:59 sfox Exp $
var STDOUT = WScript.StdOut;
var STDERR = WScript.StdErr;
@@ -1652,7 +1652,10 @@
function get_define(name)
{
- return configure_subst.Item(name);
+ if (configure_subst.Exists(name)) {
+ return configure_subst.Item(name);
+ }
+ return "";
}
// Add a .def to the core to export symbols
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php