pajoye Sun Jul 6 09:56:01 2008 UTC
Modified files:
/php-src/win32/build config.w32
Log:
- MFB: correctly test the VCVERS (four digits now)
http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32?r1=1.73&r2=1.74&diff_format=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.73 php-src/win32/build/config.w32:1.74
--- php-src/win32/build/config.w32:1.73 Sat Jul 5 19:52:44 2008
+++ php-src/win32/build/config.w32 Sun Jul 6 09:56:01 2008
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.73 2008/07/05 19:52:44 pajoye Exp $
+// $Id: config.w32,v 1.74 2008/07/06 09:56:01 pajoye Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -144,7 +144,7 @@
DEFINE("CFLAGS", "/nologo /FD $(BASE_INCLUDES) /D _WINDOWS \
/D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS");
-if (VCVERS < 14) {
+if (VCVERS < 1400) {
// Enable automatic precompiled headers
ADD_FLAG('CFLAGS', ' /YX ');
@@ -154,7 +154,7 @@
}
}
-if (VCVERS >= 14) {
+if (VCVERS >= 1400) {
// fun stuff: MS deprecated ANSI stdio and similar functions
// disable annoying warnings. In addition, time_t defaults
// to 64-bit. Ask for 32-bit.
@@ -301,7 +301,7 @@
for (i = 0; i < path.length; i++) {
f = FSO.GetAbsolutePathName(path[i]);
if (FSO.FolderExists(f)) {
- if (VCVERS <= 12 && f.indexOf(" ") >= 0) {
+ 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