- do not show libxml as enabled when libs are missing so ADD_EXTENSION_DEP('myext', 'libxml') can do its job

This commit is contained in:
Pierre Joye 2008-06-22 21:49:06 +00:00
parent f90b9d2979
commit 5d112c35b7

View File

@ -15,6 +15,9 @@ if (PHP_LIBXML == "yes") {
ADD_DEF_FILE("ext\\libxml\\php_libxml2.def");
}
ADD_EXTENSION_DEP('libxml', 'iconv');
} else {
WARNING("libxml support can't be enabled, iconv or libxml are missing")
PHP_LIBXML = "no"
}
}