cellog          Thu Jan 17 21:17:30 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/win32/build        confutils.js 
  Log:
  MFH: add errors when missing dependencies (Steph)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/confutils.js?r1=1.60.2.1.2.9&r2=1.60.2.1.2.10&diff_format=u
Index: php-src/win32/build/confutils.js
diff -u php-src/win32/build/confutils.js:1.60.2.1.2.9 
php-src/win32/build/confutils.js:1.60.2.1.2.10
--- php-src/win32/build/confutils.js:1.60.2.1.2.9       Wed Nov 14 19:48:57 2007
+++ php-src/win32/build/confutils.js    Thu Jan 17 21:17:29 2008
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-// $Id: confutils.js,v 1.60.2.1.2.9 2007/11/14 19:48:57 auroraeosrose Exp $
+// $Id: confutils.js,v 1.60.2.1.2.10 2008/01/17 21:17:29 cellog Exp $
 
 var STDOUT = WScript.StdOut;
 var STDERR = WScript.StdErr;
@@ -1009,6 +1009,14 @@
                ADD_FLAG("LDFLAGS_" + EXT, "/libpath:$(BUILD_DIR)");
                ADD_FLAG("LIBS_" + EXT, "php_" + dependson + ".lib");
                ADD_FLAG("DEPS_" + EXT, "$(BUILD_DIR)\\php_" + dependson + 
".lib");
+       } else {
+               if (dep_present == "no") {
+                       if (ext_shared) {
+                               WARNING(extname + " has a missing dependency: " 
+ dependson);
+                       } else {
+                               ERROR("Cannot build " + extname + "; " + 
dependson + " not enabled");
+                       }
+               }
        }
 }
 

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

Reply via email to