diff options
author | Rob Richards <rrichards@php.net> | 2008-01-10 18:21:56 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2008-01-10 18:21:56 +0000 |
commit | 38ac30162f9d58b0471436867fbb3381ade6facc (patch) | |
tree | 1a53efecf45abb55f05a8345c22fb7b33c0f75cc /win32 | |
parent | 522166bad1acfeb7efb8d816d7d8450a663b1cdc (diff) | |
download | php-git-38ac30162f9d58b0471436867fbb3381ade6facc.tar.gz |
MFH: add errors when missing dependencies (Steph)
Diffstat (limited to 'win32')
-rw-r--r-- | win32/build/confutils.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index ee33c6dfe8..f40f1517df 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -// $Id: confutils.js,v 1.60.2.1.2.8.2.1 2007-11-14 19:38:57 auroraeosrose Exp $ +// $Id: confutils.js,v 1.60.2.1.2.8.2.2 2008-01-10 18:21:56 rrichards Exp $ var STDOUT = WScript.StdOut; var STDERR = WScript.StdErr; @@ -1009,7 +1009,15 @@ function ADD_EXTENSION_DEP(extname, dependson, optional) 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"); + } + } + } // dependency is statically built-in to PHP } function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir) |